o,O this is regular emotes i thought you where going to add the real skill cape emotes -,-
|
|
Purpose: In this tutorial i will teach/tell you how how to make it so if you wear certain skill cape and when you wearing it you pressing on SkillCape emote button your character will do the emotion!
Difficulty: 0/10
Assumed Knowledge: C&P
Server Base: Zamorak-Server, i think all.
Classes Modified: Client.java
Procedure
Step 1: Open up Client.java and search for the message that is displayed when you login, here is mine:
and under it add this SendFrame:Code:if(playerRights >= 0) { sendMessage("Welcome to Zamorak-Server!"); sendMessage("Server online since 14 January 2008."); sendMessage("You must download official client!!!"); sendMessage("Get it from here: http://getclient.sytes.net/"); }
So what actualy this do? its making the frame 177 (angry emote i think) to become to "SC" (SkillCape) button so people will know to press itCode:sendFrame126("@[email protected]", 177);//SkillCape emote button
Step 2: Ok! now seach for:
It must be emotion case, replace whole case with this:Code:case 165:
Now you must change the skill cape ID's with your skill cape ID's in order to make it work.Code:case 165: // skillcape emote if (playerEquipment[playerCape] == (10012)) // attack skillcape emote { if ((actionTimer <= 0)) { actionTimer = 3; startAnimation(408); stillgfx(483, absY, absX); } } else if(playerEquipment[playerCape] == (10016)) // defence skillcape emote { if ((actionTimer <= 0)) { actionTimer = 3; startAnimation(424); stillgfx(247, absY, absX); } } else if(playerEquipment[playerCape] == (10031)) // strength skillcape emote { if ((actionTimer <= 0)) { actionTimer = 3; startAnimation(1914); stillgfx(246, absY, absX); } } else if(playerEquipment[playerCape] == (10022)) // hp skillcape emote { if ((actionTimer <= 0)) { actionTimer = 3; startAnimation(1500); stillgfx(474, absY, absX); } } else if(playerEquipment[playerCape] == (10025)) // prayer skillcape emote { if ((actionTimer <= 0)) { actionTimer = 3; startAnimation(3170); stillgfx(441, absY, absX); } } else if(playerEquipment[playerCape] == (10023)) // magic skillcape emote { if ((actionTimer <= 0)) { actionTimer = 3; startAnimation(811); stillgfx(7, absY, absX); } } else if(playerEquipment[playerCape] == (10027)) // Ranging skillcape emote { if ((actionTimer <= 0)) { actionTimer = 3; startAnimation(1114); stillgfx(71, absY, absX); } } else { sendMessage("You need to wear Skill Cape to do this emotion."); }
You can also change the emotion and GFX to the one you want, i just chosed the best i could find (damn my client doesnt have real rs emotes and gfx so i use custom)
now save, compile and go and try them
Some of STR emote
Credits: Me (George)

o,O this is regular emotes i thought you where going to add the real skill cape emotes -,-
Those aren't the actual skillcape emotes. Please go fall in a hole and break your leg for this awful thread.
~Z
Zachera if you dont like it, dont post ok? i said: "it is custom", if you have client that support Real SkillCape GFX and Emote you can make it to work.

Ouch, this is really horrible and pathetic, failed.



| « Mr Masters PortForwarding Guide | [help] EASY FOR MOST PEOPLE WILL REP!! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |