Страница 1 из 1

add new sound?

Добавлено: 14 июн 2020, 17:53
mayor
hello everyone, can anyone help me how to add a new sound to the mod? i know it should be wav format and i use the SOUNDEDITOR tool but when i test in the game i hear it as an echo. I don't hear a clear sound.

Re: add new sound?

Добавлено: 14 июн 2020, 19:21
zarathustra
It is advisable to bring all sounds to the same characteristics!
General requirements:
- Frequency: no more than 22KHz for effects (for speech and other mid-frequency sounds you can use 11KHz)
- Bitrate: 16 (do not use 8 bits, so quantization noise increases)
- Channels: mono (the game positions sounds in space automatically)

Re: add new sound?

Добавлено: 17 июн 2020, 17:54
mayor
zarathustra писал(а):It is advisable to bring all sounds to the same characteristics!
General requirements:
- Frequency: no more than 22KHz for effects (for speech and other mid-frequency sounds you can use 11KHz)
- Bitrate: 16 (do not use 8 bits, so quantization noise increases)
- Channels: mono (the game positions sounds in space automatically)
Thank you. must be mono :) that was the problem

Re: add new sound?

Добавлено: 12 июл 2020, 21:02
mayor
Can anyone help me how to make a new sound work for a particular unit? I added a new sound to the new unit, russian nurse, I added the audio in the sound file but In the soundtype unit specifications i don't know what to write to register the sound.
I know I need to write a type of sound first somewhere to get everything registered and working, but need directions

Re: add new sound?

Добавлено: 12 июл 2020, 23:04
zarathustra
For an infantryman, this is done as follows:

In the unit’s desk (nurse) we indicate the type of voice acting:
soundtype med

in file ..\misc\sounds specify the settings of this type:
sayselect med russian 1 r_med_sel
sayack med russian 1 attack_ground r_med_ack
sayack med russian 1 attack_move r_med_ack
sayack med russian 1 attack_unit r_med_ack
sayack med russian 1 get_mine r_med_ack
sayack med russian 1 move r_med_ack
sayack med russian 1 stop r_med_cancel
scream med russian 1 1 enemyinsight r_med_ack
scream med russian 1 1 outofammo r_med_ack 60


In a line (for example):
sayack med russian 1 attack_ground r_med_ack
attack_ground - voiced event
r_med_ack - sound name (hidder)

defaultpriority 0.33
defaultdelay 8

Default Priority and Delay

Re: add new sound?

Добавлено: 13 июл 2020, 17:56
mayor
is work "thank" spasiba tavaris. becouse of your help i will make a completely different building or unit and I will name it after you. Just say which name you want to use :?:

Re: add new sound?

Добавлено: 13 июл 2020, 18:43
zarathustra
I think this is superfluous :oops:
The main thing is that everything turned out "thank"