i believe the standanimations are located in combatassistant
|
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
i believe the standanimations are located in combatassistant
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; }
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());
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |