Using customsounds.plist

General discussion for players of Oolite.

Moderators: another_commander, winston

User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1152
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Using customsounds.plist

Post by aegidian »

customsounds.plist looks 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>
	<!-- 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>
Each entry, including those in the commented out 'unimplemented' section is an event that can have a custom sound attached. In this case 'unimplemented' means simply that this event will play a custom sound but as yet no custom sound has been defined for these events. If you want a custom sound used, you can copy the particular entry into your own customsounds.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>
A complete 'sound mod' expansion pack would have sounds for all the events.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!

User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1743
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

:D Wow! now *that* is quite an exhaustive list, almost feels like work to make a cutomsound.oxp :lol:

milinks
Deadly
Deadly
Posts: 164
Joined: Sun Jun 27, 2004 9:19 pm

Post by milinks »

Been working on a Customsounds.oxp today, my wife got fed up with hearing "hyperspace sequence...." etc etc :) . Just a thought before i throw it to Oosat, it is late and i am shattered in my defence if the answer is obvious, can i link customsounds to other things such as government rating etc, so that i can have some different sounds ( voice synths basically ) for different systems? I'm re hashing my planetview.oxp and was wondering if i can direct, say the planetinfo.plist to a given customsounds.plist? Sorry if this doesnt make sense but I'm off to bed :oops:

User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1152
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

I understand, no that's not possible at the moment.

I'll bear the idea in mind though.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!

milinks
Deadly
Deadly
Posts: 164
Joined: Sun Jun 27, 2004 9:19 pm

Post by milinks »

Thanks for that Giles, it was just a thought, muddled with lack of sleep lol.

User avatar
Flying_Circus
Dangerous
Dangerous
Posts: 118
Joined: Thu Dec 09, 2004 10:04 pm
Location: Hexham, UK

Post by Flying_Circus »

Excellent: truely excellent - and very typical of your approach, Aegidian.


Leading on from this, maybe: Custom docking music, for all the budding carrier builders? (not that I have any docking music in mind, mind you, but it is a step towards completeness of customisability).
And so I gave myself to God. There was a pregnant pause before He said "OK"
Image

User avatar
Murgh
---- E L I T E ----
---- E L I T E ----
Posts: 454
Joined: Fri Sep 03, 2004 6:19 am
Location: Terra Firma

Post by Murgh »

Jonnycuba and I were wishing, and I thought we might as well wish aloud..

any possibility of adding a "close proximity warning" event? for those moments there is imminent danger due to your 'personal space' being breached by another object/surface..? :shock:
The man next to you is your lunch

User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post by Star Gazer »

..oh, no... ..not 'Bitching Betty', I hope!!! :roll:
Very funny, Scotty, now beam down my clothes...

User avatar
Wolfwood
---- E L I T E ----
---- E L I T E ----
Posts: 734
Joined: Wed Mar 29, 2006 9:53 am
Location: Finland
Contact:

Post by Wolfwood »

Star Gazer wrote:..oh, no... ..not 'Bitching Betty', I hope!!! :roll:
No, don't worry. Since we are in Europe, and you in the UK, she's called 'Nagging Nora'. 'Bitching Betty' is for the Americans... :wink:

And since studies apparently say that pilots are more likely to listen to a resonant woman's voice than a man's (in western culture anyway), who are we to say differently?
Author of Tales from the Frontier - official Elite 4 anthology.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.

User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2512
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

I always heard that the reason a woman's voice is used is because it is easier to hear above noise due to the higher pitch and tone.

User avatar
Wolfwood
---- E L I T E ----
---- E L I T E ----
Posts: 734
Joined: Wed Mar 29, 2006 9:53 am
Location: Finland
Contact:

Post by Wolfwood »

Selezen wrote:I always heard that the reason a woman's voice is used is because it is easier to hear above noise due to the higher pitch and tone.
I read an article on this (cannot remember where) and I seem to remember that this only holds true for European and African women. Somehow, our women in this part of the globe have voices that are more easily heard than in some other cultures (e.g. Asian). On the other hand, our men tend to have lower, deeper voices than men in some other cultures (e.g. Asian) and thus they are more difficult to hear...

Strange stuff, all of that... :?
Author of Tales from the Frontier - official Elite 4 anthology.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.

User avatar
zeep
Competent
Competent
Posts: 34
Joined: Sun Jan 07, 2007 1:10 pm

Post by zeep »

I'm sorry to bump this old post but the information here is relevant to me since i'm working on a soundpack.

Has the list of possible sound effects increased since last year?

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Don’t think so.

User avatar
TGHC
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

I think the most recent one was Amiga replacement sounds
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Since a thread linking to this one was just bumped, I’ll point out that list of possible sound effects now has increased since last year, as can be seen by looking in the customsounds.plist in 1.71.x.

Post Reply