EDIT:
I have successfully added the animation frames, and In the impulse functions, I changed the CycleWeaponCommand to
pre_player_pull.
My goal is for an animation to play when you pull out a weapon after switching.
I've got the animations set, But the animation is played when Swithcing weapons, and not when pulling out a weapon. Any help? will I have to rewrite the change weapon code?
Edit Again:
I have got the animations to play when the weapon is being pulled out, But the animation starts like at the first frame. It makes the animations look pretty crappy. Any help?
Basically, Now i just want the animation to start at a point and not start at frame 1 and skip to frame 45 and start the animation.
Also, Here is my impulse function:
case 10:
Set_FOV ( FOV_DEFAULT );
self.pfov = FOV_DEFAULT;
CycleWeaponCommand();
pre_player_pull();
break;