mirror of
https://github.com/mapbase-source/mapbase-model-src.git
synced 2025-03-13 06:00:16 +03:00
45 lines
3.2 KiB
Plaintext
45 lines
3.2 KiB
Plaintext
// ================================================================
|
|
//
|
|
// Mapbase Player Animations
|
|
//
|
|
// Shared misc. stuff
|
|
//
|
|
// ================================================================
|
|
|
|
$makerange mp_range2_shotgun "..\male_shared_anims\shoot_shotgun" 0 ACT_HL2MP_GESTURE_RANGE_ATTACK2_SHOTGUN 1 // Temporary?
|
|
$makerange mp_range2_grenade "..\hl2mp_ported_anims\HL2DM_Throw_Grenade" 0 ACT_HL2MP_GESTURE_RANGE_ATTACK2_GRENADE 1
|
|
|
|
$makeweapongesturep mp_range2_smg1 "..\male_shared_anims\custom\shoot_smg1_alt.smd" 4 8 16 ACT_HL2MP_GESTURE_RANGE_ATTACK2_SMG1 1
|
|
$makeweapongesturep mp_range2_ar2 "..\combine_soldier_anims_anims\shootAR2alt.smd" 12 24 36 ACT_HL2MP_GESTURE_RANGE_ATTACK2_AR2 1
|
|
|
|
// ---------------------------------------------------
|
|
|
|
// General +USE animations (prop carrying, func_tank, etc.)
|
|
//
|
|
// The IK attachment rules mainly just come in handy for func_tanks, although you're unlikely to see
|
|
// that externally anyway, so it's more of an afterthought/experiment than anything
|
|
//
|
|
$cmdlist IK_LHand {
|
|
ikrule "lhand" attachment "L_hand"
|
|
}
|
|
$cmdlist IK_BothHands {
|
|
ikrule "lhand" attachment "L_hand"
|
|
ikrule "rhand" attachment "R_hand"
|
|
}
|
|
|
|
$makeidle_noik mp_idle_use "..\male_shared_anims\custom\hl2dm_use_light" 0 soldier_Aim_9_directions ACT_HL2MP_IDLE_USE 1 cmdlist IK_LHand
|
|
$makematchrun_9way mp_run_use "..\male_shared_anims\custom\hl2dm_use_light" 0 soldier_Aim_9_directions "..\male_shared_anims\custom\hl2dm_use_light" 0 ACT_HL2MP_RUN_USE 1
|
|
$makecidleB_noik mp_cidle_use "..\male_shared_anims\custom\hl2dm_use_light" 0 "..\hl2mp_ported_anims\HL2DM_crouch_aim_gravgun" 4 soldier_Crouch_aim_9_directions ACT_HL2MP_IDLE_CROUCH_USE 1 cmdlist IK_LHand
|
|
$makecwalk_9way mp_cwalk_use "..\male_shared_anims\custom\hl2dm_use_light" 0 soldier_Crouch_aim_9_directions "..\male_shared_anims\custom\hl2dm_use_light" 0 ACT_HL2MP_WALK_CROUCH_USE 1
|
|
$makejump mp_jump_use "..\male_shared_anims\custom\hl2dm_use_light" 0 ACT_HL2MP_JUMP_USE 1 cmdlist IK_LHand
|
|
$makematchwalk_9way mp_walk_use "..\male_shared_anims\custom\hl2dm_use_light" 0 soldier_Aim_9_directions "..\male_shared_anims\custom\hl2dm_use_light" 0 ACT_HL2MP_WALK_USE 1
|
|
|
|
$makeidle_noik mp_idle_use_heavy "..\male_shared_anims\custom\hl2dm_use_heavy" 0 soldier_Aim_9_directions ACT_HL2MP_IDLE_USE_HEAVY 1 cmdlist IK_BothHands
|
|
$makematchrun_9way mp_run_use_heavy "..\male_shared_anims\custom\hl2dm_use_heavy" 0 soldier_Aim_9_directions "..\male_shared_anims\custom\hl2dm_use_heavy" 0 ACT_HL2MP_RUN_USE_HEAVY 1
|
|
$makecidleB_noik mp_cidle_use_heavy "..\male_shared_anims\custom\hl2dm_use_heavy" 0 "..\hl2mp_ported_anims\HL2DM_crouch_aim_gravgun" 4 soldier_Crouch_aim_9_directions ACT_HL2MP_IDLE_CROUCH_USE_HEAVY 1 cmdlist IK_BothHands
|
|
$makecwalk_9way mp_cwalk_use_heavy "..\male_shared_anims\custom\hl2dm_use_heavy" 0 soldier_Crouch_aim_9_directions "..\male_shared_anims\custom\hl2dm_use_heavy" 0 ACT_HL2MP_WALK_CROUCH_USE_HEAVY 1
|
|
$makejump mp_jump_use_heavy "..\male_shared_anims\custom\hl2dm_use_heavy" 0 ACT_HL2MP_JUMP_USE_HEAVY 1 cmdlist IK_BothHands
|
|
$makematchwalk_9way mp_walk_use_heavy "..\male_shared_anims\custom\hl2dm_use_heavy" 0 soldier_Aim_9_directions "..\male_shared_anims\custom\hl2dm_use_heavy" 0 ACT_HL2MP_WALK_USE_HEAVY 1
|
|
|
|
// ---------------------------------------------------
|