Added better soldier grenade/alt-fire gesture sequences

This commit is contained in:
Blixibon 2021-10-14 02:18:49 -05:00
parent b30a952f21
commit e4c2c3d3b5

View File

@ -164,44 +164,35 @@ $append gunrack {
blendlayer pickup_unarmed_layer 0 0 0 13 blendlayer pickup_unarmed_layer 0 0 0 13
} }
// ================================================================
// //
// AR2 Alt-Fire Gesture Experiment // Combine animation gestures
// //
// Programming not included $makeweapongesturep grenThrow_gesture "combine_soldier_anims_anims\grenThrow.smd" 10 35 50
// $append grenThrow_gesture {
$weightlist "AR2AltFireWeightlistDelta" { fps 45
"ValveBiped.Bip01_Pelvis" 1 activity "ACT_GESTURE_COMBINE_THROW_GRENADE" 1
"ValveBiped.Bip01_L_Clavicle" 0 { event 7 30 "" }
"ValveBiped.Bip01_Spine" 1
"ValveBiped.Bip01_R_Clavicle" 0
"ValveBiped.Bip01_Neck1" 0
} }
$weightlist "AR2AltFireWeightlist" { $makeweapongesturep grenDrop_gesture "combine_soldier_anims_anims\grenDrop.smd" 12 32 43
"ValveBiped.Bip01_Pelvis" 0 $append grenDrop_gesture {
"ValveBiped.Bip01_Spine" 0 fps 35
"ValveBiped.Bip01_L_Clavicle" 1 activity "ACT_GESTURE_SPECIAL_ATTACK1" 1
"ValveBiped.Bip01_R_Clavicle" 1 { event 7 26 "" }
"ValveBiped.Bip01_L_Thigh" 0
"ValveBiped.Bip01_R_Thigh" 0
"ValveBiped.Bip01_Neck1" 1
} }
$sequence "shootAR2alt_gesture_delta" { $makeweapongesturep grenPlace_gesture "combine_soldier_anims_anims\grenPlace.smd" 12 35 45
"combine_soldier_anims_anims\shootAR2alt.smd" $append grenPlace_gesture {
subtract "shootAR2alt_gesture_delta" 0 fps 35
delta activity "ACT_GESTURE_SPECIAL_ATTACK2" 1
hidden { event 9 25 "" }
weightlist "AR2AltFireWeightlistDelta"
} }
$sequence "shootAR2alt_gesture" { $makeweapongesturep shootAR2alt_gesture "combine_soldier_anims_anims\shootAR2alt.smd" 12 24 36
"combine_soldier_anims_anims\shootAR2alt.smd" $append shootAR2alt_gesture {
weightlist "AR2AltFireWeightlist" activity "ACT_GESTURE_COMBINE_AR2_ALTFIRE" 1
addlayer "shootAR2alt_gesture_delta"
addlayer "Aim_stand_delta_all"
activity "ACT_GESTURE_AR2_ALTFIRE" 1
{ event COMBINE_AE_BEGIN_ALTFIRE 0 "" } { event COMBINE_AE_BEGIN_ALTFIRE 0 "" }
{ event COMBINE_AE_ALTFIRE 16 "" } { event COMBINE_AE_ALTFIRE 16 "" }
} }