Thread: (876 matrix) Changing default walk animation?

Results 1 to 8 of 8
  1. #1 (876 matrix) Changing default walk animation? 
    Registered Member
    Join Date
    Feb 2017
    Posts
    33
    Thanks given
    0
    Thanks received
    6
    Rep Power
    14
    So in 876 matrix, the default walk animation is the happy walk one. Can someone tell me how to change this please?
    Reply With Quote  
     

  2. #2  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Appearence.java
    Change the renderId to what you want it to be.
    Attached image
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2017
    Posts
    33
    Thanks given
    0
    Thanks received
    6
    Rep Power
    14
    Quote Originally Posted by Kris View Post
    Appearence.java
    Change the renderId to what you want it to be.
    that line?
    Code:
    public Appearence() {
    		male = Utils.random(2) == 1;
    		renderEmote = -1;
    		title = -1;
    		resetAppearence();
    		PlayerLook.randomizeLook(this);
    	}
    Reply With Quote  
     

  4. #4  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Look where the renderEmote is being set to some actual proper number, other than -1. That'll be where the render is being set.
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2017
    Posts
    33
    Thanks given
    0
    Thanks received
    6
    Rep Power
    14
    Quote Originally Posted by Kris View Post
    Look where the renderEmote is being set to some actual proper number, other than -1. That'll be where the render is being set.
    I set the 2 renderemote
    to 1 but I still get happywalk, even on a new acc. Could it be related to the fact that I used notepad++ and i need to do something in eclipse to change it?
    Reply With Quote  
     

  6. #6  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by Ikrim View Post
    I set the 2 renderemote
    to 1 but I still get happywalk, even on a new acc. Could it be related to the fact that I used notepad++ and i need to do something in eclipse to change it?
    Yes. Changes in the actual compiled code will only apply if they're being created through the IDE itself. If not, you must "refresh" the project or clean it at worst (Refreshing should almost always do the trick though) - it will then re-compile everything from scratch.
    Attached image
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Nov 2015
    Age
    24
    Posts
    1,980
    Thanks given
    334
    Thanks received
    1,051
    Rep Power
    5000
    Look for the getRenderEmote method in Appearence.java and make sure it's returning 2699 instead of 3527 for this if statement:
    Code:
    		if (player.getCombatDefinitions().isSheathe()
    				&& !player.getCombatDefinitions().isCombatStance())
    Reply With Quote  
     

  8. Thankful user:


  9. #8  
    Registered Member Vitality3's Avatar
    Join Date
    Sep 2016
    Posts
    88
    Thanks given
    16
    Thanks received
    16
    Rep Power
    11
    [SPOIL]public int getRenderEmote() {
    if (renderEmote >= 0)
    return renderEmote;
    if (transformedNpcId >= 0) {
    NPCDefinitions defs = NPCDefinitions.getNPCDefinitions(transformedNpcId) ;
    HashMap<Integer, Object> data = defs.clientScriptData;
    if (data != null && !data.containsKey(2805))
    return defs.renderEmote;
    }
    if (player.getCombatDefinitions().isSheathe() && !player.getCombatDefinitions().isCombatStance())
    return 2699/* 2699 */;
    return player.getEquipment().getWeaponStance();
    }[/SPOIL]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. 718 rsps changing npc walking animations.
    By artizana in forum Help
    Replies: 1
    Last Post: 08-08-2016, 01:33 PM
  2. Replies: 3
    Last Post: 11-15-2014, 10:15 PM
  3. Changing NPC walk animation?
    By BoomScape in forum Help
    Replies: 1
    Last Post: 07-07-2013, 11:05 PM
  4. Replies: 6
    Last Post: 05-29-2010, 09:16 AM
  5. Replies: 3
    Last Post: 06-29-2009, 12:07 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •