Just set the players pev->gaitsequence to 0 and nothing will play on the lower body.  Look at case statement for ACT_HOP, ACT_DIESIMPLE, etc. in CBasePlayer::SetAnimation() for examples.  Those are all full body animations.
 
 -----Original Message-----
From: Georges Giroux [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 6:43 AM
To: [EMAIL PROTECTED]
Subject: [hlcoders] Full body animation

Hello,
 
Does anyone know which flags have to be set for a full body
animation (like the death animations)? If I don't set
the pev->deadflag to something other than DEAD_NO,
my animation is only played by the player's top half. Basically, my
animation has the player kneel down, so I can't separate it
between the pev->sequence and pev->gaitsequence.
 
If I set pev->deadflag to anything other than DEAD_NO, the animation
plays out perfectly, the only problem is that the player is not really dead!
This causes all kinds of animation problems when the player really does get killed (he doesn't end up lying down, just standing with the dead pose).
 
Any ideas?
Thanks!
 
Georges

Reply via email to