]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Play some "giantess footstep" effects when the player walks. Needs to be adjusted...
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 3 Mar 2012 13:04:19 +0000 (15:04 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 3 Mar 2012 13:04:19 +0000 (15:04 +0200)
data/qcsrc/server/miscfunctions.qc
data/qcsrc/server/sv_main.qc

index d2e3942fe5d36a45777bb0a1972a958caef70031..23bb44bb179c7b879a47b31c6818666ff86c2d35 100644 (file)
@@ -1400,6 +1400,8 @@ void precache()
     {\r
         PrecacheGlobalSound((globalsound_step = "misc/footstep0 6"));\r
         PrecacheGlobalSound((globalsound_metalstep = "misc/metalfootstep0 6"));\r
+\r
+        precache_sound("misc/macro_footstep.wav");\r
     }\r
 \r
     // gore and miscellaneous sounds\r
index 2b86df7e56e9d66d403d47cc7beb3d32150d306d..52aca6a192491d50325ae110640aa1b48904e04f 100644 (file)
@@ -110,6 +110,8 @@ void CreatureFrame (void)
                                                        GlobalSound(globalsound_metalstep, CHAN_PLAYER, VOICETYPE_PLAYERSOUND);\r
                                                else\r
                                                        GlobalSound(globalsound_step, CHAN_PLAYER, VOICETYPE_PLAYERSOUND);\r
+\r
+                                               sound(self, CHAN_AUTO, "misc/macro_footstep.wav", VOL_BASE, ATTN_NORM);\r
                                        }\r
                                }\r
                        }\r