From 119e0be586b0f1b8edcdbfa07f299f3b7aadcce4 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Fri, 5 Nov 2021 22:24:47 -0500 Subject: [PATCH] Added Combine soldier melee attack animation to metrocops (code not included) --- modelsrc/police_animations.qc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modelsrc/police_animations.qc b/modelsrc/police_animations.qc index 2c6e190..5dcf7b9 100644 --- a/modelsrc/police_animations.qc +++ b/modelsrc/police_animations.qc @@ -171,6 +171,11 @@ $animation "@gesture_shoot_pistol_corrective_animation" "police_animations_anims $include "NewPistolAnimations_357_Metrocop.qci" $include "PoliceCrouchMovement.qci" +$MakeAdjustedAnimation "melee_gunhit" "combine_soldier_anims_anims\melee_gunhit.smd" "police_animations_anims\smg1angryidle1.smd" 7 20 27 +$append melee_gunhit { activity "ACT_MELEE_ATTACK1" 1 { event 3 13 "" } } + +$makeflinchgesture "gesture_melee_gunhit" "combine_soldier_anims_anims\melee_gunhit.smd" 7 20 27 +$append gesture_melee_gunhit { activity "ACT_GESTURE_MELEE_ATTACK1" 1 { event 3 13 "" } } $include "l4d1_ported_anims\L4D1_LadderClimb_Male.qci" $include "l4d1_ported_anims\L4D1_PistolAnims.qci" // Metrocops technically have their own pistol draw animation, but that's harder to turn into a gesture which works well