From 264bf433b0afe49d9570908872e985ba8dc21138 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Thu, 11 Nov 2021 18:34:24 -0600 Subject: [PATCH] Misc. pistol/357 improvements for female citizens and metrocops --- modelsrc/NewPistolAnimations_357_FemaleCitizen.qci | 11 +++++++++++ modelsrc/NewPistolAnimations_357_Metrocop.qci | 7 +++++++ modelsrc/NewPistolAnimations_FemaleCitizen.qci | 4 +++- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/modelsrc/NewPistolAnimations_357_FemaleCitizen.qci b/modelsrc/NewPistolAnimations_357_FemaleCitizen.qci index 43ee92b..a910671 100644 --- a/modelsrc/NewPistolAnimations_357_FemaleCitizen.qci +++ b/modelsrc/NewPistolAnimations_357_FemaleCitizen.qci @@ -83,6 +83,17 @@ $sequence "crouch_shoot_357" { ikrule "lhand" touch "ValveBiped.Bip01_R_Hand" } +$sequence "idle_357_crouch" { + "alyx_animations_ep2\idle_p_crouch.smd" + activity "ACT_COVER_REVOLVER_LOW" 1 + fadein 0.2 + fadeout 0.2 + node "crouching_pistol" + loop + ikrule "lfoot" footstep contact 0 fakeorigin 4.85 1.29 0 fakerotate 0 0 0 floor 0 height 20 radius 2.5 range 0 0 40 40 target 3 + ikrule "rfoot" footstep contact 0 fakeorigin -8.09 -4.55 0 fakerotate 0 0 0 floor 0 height 20 radius 2.5 range 0 0 40 40 target 2 +} + // ---------------------------------------------------------------- $makeaimlayer soldier_Aim_9_directions "hl2mp_ported_anims\Aim_9_directions" diff --git a/modelsrc/NewPistolAnimations_357_Metrocop.qci b/modelsrc/NewPistolAnimations_357_Metrocop.qci index 904ddb2..adaa9de 100644 --- a/modelsrc/NewPistolAnimations_357_Metrocop.qci +++ b/modelsrc/NewPistolAnimations_357_Metrocop.qci @@ -32,3 +32,10 @@ $append "reload_357" { node "shooting_pistol" fps 30 } + +$GenericReloadFromIdle_NoAim "crouch_reload_357" "police_animations_anims\crouch_reload_pistol.smd" "ACT_RELOAD_REVOLVER_LOW" "gesture_reload_357" 62 41 + +$append "crouch_reload_357" { + $357ReloadSounds + node "crouching_pistol" +} diff --git a/modelsrc/NewPistolAnimations_FemaleCitizen.qci b/modelsrc/NewPistolAnimations_FemaleCitizen.qci index e42a75e..65fb0f2 100644 --- a/modelsrc/NewPistolAnimations_FemaleCitizen.qci +++ b/modelsrc/NewPistolAnimations_FemaleCitizen.qci @@ -117,7 +117,7 @@ $sequence "idle_p_crouch" { // crouch_idle_pistol activity "ACT_COVER_PISTOL_LOW" 1 fadein 0.2 fadeout 0.2 - node "crouching" + node "crouching_pistol" loop ikrule "lfoot" footstep contact 0 fakeorigin 4.85 1.29 0 fakerotate 0 0 0 floor 0 height 20 radius 2.5 range 0 0 40 40 target 3 ikrule "rfoot" footstep contact 0 fakeorigin -8.09 -4.55 0 fakerotate 0 0 0 floor 0 height 20 radius 2.5 range 0 0 40 40 target 2 @@ -195,6 +195,7 @@ $sequence "Crouch_to_shoot_pistol" { fadein 0.2 fadeout 0.2 blendlayer "layer_Aim_p_all" 8 15 25 25 spline + blendlayer "Crouchshoot_to_standshoot_pistol" 1 25 26 26 // Alyx animation doesn't aim for some reason transition "crouching_pistol" "shooting_pistol" // shooting ikrule "rfoot" footstep contact 1 fakeorigin -8.02 -4.58 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 1 5 10 target 2 ikrule "rfoot" footstep contact 12 fakeorigin -3.09 -7.27 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 10 12 24 25 target 2 @@ -208,6 +209,7 @@ $sequence "Shoot_to_crouch" { fadein 0.2 fadeout 0.2 blendlayer "layer_Aim_p_all" 8 15 25 25 spline + blendlayer "Pistol_idle_aim" 0 0 0 15 // Alyx animation doesn't aim for some reason transition "shooting_pistol" "crouching_pistol" // shooting ikrule "rfoot" footstep contact 6 fakeorigin -8.34 -4.37 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 6 24 25 target 2 ikrule "lfoot" footstep contact 1 fakeorigin 10.81 2.86 0 fakerotate 0 0 0 floor 0 height 18 radius 2.5 range 0 1 7 10 target 3