Animation help

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Animation help

Postby Mexicouger » Wed May 19, 2010 9:45 pm

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;
Last edited by Mexicouger on Wed May 19, 2010 9:57 pm, edited 1 time in total.
User avatar
Mexicouger
 
Posts: 514
Joined: Sat May 01, 2010 10:12 pm

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest