From: MirceaKitsune Date: Sat, 3 Mar 2012 13:04:19 +0000 (+0200) Subject: Play some "giantess footstep" effects when the player walks. Needs to be adjusted... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7501da1acdaba4e05213a2e4aff7653f1077d6c;p=voretournament%2Fvoretournament.git Play some "giantess footstep" effects when the player walks. Needs to be adjusted with healthsize next --- diff --git a/data/qcsrc/server/miscfunctions.qc b/data/qcsrc/server/miscfunctions.qc index d2e3942f..23bb44bb 100644 --- a/data/qcsrc/server/miscfunctions.qc +++ b/data/qcsrc/server/miscfunctions.qc @@ -1400,6 +1400,8 @@ void precache() { PrecacheGlobalSound((globalsound_step = "misc/footstep0 6")); PrecacheGlobalSound((globalsound_metalstep = "misc/metalfootstep0 6")); + + precache_sound("misc/macro_footstep.wav"); } // gore and miscellaneous sounds diff --git a/data/qcsrc/server/sv_main.qc b/data/qcsrc/server/sv_main.qc index 2b86df7e..52aca6a1 100644 --- a/data/qcsrc/server/sv_main.qc +++ b/data/qcsrc/server/sv_main.qc @@ -110,6 +110,8 @@ void CreatureFrame (void) GlobalSound(globalsound_metalstep, CHAN_PLAYER, VOICETYPE_PLAYERSOUND); else GlobalSound(globalsound_step, CHAN_PLAYER, VOICETYPE_PLAYERSOUND); + + sound(self, CHAN_AUTO, "misc/macro_footstep.wav", VOL_BASE, ATTN_NORM); } } }