I have just started with programming on the Source Engine. I experimented a
little bit (Jump Height, faster running, Third person) and noticed that
there is no jump animation (I selectet "Start Mod from Scratch") in third
person mode. Well, I tried a few hours now and I haven't been able to
"correct" this. What I did is: I override the Jump function in the
CSDKPlayer class and did there (Server):

void CSDKPlayer::Jump( void )
{
     m_PlayerAnimState->DoAnimationEvent(PLAYERANIMEVENT_JUMP);
}

In CSDKPlayerAnimState::CalcAimLayerSequence() I added the code for the jump
animation in the switch/case block.
case ACT_HOP:
      return CalcSequenceIndex("%s",DEFAULT_JUMP_NAME);
The code works (if the debugger is to be believed), but the model doesn't do
the animation! :(
Must I add something on the client side or should I do something different
altogehter?
It's starting to frustrates me. :(

btw
Is there a good overview over the engine? The Valve Dev Wiki is not very
helpful at this!

PS: Sorry for my bad English, I'm not a natural speaker!
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to