Changing the thruster sound effect?
-
I’ve been looking into creating a reverse thruster for capital ships and have hit a road block with the sound effects. I cannot find out where the game decides to use a sound effect for the thruster. It seems the thruster will always play the default sound entry “ge_s_thruster_01”. As far as I’m aware, nothing actually calls for that sound entry, it just gets used as if it was hard coded.
As a side note, I also ran into the issue where the thruster noise is only played when a thruster has a positive thrust. When given a negative thrust, the sound effect does not play.
-
Thruster sounds are at DATA\AUDIO\engine_sounds.ini (interior_thruster_sound for cockpit, exterior_thruster_sound for third-person; the individual thruster sounds are not used). Use this patch to use the absolute value when determining the volume to use.
freelancer.exe 12F217 D81D74745C00->D9E1D95CE408 = have sound on negative thrust PART 1 ~adoxa freelancer.exe 12F221 41->00 = have sound on negative thrust PART 2 ~adoxa
The volume range is controlled by constants.ini.
[ThrusterEquipConsts] MAX_VOLUME_FORCE = 20000 MIN_VOLUME_FORCE = 5000
-
In the effects entry would adding this line help?
snd_effect = your_sound_effect
Then define the sound effect to add your custom sound. Shot in the dark but i do it with weapons a lot.
I’ve just had a browse through the code after your initial post as i have reactivated all the other thruster effects and your problem intrigued me as i’ve not thought about the audio side of it before. Problem is i can’t find a reference to the audio file anywhere either.