Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- list all possible custom sounds here -->
<!-- implemented: just the test sound -->
<key>[test]</key>
<string>buy.ogg</string>
<!-- unimplmented:
<key>[witch-blocked-by-@]</key>
<string>buy.ogg</string>
<key>[witch-no-fuel]</key>
<string>buy.ogg</string>
<key>[witch-no-target]</key>
<string>buy.ogg</string>
<key>[incoming-missile]</key>
<string>buy.ogg</string>
<key>[energy-low]</key>
<string>buy.ogg</string>
<key>[autopilot-on]</key>
<string>buy.ogg</string>
<key>[autopilot-off]</key>
<string>buy.ogg</string>
<key>[autopilot-cannot-dock-with-target]</key>
<string>buy.ogg</string>
<key>[autopilot-denied]</key>
<string>buy.ogg</string>
<key>[autopilot-out-of-range]</key>
<string>buy.ogg</string>
<key>[aegis-planet]</key>
<string>buy.ogg</string>
<key>[aegis-station]</key>
<string>buy.ogg</string>
<key>[mine-launched]</key>
<string>buy.ogg</string>
<key>[missile-armed]</key>
<string>buy.ogg</string>
<key>[missile-locked-on]</key>
<string>buy.ogg</string>
<key>[missile-launched]</key>
<string>buy.ogg</string>
<key>[missile-safe]</key>
<string>buy.ogg</string>
<key>[weapon-overheat]</key>
<string>buy.ogg</string>
<key>[game-over]</key>
<string>buy.ogg</string>
<key>[witchdrive-malfunction]</key>
<string>buy.ogg</string>
<key>[ident-on]</key>
<string>buy.ogg</string>
<key>[ident-off]</key>
<string>buy.ogg</string>
<key>[ident-locked-on]</key>
<string>buy.ogg</string>
<key>[no-target-in-memory]</key>
<string>buy.ogg</string>
<key>[target-lost]</key>
<string>buy.ogg</string>
<key>[hold-full]</key>
<string>buy.ogg</string>
<key>[cargo-jettisoned]</key>
<string>buy.ogg</string>
<key>[hyperspace-countdown-begun]</key>
<string>buy.ogg</string>
<key>[galactic-hyperspace-countdown-begun]</key>
<string>buy.ogg</string>
<key>[hyperspace-countdown-aborted]</key>
<string>buy.ogg</string>
<key>[cloaking-device-on]</key>
<string>buy.ogg</string>
<key>[cloaking-device-off]</key>
<string>buy.ogg</string>
<key>[jump-mass-locked]</key>
<string>buy.ogg</string>
<key>[wormhole-created]</key>
<string>buy.ogg</string>
-->
</dict>
</plist>
So, say you want a custom sound to play when the identification system is turned on. Create your sound (say my-ident-sound.ogg) and then create your own copy of customsounds.plist and place it at AddOns/Config/customsounds.plist
Your customsounds.plist should look like this:-
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>[ident-on]</key>
<string>my-ident-sound.ogg</string>
</dict>
</plist>