Thread: [PI] 2H swords standing/running animation

Results 1 to 5 of 5
  1. #1 [PI] 2H swords standing/running animation 
    Registered Member B E N's Avatar
    Join Date
    May 2012
    Posts
    142
    Thanks given
    14
    Thanks received
    3
    Rep Power
    36
    I've just started a new project and I have added Godswords and some other 2h swords. I got the animations down and stuff but when you log out and in with a 2h equiped, it looks like this



    Instead of like this



    How can I fix this? This only happens when you log out and log back in
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jul 2012
    Posts
    900
    Thanks given
    66
    Thanks received
    85
    Rep Power
    0
    i believe the standanimations are located in combatassistant
    Reply With Quote  
     

  3. #3  
    Registered Member B E N's Avatar
    Join Date
    May 2012
    Posts
    142
    Thanks given
    14
    Thanks received
    3
    Rep Power
    36
    I already have it set
    Code:
    if (weaponName.contains("2h sword") || weaponName.contains("godsword")
    				|| weaponName.contains("saradomin sw")) {
    			c.playerStandIndex = 7047;
    			c.playerWalkIndex = 7046;
    			c.playerRunIndex = 7039;
    			c.playerTurnIndex = 7044;
    			c.playerTurn180Index = 7044;
    			c.playerTurn90CWIndex = 7044;
    			c.playerTurn90CCWIndex = 7044;
    			return;
    		}
    Reply With Quote  
     

  4. #4  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    Call the method that contains the if statement you posted above upon a player instance's initialization.

    Code:
    c.getCombat().getPlayerAnimIndex(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase());
    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Registered Member B E N's Avatar
    Join Date
    May 2012
    Posts
    142
    Thanks given
    14
    Thanks received
    3
    Rep Power
    36
    Quote Originally Posted by Jason View Post
    Call the method that contains the if statement you posted above upon a player instance's initialization.

    Code:
    c.getCombat().getPlayerAnimIndex(c.getItems().getItemName(c.playerEquipment[c.playerWeapon]).toLowerCase());
    Thank you!
    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. Replies: 5
    Last Post: 10-20-2012, 11:12 AM
  2. [PI] 2h sword animations.
    By S H O R T in forum Help
    Replies: 1
    Last Post: 05-02-2012, 03:34 AM
  3. 666 NPC Stand & Run animations
    By Andy in forum Configuration
    Replies: 1
    Last Post: 03-29-2012, 05:20 PM
  4. [562] Walk + Stand + Run anims
    By Tony12 in forum Help
    Replies: 1
    Last Post: 10-23-2011, 12:29 AM
  5. [PI] 2h stand anim
    By legacy508 in forum Help
    Replies: 0
    Last Post: 01-25-2011, 03:52 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •