Davina1961
Newbie
- Joined
- May 17, 2006
- Messages
- 144
- Reaction score
- 0
I am wondering where the animations are defined for character models. for instance can I use the MP animations with a combine or human model?
Any tips?
Any tips?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
if ( speed > 0 )
{
idealActivity = m_fIsSprinting ? ACT_WALK_AIM_AGITATED : ACT_RUN_AIM_AGITATED;
}
else
{
idealActivity = ACT_IDLE_AIM_AGITATED;
}
if(HasWeapons()&&!strcmp(GetActiveWeapon()->GetClassname(),"weapon_pistol"))
Msg(" you have selected the pistol ");
if( HasWeapons()&&!strcmp(GetActiveWeapon()->GetClassname(),"weapon_pistol"))
{
setAnimation(PLAYER_MYENUM);
}
if (playerAnim == PLAYER_MYENUM&&speed > 0 && idealActivity == ACT_RANGE_ATTACK1 )
{
idealActivity = ACT_RUN_AIM_AGITATED;
}
if ( IsAlive() )
{
VPROF( "CHL2_Player::PostThink-Animation" );
//newplayeranim
if( HasWeapons()&&!strcmp(GetActiveWeapon()->GetClassname(),"weapon_pistol"))
{
setAnimation(PLAYER_SMG);
}
if ( idealActivity == ACT_GESTURE_RANGE_ATTACK1 )
{
RestartGesture( Weapon_TranslateActivity( idealActivity ) );
// FIXME: this seems a bit wacked
Weapon_SetActivity( Weapon_TranslateActivity( ACT_RANGE_ATTACK1 ), 0 );