mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-27 06:07:56 +03:00
Added new optional weapon activities for AR3, SMG3, and HMG1
This commit is contained in:
parent
32bbb0c231
commit
033fd9662b
@ -2332,6 +2332,32 @@ void CAI_BaseNPC::InitDefaultActivitySR(void)
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AIM_AR1_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_AR1_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_AR1_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_ANGRY_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RELOAD_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_AR3_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RELOAD_AR3_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_COVER_AR3_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_AR3_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_GESTURE_RANGE_ATTACK_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_GESTURE_RELOAD_AR3 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AR3_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AR3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AR3_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AR3_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AR3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AR3_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AIM_AR3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_AR3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_AR3_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_SMG2 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_ANGRY_SMG2 );
|
||||
@ -2358,6 +2384,58 @@ void CAI_BaseNPC::InitDefaultActivitySR(void)
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AIM_SMG2_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_SMG2_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_SMG2_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_ANGRY_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_SMG3 );
|
||||
//ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RELOAD_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_SMG3_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RELOAD_SMG3_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_COVER_SMG3_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_SMG3_LOW );
|
||||
//ADD_ACTIVITY_TO_SR( ACT_GESTURE_RANGE_ATTACK_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_GESTURE_RELOAD_SMG3 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_SMG3_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_SMG3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_SMG3_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_SMG3_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_SMG3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_SMG3_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AIM_SMG3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_SMG3_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_SMG3_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_ANGRY_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_HMG1 );
|
||||
//ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RELOAD_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_HMG1_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RELOAD_HMG1_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_COVER_HMG1_LOW );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_HMG1_LOW );
|
||||
//ADD_ACTIVITY_TO_SR( ACT_GESTURE_RANGE_ATTACK_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_GESTURE_RELOAD_HMG1 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_HMG1_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_HMG1_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_HMG1_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_HMG1_RELAXED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_HMG1_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_HMG1_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_AIM_HMG1_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_HMG1_STIMULATED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_HMG1_STIMULATED );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_SNIPER_RIFLE );
|
||||
ADD_ACTIVITY_TO_SR( ACT_IDLE_ANGRY_SNIPER_RIFLE );
|
||||
@ -2419,8 +2497,14 @@ void CAI_BaseNPC::InitDefaultActivitySR(void)
|
||||
#if EXPANDED_HL2_UNUSED_WEAPON_ACTIVITIES
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_AR1_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_AR1_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_AR3_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_AR3_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_SMG2_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_SMG2_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_SMG3_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_SMG3_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_HMG1_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_HMG1_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_AIM_SNIPER_RIFLE_MED );
|
||||
ADD_ACTIVITY_TO_SR( ACT_RANGE_ATTACK_SNIPER_RIFLE_MED );
|
||||
#endif
|
||||
@ -2486,6 +2570,16 @@ void CAI_BaseNPC::InitDefaultActivitySR(void)
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK2_AR1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RELOAD_AR1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_JUMP_AR1 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_RUN_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_WALK_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_CROUCH_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_WALK_CROUCH_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK2_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RELOAD_AR3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_JUMP_AR3 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_SMG2 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_RUN_SMG2 );
|
||||
@ -2496,6 +2590,26 @@ void CAI_BaseNPC::InitDefaultActivitySR(void)
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK2_SMG2 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RELOAD_SMG2 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_JUMP_SMG2 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_RUN_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_WALK_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_CROUCH_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_WALK_CROUCH_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK2_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RELOAD_SMG3 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_JUMP_SMG3 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_RUN_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_WALK_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_CROUCH_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_WALK_CROUCH_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RANGE_ATTACK2_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_GESTURE_RELOAD_HMG1 );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_JUMP_HMG1 );
|
||||
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_IDLE_SNIPER_RIFLE );
|
||||
ADD_ACTIVITY_TO_SR( ACT_HL2MP_RUN_SNIPER_RIFLE );
|
||||
@ -2614,11 +2728,16 @@ CAI_BaseNPC::actlink_t CAI_BaseNPC::gm_ActivityGestureLinks[] =
|
||||
#if EXPANDED_HL2_UNUSED_WEAPON_ACTIVITIES
|
||||
{ ACT_RANGE_ATTACK_AR1, ACT_GESTURE_RANGE_ATTACK_AR1 },
|
||||
{ ACT_RANGE_ATTACK_AR1_LOW, ACT_GESTURE_RANGE_ATTACK_AR1 },
|
||||
{ ACT_RANGE_ATTACK_AR3, ACT_GESTURE_RANGE_ATTACK_AR3 },
|
||||
{ ACT_RANGE_ATTACK_AR3_LOW, ACT_GESTURE_RANGE_ATTACK_AR3 },
|
||||
{ ACT_RANGE_ATTACK_AR2_GRENADE, ACT_GESTURE_RANGE_ATTACK_AR2_GRENADE },
|
||||
{ ACT_RANGE_ATTACK_HMG1, ACT_GESTURE_RANGE_ATTACK_HMG1 },
|
||||
{ ACT_RANGE_ATTACK_HMG1_LOW, ACT_GESTURE_RANGE_ATTACK_HMG1 },
|
||||
{ ACT_RANGE_ATTACK_ML, ACT_GESTURE_RANGE_ATTACK_ML },
|
||||
{ ACT_RANGE_ATTACK_SMG2, ACT_GESTURE_RANGE_ATTACK_SMG2 },
|
||||
{ ACT_RANGE_ATTACK_SMG2_LOW, ACT_GESTURE_RANGE_ATTACK_SMG2 },
|
||||
{ ACT_RANGE_ATTACK_SMG3, ACT_GESTURE_RANGE_ATTACK_SMG3 },
|
||||
{ ACT_RANGE_ATTACK_SMG3_LOW, ACT_GESTURE_RANGE_ATTACK_SMG3 },
|
||||
{ ACT_RANGE_ATTACK_SLAM, ACT_GESTURE_RANGE_ATTACK_SLAM },
|
||||
{ ACT_RANGE_ATTACK_TRIPWIRE, ACT_GESTURE_RANGE_ATTACK_TRIPWIRE },
|
||||
{ ACT_RANGE_ATTACK_THROW, ACT_GESTURE_RANGE_ATTACK_THROW },
|
||||
@ -2627,8 +2746,14 @@ CAI_BaseNPC::actlink_t CAI_BaseNPC::gm_ActivityGestureLinks[] =
|
||||
|
||||
{ ACT_RELOAD_AR1, ACT_GESTURE_RELOAD_AR1 },
|
||||
{ ACT_RELOAD_AR1_LOW, ACT_GESTURE_RELOAD_AR1 },
|
||||
{ ACT_RELOAD_AR3, ACT_GESTURE_RELOAD_AR3 },
|
||||
{ ACT_RELOAD_AR3_LOW, ACT_GESTURE_RELOAD_AR3 },
|
||||
{ ACT_RELOAD_SMG2, ACT_GESTURE_RELOAD_SMG2 },
|
||||
{ ACT_RELOAD_SMG2_LOW, ACT_GESTURE_RELOAD_SMG2 },
|
||||
{ ACT_RELOAD_SMG3, ACT_GESTURE_RELOAD_SMG3 },
|
||||
{ ACT_RELOAD_SMG3_LOW, ACT_GESTURE_RELOAD_SMG3 },
|
||||
{ ACT_RELOAD_HMG1, ACT_GESTURE_RELOAD_HMG1 },
|
||||
{ ACT_RELOAD_HMG1_LOW, ACT_GESTURE_RELOAD_HMG1 },
|
||||
{ ACT_RELOAD_SNIPER_RIFLE, ACT_GESTURE_RELOAD_SNIPER_RIFLE },
|
||||
{ ACT_RELOAD_SNIPER_RIFLE_LOW, ACT_GESTURE_RELOAD_SNIPER_RIFLE },
|
||||
#endif
|
||||
@ -2646,6 +2771,14 @@ CAI_BaseNPC::actlink_t CAI_BaseNPC::gm_ActivityGestureLinks[] =
|
||||
{ ACT_RANGE_ATTACK_REVOLVER_MED, ACT_GESTURE_RANGE_ATTACK_REVOLVER },
|
||||
{ ACT_RANGE_ATTACK_CROSSBOW_MED, ACT_GESTURE_RANGE_ATTACK_CROSSBOW },
|
||||
#endif
|
||||
#if EXPANDED_HL2_UNUSED_WEAPON_ACTIVITIES
|
||||
{ ACT_RANGE_ATTACK_AR1_MED, ACT_GESTURE_RANGE_ATTACK_AR1 },
|
||||
{ ACT_RANGE_ATTACK_AR3_MED, ACT_GESTURE_RANGE_ATTACK_AR3 },
|
||||
{ ACT_RANGE_ATTACK_SMG2_MED, ACT_GESTURE_RANGE_ATTACK_SMG2 },
|
||||
{ ACT_RANGE_ATTACK_SMG3_MED, ACT_GESTURE_RANGE_ATTACK_SMG3 },
|
||||
{ ACT_RANGE_ATTACK_HMG1_MED, ACT_GESTURE_RANGE_ATTACK_HMG1 },
|
||||
{ ACT_RANGE_ATTACK_SNIPER_RIFLE_MED, ACT_GESTURE_RANGE_ATTACK_SNIPER_RIFLE },
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@ -2448,6 +2448,32 @@ void ActivityList_RegisterSharedActivities( void )
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_AIM_AR1_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_AR1_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_AR1_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_ANGRY_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RELOAD_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_AR3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RELOAD_AR3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_COVER_AR3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_AR3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_GESTURE_RANGE_ATTACK_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_GESTURE_RELOAD_AR3 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_AR3_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_AR3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AR3_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AR3_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AR3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AR3_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_AIM_AR3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_AR3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_AR3_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_SMG2 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_ANGRY_SMG2 );
|
||||
@ -2475,6 +2501,58 @@ void ActivityList_RegisterSharedActivities( void )
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_SMG2_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_SMG2_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_ANGRY_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RELOAD_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_SMG3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RELOAD_SMG3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_COVER_SMG3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_SMG3_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_GESTURE_RANGE_ATTACK_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_GESTURE_RELOAD_SMG3 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_SMG3_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_SMG3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_SMG3_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_SMG3_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_SMG3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_SMG3_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_AIM_SMG3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_SMG3_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_SMG3_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_ANGRY_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_HMG1 );
|
||||
//REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RELOAD_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_HMG1_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RELOAD_HMG1_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_COVER_HMG1_LOW );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_HMG1_LOW );
|
||||
//REGISTER_SHARED_ACTIVITY( ACT_GESTURE_RANGE_ATTACK_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_GESTURE_RELOAD_HMG1 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_HMG1_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_HMG1_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_HMG1_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_HMG1_RELAXED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_HMG1_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_HMG1_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_AIM_HMG1_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_AIM_HMG1_STIMULATED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RUN_AIM_HMG1_STIMULATED );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_SNIPER_RIFLE );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_IDLE_ANGRY_SNIPER_RIFLE );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_WALK_SNIPER_RIFLE );
|
||||
@ -2535,8 +2613,14 @@ void ActivityList_RegisterSharedActivities( void )
|
||||
#if EXPANDED_HL2_UNUSED_WEAPON_ACTIVITIES
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_AR1_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_AR1_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_AR3_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_AR3_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_SMG2_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_SMG2_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_SMG3_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_SMG3_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_HMG1_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_HMG1_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_AIM_SNIPER_RIFLE_MED );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_RANGE_ATTACK_SNIPER_RIFLE_MED );
|
||||
#endif
|
||||
@ -2602,6 +2686,16 @@ void ActivityList_RegisterSharedActivities( void )
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK2_AR1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RELOAD_AR1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_JUMP_AR1 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_RUN_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_WALK_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_CROUCH_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_WALK_CROUCH_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK2_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RELOAD_AR3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_JUMP_AR3 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_SMG2 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_RUN_SMG2 );
|
||||
@ -2612,6 +2706,26 @@ void ActivityList_RegisterSharedActivities( void )
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK2_SMG2 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RELOAD_SMG2 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_JUMP_SMG2 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_RUN_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_WALK_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_CROUCH_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_WALK_CROUCH_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK2_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RELOAD_SMG3 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_JUMP_SMG3 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_RUN_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_WALK_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_CROUCH_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_WALK_CROUCH_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RANGE_ATTACK2_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_GESTURE_RELOAD_HMG1 );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_JUMP_HMG1 );
|
||||
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_IDLE_SNIPER_RIFLE );
|
||||
REGISTER_SHARED_ACTIVITY( ACT_HL2MP_RUN_SNIPER_RIFLE );
|
||||
|
@ -45,6 +45,7 @@
|
||||
// This enables a bunch of new activities for unused Half-Life 2 weapons, particularly those which exist in the SDK, but are deactivated by default.
|
||||
// This essentially just means mods which restore those weapons have the option of using custom activities for them.
|
||||
// Mapbase's backup activity system would allow them to fall back to other weapons if the relevant activities do not exist.
|
||||
// Also includes activity names for the "AR3" and "SMG3", which were never used in HL2, but may be useful when additional animation sets are needed.
|
||||
#define EXPANDED_HL2_UNUSED_WEAPON_ACTIVITIES 0
|
||||
|
||||
// EXPANDED NAVIGATION ACTIVITIES
|
||||
@ -2343,6 +2344,33 @@ typedef enum
|
||||
ACT_WALK_AIM_AR1_STIMULATED,
|
||||
ACT_RUN_AIM_AR1_STIMULATED,
|
||||
|
||||
// AR3 (new)
|
||||
ACT_IDLE_AR3,
|
||||
ACT_IDLE_ANGRY_AR3,
|
||||
ACT_WALK_AR3,
|
||||
ACT_RUN_AR3,
|
||||
ACT_WALK_AIM_AR3,
|
||||
ACT_RUN_AIM_AR3,
|
||||
ACT_RANGE_ATTACK_AR3,
|
||||
ACT_RELOAD_AR3,
|
||||
ACT_RANGE_ATTACK_AR3_LOW,
|
||||
ACT_RELOAD_AR3_LOW,
|
||||
ACT_COVER_AR3_LOW,
|
||||
ACT_RANGE_AIM_AR3_LOW,
|
||||
ACT_GESTURE_RANGE_ATTACK_AR3,
|
||||
ACT_GESTURE_RELOAD_AR3,
|
||||
|
||||
ACT_IDLE_AR3_RELAXED,
|
||||
ACT_IDLE_AR3_STIMULATED,
|
||||
ACT_WALK_AR3_RELAXED,
|
||||
ACT_RUN_AR3_RELAXED,
|
||||
ACT_WALK_AR3_STIMULATED,
|
||||
ACT_RUN_AR3_STIMULATED,
|
||||
|
||||
ACT_IDLE_AIM_AR3_STIMULATED,
|
||||
ACT_WALK_AIM_AR3_STIMULATED,
|
||||
ACT_RUN_AIM_AR3_STIMULATED,
|
||||
|
||||
// SMG2
|
||||
ACT_IDLE_SMG2,
|
||||
ACT_IDLE_ANGRY_SMG2,
|
||||
@ -2370,6 +2398,60 @@ typedef enum
|
||||
ACT_WALK_AIM_SMG2_STIMULATED,
|
||||
ACT_RUN_AIM_SMG2_STIMULATED,
|
||||
|
||||
// SMG3 (new)
|
||||
ACT_IDLE_SMG3,
|
||||
ACT_IDLE_ANGRY_SMG3,
|
||||
ACT_WALK_SMG3,
|
||||
ACT_RUN_SMG3,
|
||||
ACT_WALK_AIM_SMG3,
|
||||
ACT_RUN_AIM_SMG3,
|
||||
ACT_RANGE_ATTACK_SMG3,
|
||||
ACT_RELOAD_SMG3,
|
||||
ACT_RANGE_ATTACK_SMG3_LOW,
|
||||
ACT_RELOAD_SMG3_LOW,
|
||||
ACT_COVER_SMG3_LOW,
|
||||
ACT_RANGE_AIM_SMG3_LOW,
|
||||
ACT_GESTURE_RANGE_ATTACK_SMG3,
|
||||
ACT_GESTURE_RELOAD_SMG3,
|
||||
|
||||
ACT_IDLE_SMG3_RELAXED,
|
||||
ACT_IDLE_SMG3_STIMULATED,
|
||||
ACT_WALK_SMG3_RELAXED,
|
||||
ACT_RUN_SMG3_RELAXED,
|
||||
ACT_WALK_SMG3_STIMULATED,
|
||||
ACT_RUN_SMG3_STIMULATED,
|
||||
|
||||
ACT_IDLE_AIM_SMG3_STIMULATED,
|
||||
ACT_WALK_AIM_SMG3_STIMULATED,
|
||||
ACT_RUN_AIM_SMG3_STIMULATED,
|
||||
|
||||
// HMG1
|
||||
ACT_IDLE_HMG1,
|
||||
ACT_IDLE_ANGRY_HMG1,
|
||||
ACT_WALK_HMG1,
|
||||
ACT_RUN_HMG1,
|
||||
ACT_WALK_AIM_HMG1,
|
||||
ACT_RUN_AIM_HMG1,
|
||||
//ACT_RANGE_ATTACK_HMG1,
|
||||
ACT_RELOAD_HMG1,
|
||||
ACT_RANGE_ATTACK_HMG1_LOW,
|
||||
ACT_RELOAD_HMG1_LOW,
|
||||
ACT_COVER_HMG1_LOW,
|
||||
ACT_RANGE_AIM_HMG1_LOW,
|
||||
//ACT_GESTURE_RANGE_ATTACK_HMG1,
|
||||
ACT_GESTURE_RELOAD_HMG1,
|
||||
|
||||
ACT_IDLE_HMG1_RELAXED,
|
||||
ACT_IDLE_HMG1_STIMULATED,
|
||||
ACT_WALK_HMG1_RELAXED,
|
||||
ACT_RUN_HMG1_RELAXED,
|
||||
ACT_WALK_HMG1_STIMULATED,
|
||||
ACT_RUN_HMG1_STIMULATED,
|
||||
|
||||
ACT_IDLE_AIM_HMG1_STIMULATED,
|
||||
ACT_WALK_AIM_HMG1_STIMULATED,
|
||||
ACT_RUN_AIM_HMG1_STIMULATED,
|
||||
|
||||
// Sniper Rifle
|
||||
ACT_IDLE_SNIPER_RIFLE,
|
||||
ACT_IDLE_ANGRY_SNIPER_RIFLE,
|
||||
@ -2433,8 +2515,14 @@ typedef enum
|
||||
// MED activities for unused weapons
|
||||
ACT_RANGE_AIM_AR1_MED,
|
||||
ACT_RANGE_ATTACK_AR1_MED,
|
||||
ACT_RANGE_AIM_AR3_MED,
|
||||
ACT_RANGE_ATTACK_AR3_MED,
|
||||
ACT_RANGE_AIM_SMG2_MED,
|
||||
ACT_RANGE_ATTACK_SMG2_MED,
|
||||
ACT_RANGE_AIM_SMG3_MED,
|
||||
ACT_RANGE_ATTACK_SMG3_MED,
|
||||
ACT_RANGE_AIM_HMG1_MED,
|
||||
ACT_RANGE_ATTACK_HMG1_MED,
|
||||
ACT_RANGE_AIM_SNIPER_RIFLE_MED,
|
||||
ACT_RANGE_ATTACK_SNIPER_RIFLE_MED,
|
||||
#endif
|
||||
@ -2503,6 +2591,16 @@ typedef enum
|
||||
ACT_HL2MP_GESTURE_RELOAD_AR1,
|
||||
ACT_HL2MP_JUMP_AR1,
|
||||
|
||||
ACT_HL2MP_IDLE_AR3,
|
||||
ACT_HL2MP_RUN_AR3,
|
||||
ACT_HL2MP_WALK_AR3,
|
||||
ACT_HL2MP_IDLE_CROUCH_AR3,
|
||||
ACT_HL2MP_WALK_CROUCH_AR3,
|
||||
ACT_HL2MP_GESTURE_RANGE_ATTACK_AR3,
|
||||
ACT_HL2MP_GESTURE_RANGE_ATTACK2_AR3,
|
||||
ACT_HL2MP_GESTURE_RELOAD_AR3,
|
||||
ACT_HL2MP_JUMP_AR3,
|
||||
|
||||
ACT_HL2MP_IDLE_SMG2,
|
||||
ACT_HL2MP_RUN_SMG2,
|
||||
ACT_HL2MP_WALK_SMG2,
|
||||
@ -2513,6 +2611,26 @@ typedef enum
|
||||
ACT_HL2MP_GESTURE_RELOAD_SMG2,
|
||||
ACT_HL2MP_JUMP_SMG2,
|
||||
|
||||
ACT_HL2MP_IDLE_SMG3,
|
||||
ACT_HL2MP_RUN_SMG3,
|
||||
ACT_HL2MP_WALK_SMG3,
|
||||
ACT_HL2MP_IDLE_CROUCH_SMG3,
|
||||
ACT_HL2MP_WALK_CROUCH_SMG3,
|
||||
ACT_HL2MP_GESTURE_RANGE_ATTACK_SMG3,
|
||||
ACT_HL2MP_GESTURE_RANGE_ATTACK2_SMG3,
|
||||
ACT_HL2MP_GESTURE_RELOAD_SMG3,
|
||||
ACT_HL2MP_JUMP_SMG3,
|
||||
|
||||
ACT_HL2MP_IDLE_HMG1,
|
||||
ACT_HL2MP_RUN_HMG1,
|
||||
ACT_HL2MP_WALK_HMG1,
|
||||
ACT_HL2MP_IDLE_CROUCH_HMG1,
|
||||
ACT_HL2MP_WALK_CROUCH_HMG1,
|
||||
ACT_HL2MP_GESTURE_RANGE_ATTACK_HMG1,
|
||||
ACT_HL2MP_GESTURE_RANGE_ATTACK2_HMG1,
|
||||
ACT_HL2MP_GESTURE_RELOAD_HMG1,
|
||||
ACT_HL2MP_JUMP_HMG1,
|
||||
|
||||
ACT_HL2MP_IDLE_SNIPER_RIFLE,
|
||||
ACT_HL2MP_RUN_SNIPER_RIFLE,
|
||||
ACT_HL2MP_WALK_SNIPER_RIFLE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user