Code: Select all
[universe playCustomSound:@"[*******]"];
Moderators: winston, another_commander
Code: Select all
[universe playCustomSound:@"[*******]"];
Ah - well done. I guess I've not been quite as diligent in doumenting these as I could have been.milinks wrote:Whilst i was browsing the source, i found an option for [fuel-leak] which isnt mentioned on the customsounds.plist, I'll put in a file for this anyway, just in case.
I'd like enter and exit sounds for red alert, that is probably the state you want sounds for most.Murgh wrote:[*]Sound events for when the alert lamp switches, ie. turns green, yellow, red..
Code: Select all
<key>[thesoundevent]</key>
<dict>
<key>ooscript</key>
<string>// the ooscript here</string>
</dict>
This, and aegis-planet have been included in the customsounds, but as Cmdr W has rightly pointed out, they dont work . jst goes to show that i didnt fully test the customsounds.oxpHow about custom sounds when:
a) you enter the aegis of a station.
This could, i suppose work for being directed to different sounds for different systems etc, hopefully<key>[thesoundevent]</key>
<dict>
<key>ooscript</key>
<string>// the ooscript here</string>
</dict>
to play music when the status screen is on, or have i missed something totally obvious?<dict>
<key>gui-customsound</key>
<array>
<dict>
<key>conditions</key>
<array>
<string>status_string equal STATUS_DOCKED</string>
<string>gui_screen_string equal GUI_SCREEN_SYSTEM_DATA</string>
</array>
<key>do</key>
<array>
<string>setMissionMusic: stars.ogg</string>
</array>
</dict>
</array>
</dict>
</plist>