But, adding it to Saruman is a little bit harder. The animation I added screwed up Saruman's other abilties. Heres the orginal code:
;;; WORD OF POWER ANIMS;;; AnimationState = SPECIAL_WEAPON_ONE StateName = Attacking Animation AnimationName = IUSaruman_SKL.IUSaruman_TNTB AnimationMode = ONCE End FXEvent = Frame:5 Name:FX_SarumanPreAttackBlast End ;;; FIRE BALL SPECIAL POWER;;; AnimationState = SPECIAL_WEAPON_ONE Animation = Throwing Fireball AnimationName = IUSaruman_SKL.IUSaruman_ATKB AnimationMode = ONCE End FrameForPristineBonePositions = 27 End ;;; WIZARD BLAST SPECIAL POWER;;; AnimationState = SPECIAL_WEAPON_TWO StateName = Attacking Animation AnimationName = IUSaruman_SKL.IUSaruman_ATKB AnimationMode = ONCE End FrameForPristineBonePositions = 27 End
As you can see, the Fire ball anims and the WoP anims both have SPECIAL_WEAPON_ONE as their state. When I first tried it, when I tried to use the fireball attack, Saruman started to perform his preattack FX of WoP (SarumanPreAttackBlast) and than shot out a fireball, not what was supposed to happen (he is supposed to shoot a fireball out of his staff while pointing it forward. He didnt' do that). I have tried switching around the AnimationState to SPECIAL_WEAPON_THREE, but that is a nuetral anim. I have repeatedly tried different combinations of the number of the SPECIAL_WEAPON_# code, but I always get only two of the three special powers working. It's really hard to explain what the problem is, so I attached an ini file with my new saruman. its got all of the new data into one folder. Experience vets, please see if you can fix the problem.
Attached Files
Edited by |MeMw| Witch-King Riding Shelob, 04 August 2005 - 09:07 PM.