]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Also add unique touch sound
authorSamual Lenks <samual@xonotic.org>
Fri, 31 Aug 2012 20:27:59 +0000 (16:27 -0400)
committerSamual Lenks <samual@xonotic.org>
Fri, 31 Aug 2012 20:27:59 +0000 (16:27 -0400)
qcsrc/server/mutators/gamemode_ctf.qc
sound/ctf/touch.wav [new file with mode: 0644]

index 7484e911359a13f2a26af11ef0d83d11fe43fa37..8e5b715869cbfd402e36976cd9c61e2ca87a2de7 100644 (file)
@@ -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 (file)
index 0000000..2ab908b
Binary files /dev/null and b/sound/ctf/touch.wav differ