[ZR] My Last aks on this community

Тема в разделе "Zombie:Reloaded", создана пользователем imperial, 23 янв 2016.

  1. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    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:
     
  2. Webman

    Webman Developer

    Сообщения:
    702
    Симпатии:
    182
    You can change sounds only in code and compile mod again.
     
  3. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    0
    which file? the whole zr.sp?
     
  4. Webman

    Webman Developer

    Сообщения:
    702
    Симпатии:
    182
    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.
     
  5. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    0
    Thanks :)