From 49ce8480f431b14a1d0d47ef68110e5498e673ec Mon Sep 17 00:00:00 2001 From: DerpedCrusader Date: Fri, 27 Oct 2023 01:38:43 -0700 Subject: [PATCH] Mustang and Sally Update Code for Mustang and Sally still need to get positions for dual wielded muzzle flash --- source/shared/weapon_defines.qc | 44 ++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/source/shared/weapon_defines.qc b/source/shared/weapon_defines.qc index c7ba6a9..859285c 100644 --- a/source/shared/weapon_defines.qc +++ b/source/shared/weapon_defines.qc @@ -1065,13 +1065,13 @@ float(float wep, float delaytype) getWeaponDelay = return 0.3; case W_BIATCH: if (delaytype == RELOAD) - return 1.8; + return 1.66; else if (delaytype == FIRE) return 0.225; else if (delaytype == PUTOUT) - return 0.4; + return 0.15; else if (delaytype == TAKEOUT) - return 0.3; + return 0.60; case W_ARMAGEDDON: case W_KAR: if (delaytype == RELOAD) @@ -1748,31 +1748,31 @@ float(float wep, float frametype, optional float z) GetFrame = case FIRE_END: return 2; case RELOAD_START: - return 3; + return 20; case RELOAD_END: - return 36; + return 49; case SPRINT_IN_START: - return 33; + return 9; case SPRINT_IN_END: - return 34; + return 11; case SPRINT_START: - return 44; + return 12; case SPRINT_END: - return 43; + return 16; case SPRINT_OUT_START: - return 50; + return 17; case SPRINT_OUT_END: - return 42; + return 18; case TAKE_OUT_START: - return 39; + return 5; case TAKE_OUT_END: - return 42; + return 8; case PUT_OUT_START: - return 36; + return 3; case PUT_OUT_END: - return 39; + return 5; case RELOAD_CANCEL: - return 13; + return 30; } break; case W_KAR: @@ -3463,12 +3463,14 @@ void (float wep, float anim_style, float dualwep, float curweaponframe) PlayWeap } break; case W_BIATCH: - if (curweaponframe == 10) { + if (curweaponframe == 23) { sound (self ,5, "sounds/weapons/colt/magout.wav", 1, ATTN_NORM); - } else if (curweaponframe == 19) { + } else if (curweaponframe ==30) { sound (self ,5, "sounds/weapons/colt/magin.wav", 1, ATTN_NORM); - } else if(curweaponframe == 26) { - sound (self ,5, "sounds/weapons/colt/slide.wav", 1, ATTN_NORM); + } else if(curweaponframe == 36) { + sound (self ,5, "sounds/weapons/biatch/slideback.wav", 1, ATTN_NORM); + } else if(curweaponframe == 42) { + sound (self ,5, "sounds/weapons/biatch/sliderelease.wav", 1, ATTN_NORM); } break; case W_TESLA: @@ -3502,6 +3504,8 @@ void(float weptype) precache_extra = case W_COLT: case W_BIATCH: precache_sound("sounds/weapons/colt/shoot.wav"); + precache_sound("sounds/weapons/biatch/slideback.wav"); + precache_sound("sounds/weapons/biatch/sliderelease.wav"); precache_sound("sounds/weapons/colt/magout.wav"); precache_sound("sounds/weapons/colt/magin.wav"); precache_sound("sounds/weapons/colt/slide.wav");