[HELP] Zombie:Realoded "Zombiesounds.inc"

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

  1. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    0
    Hello everybody i came here to HLmod.ru because i dont get answer in alliedmodders for some strange reason ... so my ask is how do i bring it work, if i changed the zombie Deaht/pain/moan sounds ? Compile? how ? gf. Imperial Sorry that i post in english i know its an russian community.. Yo ucan post me back in russian i will be able to use the translate :)
     
  2. Yura7181

    Yura7181

    Сообщения:
    368
    Симпатии:
    293
    Just change sound?

    CSGO? CSS?

    sound\music\zr\ <= That's what you mean?
     
    Святослав124 нравится это.
  3. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    0
    CS:S, i want to change Death/pain/mona sound from zombies in the file "zombiesounds.inc" but i read that i need to compile this file that it works but how ? or it just works if i change the path? Original: /**
    * @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

    My Changes:
    /**
    * @section Defines for min/max moaning sound file index.
    */
    #define SOUND_MOAN_PATH "sounds/zr/zombiepain2.wav" // %d is sound file index
    #define SOUND_MOAN_MIN 1
    #define SOUND_MOAN_MAX 14
     
  4. Yura7181

    Yura7181

    Сообщения:
    368
    Симпатии:
    293
    You can check out these 2 ways, but be sure to make backup copies of changed files. After you change zombiesounds.inc, save the changes and compile (file zombiereloaded.sp) using \addons\sourcemod\scripting\compile.exe

    The compiled file will be placed in the folder: \addons\sourcemod\scripting\compiled\

    Just trying to do something, you will see the result.
     
    Святослав124 нравится это.
  5. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    0
    Thanks i will try it out :)

    Добавлено через 7 минут
    PS: I dont have permission to use my compiler (LINUX) does it works if i just compile the file via SM (WINDOWS) compiler?
     
    Последнее редактирование: 1 дек 2015
  6. Tallanvor

    Tallanvor Красноглазый

    Сообщения:
    1.096
    Симпатии:
    311
    Yes, it must works :)
     
  7. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    0
    so Just do my settings in the zombiesound.inc file & then just let map change (to accept the change) then compile the zombiereloaded.sp file? Sorry for many ask i dont want do mistake :blush2:
     
  8. Tallanvor

    Tallanvor Красноглазый

    Сообщения:
    1.096
    Симпатии:
    311
    imperial, nope.
    1) - insert your changes into your *.inc file
    2) - make sure, what that *.inc file placed in ./include directory of compiller
    3) - compile plugin (compiled plugin you can find in ./compile(d?) directorty of your compiler)
    4) - replase old/new plugin on your server
    5) - change map ( but restart server - is better way ) to improve changes

    P.S. sorry for my "perfect@ english ))
     
  9. imperial

    imperial

    Сообщения:
    21
    Симпатии:
    0
    Thanks i will try it out :)

    P.S. Your english is good i can understand all :boss:

    Добавлено через 7 часов 57 минут
    Hey i try it but nothing works ... compiling was successfully but the changes dont work nothing works ..
    * @section Defines for min/max moaning sound file index.
    */
    #define SOUND_MOAN_PATH "sound/zr/zombie_moan.wav" // %d is sound file index
    #define SOUND_MOAN_MIN 1
    #define SOUND_MOAN_MAX 14

    My Changes:
    /**
    * @section Defines for min/max pain sound file index.
    */
    #define SOUND_MOAN_PATH "sounds/zr/zombie_pain.wav" // %d is sound file index
    #define SOUND_MOAN_MIN 1
    #define SOUND_MOAN_MAX 14

    Добавлено через 19 часов 6 минут


    Hey i try it but nothing works ... compiling was successfully but the changes dont work nothing works ..
    * @section Defines for min/max moaning sound file index.
    */
    #define SOUND_MOAN_PATH "sound/zr/zombie_moan.wav" // %d is sound file index
    #define SOUND_MOAN_MIN 1
    #define SOUND_MOAN_MAX 14

    My Changes:
    /**
    * @section Defines for min/max pain sound file index.
    */
    #define SOUND_MOAN_PATH "sounds/zr/zombie_pain.wav" // %d is sound file index
    #define SOUND_MOAN_MIN 1
    #define SOUND_MOAN_MAX 14
     
    Последнее редактирование: 2 дек 2015