[ZR] My Last aks on this community

imperial

Участник
Сообщения
26
Реакции
0
Hello everybody once up again ! :-D I know im asking much here but i have a last ask here around Zombie:Reloaded & after this i will try to help others out because this community was rly helpfull :P However. my ask, How to create multiple Infect/Spawn sounds on ZR? Best regards, Imperial:beer:
 

Webman

Nevermind
Сообщения
803
Реакции
330
imperial,
if you want to change infect sound, use special convar
PHP:
"zr_infect_sound",                "npc/fast_zombie/fz_scream1.wav"

if you want to change death, moan or groan sound then open /scripting/zr/soundeffects/zombiesounds.inc and change sound names in top of code:
PHP:
/**
 * @section Defines for min/max moaning sound file index.
 */
#define SOUND_MOAN_PATH "npc/zombie/zombie_voice_idle%d.wav" // %d is sound file index
#define SOUND_MOAN_MIN 1
#define SOUND_MOAN_MAX 14
/**
 * @endsection
 */

/**
 * @section Defines for min/max groan sound file index.
 */
#define SOUND_GROAN_PATH "npc/zombie/zombie_pain%d.wav" // %d is sound file index
#define SOUND_GROAN_MIN 1
#define SOUND_GROAN_MAX 6
/**
 * @endsection
 */

/**
 * @section Defines for min/max death sound file index.
 */
#define SOUND_DEATH_PATH "npc/zombie/zombie_die%d.wav" // %d is sound file index
#define SOUND_DEATH_MIN 1
#define SOUND_DEATH_MAX 3
/**
 * @endsection
 */
if you want to use custom sound then you must add sounds in downloads.
 
Сверху Снизу