Bridge Command Forum

Support => Bridge Command General Support => Topic started by: jhnyx on October 20, 2024, 06:01:25 PM

Title: Add/Modify sounds like the engine
Post by: jhnyx on October 20, 2024, 06:01:25 PM
Hello, how do I replace the sounds used like the engine of existing default ship or add a custom ship with its own engine sound? What sound formats are compatible? Is it possible also to replace other sounds like wave, horn and alarms?
Title: Re: Add/Modify sounds like the engine
Post by: forum_admin on October 21, 2024, 01:02:19 PM
Hello, for an existing ship, you can change or add the files BWave.wav for the wave sound, Horn.wav, Alarm.wav and Engine.wav within the own ship's folder (e.g. Models\Ownship\Protis\Engine.wav). If any of these are not present, Bridge Command will use the files in the Sounds folder in the installation directory.

If you want to change for an existing ship, you can either change the existing files, or copy the whole ship model into the local user directory (on windows this is "%appdata%\Bridge Command\5.9\Models\Ownship"), and change the files there.

Bridge Command uses Libsndfile to read the sound files, so most formats should be supported, please see http://libsndfile.github.io/libsndfile/formats.html.

However, note that all of the sound files must have the same number of channels (stereo or mono), and the same sample rate. We currently assume that the files have a .wav extension. If this is a problem, it's probably quite easy to recognise other extensions.
Title: Re: Add/Modify sounds like the engine
Post by: jhnyx on October 22, 2024, 12:13:05 PM
Thank you for the detailed reply.