Rise of the Crime Lords is a mod that adds the Black Sun Syndicate and The Hutt Cartel as playable factions along with multiple additions to the original ones as well as adding some new unplayable ones.

Report RSS Help with adding sound effects

Need some help with adding sound effects to my mod.

Posted by on

I have been trying to add new sounds effects to the mod (mandalorian gun sound, Hyena missile torp, AAT gun sound etc). They are in wav format, mono channel. This is an example of the Vulture/Hyena torp

		 <SFXEvent Name="Unit_Vulture_Torpedo_Fire">
				 <Use_Preset>Preset_GUNS</Use_Preset>
				 <Samples>GUN_vulture_torp.wav</Samples>
		  </SFXEvent>

This is media info on the file

Format : Wave
File size : 76.0 KiB
Duration : 879 ms
Overall bit rate mode : Constant
Overall bit rate : 708 kb/s
Writing application : Lavf57.56.101 (libsndfile-1.0.24)
Software : Lavf57.56.101
major_brand : mp42
minor_version : 0
compatible_brands : isommp42

Audio
Format : PCM
Format settings : Little / Signed
Codec ID : 1
Duration : 879 ms
Bit rate mode : Constant
Bit rate : 705.6 kb/s
Channel(s) : 1 channel
Sampling rate : 44.1 kHz
Bit depth : 16 bits
Stream size : 75.8 KiB (100%)

I've tried putting the sounds in both Audio/SFX and just Audio folder but I just can't get any new sound to work in the game. I'm having no problem with either the unit apeech nor the music, juts weapon and vehicle sound effects. Is there some catch I'm mission, code or file formatting? Any help will be appreciated.

Post comment Comments
Bucman55
Bucman55 - - 795 comments

Make sure to include the directory of the files in the Samples section. So instead of what you have above, you should have something like:

<Samples>Data/Audio/SFX/GUN_vulture_torp.wav</Samples>

Reply Good karma Bad karma+1 vote
vjeko1701 Author
vjeko1701 - - 292 comments

Hmm, I think I also tried it, but worth another shot.

Reply Good karma+2 votes
Newgamemodder
Newgamemodder - - 100 comments

Don't you need a "volume" line i the .xml?

Reply Good karma Bad karma+1 vote
vjeko1701 Author
vjeko1701 - - 292 comments

I managed to fix it, new sounds are working now.

Reply Good karma+1 vote
Newgamemodder
Newgamemodder - - 100 comments

How?

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: