Currently they only play like half of the sequence or so, and then they revered to their idle animations or something. I have no idea why this is. It happends on my own actions and actions like MELEE_ATTACK1.
If I have short animations, it is almost not visible, but with longer anims, the problems becomes inherent.
In SetAnimation() in hl2player.cpp I have this code:
- Code: Select all
if (playerAnim == PLAYER_HEAL)
{
idealActivity = ACT_HEAL;
}
and later this code:
- Code: Select all
if ( idealActivity == ACT_HEAL )
{
animDesired = LookupSequence("help");
if ( animDesired == -1 )
{
animDesired = 0;
DevMsg("HELP ANIMATION COULD NOT BE FOUND \n");
}
SetActivity(ACT_HEAL);
//return;
}
