General Question Location Based Audio File Play

BigWingBoy

New member
Joined
Jan 15, 2010
Messages
4
Reaction score
0
Points
0
Hi Everyone,

I poked about in the OrbiterSoundSDK folder. I understand how to make audio files play consecutively using the sequence editor.

I'd like to make an audio file play based on the geographical location of a ship. These files would play based on a 'location event' (if there is such a thing) rather than a time. In other words, when my DeltaGlider is pulling out of the hangar enroute to the runway, I'd like the 'contacttower' audio file to play. When the DG arrives at the hold short point, I'd like the 'readytogo' audio file to play.

Any thoughts? I look forward to your replies.

Gene
 
I don't think this can be done natively.
This should be fairly easy to accomplish with a DLL though.
 
dll + text based script that decribes critical location for each base

maybe sth like this
Code:
base: "BASE NAME HERE"
loc_1: X, Y, RADIUS, soundfile1.wav, delay, volume, etc.
loc_2: X, Y, RADIUS, soundfile2.wav, delay, volume, etc.
loc_3: X, Y, RADIUS, soundfile3.wav, delay, volume, etc.

Well it's just an idea - I'm not C++ coder yet
 
Yeah Loru, that's the idea. Looks like it's time for me to learn some programming. Thank you and TS!

Gene
 
Back
Top