- Messages
- 358
- Country
I recently downloaded Doug Dawson's 'dsd_fsx_xml_sound_v435' package to try to use it for some custom sounds in my current project. I have some knowledge of programming XML gauges for 3D VC instruments but I don't have a great deal of knowledge in programming 2D gauges. I have read the included document (several times) but I'm still not seeing the wood for the trees when it comes to implementing the code. I was wondering if someone could maybe point me in the right direction to get me started.
Here's my scenario:
As I understand the FSX SDK you can only have one sound in the sound.cfg file for 'Exit' and that sound plays for whichever exit is opened. My current aircraft project is one that has a sliding canopy and a baggage door. I can set the sound.cfg to play a custom canopy open/close sound but that same canopy sound then plays whenever I open the baggage door which is not what I want.
I want to use Doug's gauge to play the custom canopy sound when 'Exit0' is operated and the standard small door sound when 'Exit1' is operated.
I can see how to set Doug's .ini file to link an L_var to a sound but I am having difficulty getting my head around how you actually trigger those L_vars from the two exit options (i.e. 'Shift+E' and 'Shift+E 2').
Do I have to make a 2D gauge to call those L_vars based on Exit status or am I missing something else?
In addition how would I go about calling the two different sound files I have for the canopy opening and closing? Using the sound.cfg file you have the option of specifying the separate open/close sounds but I can't see how to do that with Doug's gauge.
Any help would be greatly appreciated as I am totally lost at the moment and just need pointing in the right direction.
Here's my scenario:
As I understand the FSX SDK you can only have one sound in the sound.cfg file for 'Exit' and that sound plays for whichever exit is opened. My current aircraft project is one that has a sliding canopy and a baggage door. I can set the sound.cfg to play a custom canopy open/close sound but that same canopy sound then plays whenever I open the baggage door which is not what I want.
I want to use Doug's gauge to play the custom canopy sound when 'Exit0' is operated and the standard small door sound when 'Exit1' is operated.
I can see how to set Doug's .ini file to link an L_var to a sound but I am having difficulty getting my head around how you actually trigger those L_vars from the two exit options (i.e. 'Shift+E' and 'Shift+E 2').
Do I have to make a 2D gauge to call those L_vars based on Exit status or am I missing something else?
In addition how would I go about calling the two different sound files I have for the canopy opening and closing? Using the sound.cfg file you have the option of specifying the separate open/close sounds but I can't see how to do that with Doug's gauge.
Any help would be greatly appreciated as I am totally lost at the moment and just need pointing in the right direction.