From: Samual Lenks Date: Fri, 31 Aug 2012 20:27:59 +0000 (-0400) Subject: Also add unique touch sound X-Git-Tag: xonotic-v0.7.0~240^2~63 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=42985e005901b68998084ed45936c2620e900dab;p=xonotic%2Fxonotic-data.pk3dir.git Also add unique touch sound --- diff --git a/qcsrc/server/mutators/gamemode_ctf.qc b/qcsrc/server/mutators/gamemode_ctf.qc index 7484e9113..8e5b71586 100644 --- a/qcsrc/server/mutators/gamemode_ctf.qc +++ b/qcsrc/server/mutators/gamemode_ctf.qc @@ -956,7 +956,7 @@ void ctf_FlagSetup(float teamnumber, entity flag) // called when spawning a flag if(!flag.snd_flag_capture) { flag.snd_flag_capture = ((teamnumber) ? "ctf/red_capture.wav" : "ctf/blue_capture.wav"); } // blue team scores by capturing the red flag if(!flag.snd_flag_respawn) { flag.snd_flag_respawn = "ctf/flag_respawn.wav"; } // if there is ever a team-based sound for this, update the code to match. if(!flag.snd_flag_dropped) { flag.snd_flag_dropped = ((teamnumber) ? "ctf/red_dropped.wav" : "ctf/blue_dropped.wav"); } - if(!flag.snd_flag_touch) { flag.snd_flag_touch = "keepaway/touch.wav"; } // again has no team-based sound + if(!flag.snd_flag_touch) { flag.snd_flag_touch = "ctf/touch.wav"; } // again has no team-based sound if(!flag.snd_flag_pass) { flag.snd_flag_pass = "ctf/pass.wav"; } // same story here // precache diff --git a/sound/ctf/touch.wav b/sound/ctf/touch.wav new file mode 100644 index 000000000..2ab908be3 Binary files /dev/null and b/sound/ctf/touch.wav differ