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
Subject: Re: [hlcoders] Full body animation
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
Subject: RE: [hlcoders] Full body animation
It depends what ACT_ you are doing. Look in player.cpp SetAnimation(). If
it's ACT_WALK then you will have a gaitsequence applied. If it's something
like HOP, LEAP, DIESIMPLE then the gaitsequence is 0. I'd add your own so
you can avoid
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
4 matches
Mail list logo