From 8f09b0e34dfec7ee08f74ce0e969783d3e943c77 Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Sat, 1 Feb 2020 11:00:30 +0100 Subject: [PATCH] Hotfix for missing Eightball explosion sounds. stinger_oldsounds_m has been affected by this update. Also adjusted Eightball firing sounds so they're played from the projectiles, not the weapon, this makes them not as loud and is the correct behaviour. --- sndinfo.txt | 1 + zscript/ueightball.zsc | 11 +++-------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sndinfo.txt b/sndinfo.txt index aae1e69..5d0f893 100644 --- a/sndinfo.txt +++ b/sndinfo.txt @@ -194,6 +194,7 @@ eightball/altfire eightalt eightball/seeklock seeklock eightball/seeklost seeklost eightball/fly brocket +eightball/explode expl2 asmd/select tazersel asmd/fire tazefire diff --git a/zscript/ueightball.zsc b/zscript/ueightball.zsc index c9127e2..21e9326 100644 --- a/zscript/ueightball.zsc +++ b/zscript/ueightball.zsc @@ -114,6 +114,7 @@ Class URocket : Actor Super.PostBeginPlay(); let l = Spawn("URocketTrail",pos); l.target = self; + A_StartSound("eightball/fire",CHAN_WEAPON,attenuation:.6); A_StartSound("eightball/fly",CHAN_VOICE,CHANF_LOOPING,1.,2.5); if ( tracer ) vel *= 0.9; Acceleration = vel.unit()*50; @@ -405,16 +406,10 @@ Class Eightball : UnrealWeapon invoker.special1 = 0; if ( weap.bAltFire ) { - for ( int i=0; i