Thread: [TUT]SkillCape emotions.

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 [TUT]SkillCape emotions. 
    Registered Member zamorak-server's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    107
    Thanks given
    1
    Thanks received
    0
    Rep Power
    17
    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:
    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/");
             }
    and under it add this SendFrame:
    Code:
    sendFrame126("@[email protected]", 177);//SkillCape emote button
    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 it


    Step 2: Ok! now seach for:
    Code:
    case 165:
    It must be emotion case, replace whole case with this:
    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.");
    }
    Now you must change the skill cape ID's with your skill cape ID's in order to make it work.
    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)
     

  2. #2  
    squal707
    Guest
    o,O this is regular emotes i thought you where going to add the real skill cape emotes -,-
     

  3. #3  
    Registered Member
    Join Date
    Nov 2006
    Posts
    699
    Thanks given
    1
    Thanks received
    32
    Rep Power
    524
    Those aren't the actual skillcape emotes. Please go fall in a hole and break your leg for this awful thread.

    ~Z
     

  4. #4  
    Registered Member zamorak-server's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    107
    Thanks given
    1
    Thanks received
    0
    Rep Power
    17
    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.
     

  5. #5  
    squal707
    Guest
    Quote Originally Posted by Zachera View Post
    Those aren't the actual skillcape emotes. Please go fall in a hole and break your leg for this awful thread.

    ~Z
    if you want the real emotes i think some 1 has been working on them in the client section =p
     

  6. #6  
    Engarde
    Guest
    Ouch, this is really horrible and pathetic, failed.
     

  7. #7  
    Registered Member zamorak-server's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    107
    Thanks given
    1
    Thanks received
    0
    Rep Power
    17
    Quote Originally Posted by Engarde View Post
    Ouch, this is really horrible and pathetic, failed.
    you are horrible, if you dont like dont use, stop being noob.
     

  8. #8  
    Old School Member

    Join Date
    Feb 2008
    Age
    26
    Posts
    2,163
    Thanks given
    372
    Thanks received
    40
    Rep Power
    687
    thanks for this i added it.

    Quote Originally Posted by Colby View Post
    Rofl, moron. They're ALL going to be null idiot. This is such complete bullshit, it makes me want to strangle you.
     

  9. #9  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    26
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    Quote Originally Posted by Engarde View Post
    Ouch, this is really horrible and pathetic, failed.

    Dude... get a life this was good.. he and i ned to show you something kk?
    [Only registered and activated users can see links. ]

    Thats a good video please watch it. Its my favorite guitar hero song! Of me playing it! So please watch it.
    [Only registered and activated users can see links. ]
     

  10. #10  
    Old School Member

    Join Date
    Feb 2008
    Age
    26
    Posts
    2,163
    Thanks given
    372
    Thanks received
    40
    Rep Power
    687
    n i c k your posts are useless.

    Quote Originally Posted by Colby View Post
    Rofl, moron. They're ALL going to be null idiot. This is such complete bullshit, it makes me want to strangle you.
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •