SDK Question Sounds in script

McGalcri

New member
Joined
Feb 6, 2011
Messages
18
Reaction score
0
Points
1
After long time reading, checking, rereading... rechecking... i found nothing about using Sounds creating a script. I know its possible, the only reference i found its on default SDK docs "global modules (networking, sound, etc.)" in API_Reference.pdf file.

My intention, its create a module DLL that allow to play a specific sound file in specific situations... for example, if the vessel is on take off and pass 60Km altitude, it will trigger a sound like "Passing 60Km, switching to Rotation RCS"... its just an example...

Any help about how to get started with this? :cheers:

Thanks pilots!
 

SolarLiner

It's necessary, TARS.
Addon Developer
Joined
Jun 14, 2010
Messages
1,847
Reaction score
2
Points
0
Location
404 ROAD NOT FOUND
Sound in Orbiter is handled by OrbiterSound. There is no sound in Orbiter by default.
You can look into Lua libraries that plays audio for you, it's pretty simple to add a specific library to work with Orbiter's Lua.
 
Top