[HELP] Zombie:Realoded "Zombiesounds.inc"

imperial

Участник
Сообщения
26
Реакции
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 :)
 

imperial

Участник
Сообщения
26
Реакции
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
 

Yura7181

Участник
Сообщения
678
Реакции
594
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.
 

imperial

Участник
Сообщения
26
Реакции
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?
 
Последнее редактирование:

imperial

Участник
Сообщения
26
Реакции
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:
 

Tallanvor

НЕ ПИШУ я плагины!!! И не правлю! И ваще...
Сообщения
1,352
Реакции
554
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 ))
 

imperial

Участник
Сообщения
26
Реакции
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 минут
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 ))



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
 
Последнее редактирование:
Сверху Снизу