Sign in to follow this  
Guest Mark McG

XML Sound Q

Recommended Posts

Merry Christmas,I am looking for a bit of help, integrating Sounds into an XML gauge.Here's the code I have:(>K:Toggle_TAXI_LIGHTS) (>K:Toggle_Afterburner1) Every time I click on the Taxi Lights gauge, I want to play the Afterburner1 Wav.No matter what I try, I cannot seem to get the 2 events to link.ThanksMark

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi,That works, but the sound does not play.Here's my full code:- - - - (A:Light taxi, bool) - - - - - (>K:TOGGLE_TAXI_LIGHTS) 1 (>K:TOGGLE_AFTERBURNER1)For some reason, the sound is not being linked to the click spot I have for the taxi lights.ThanksMark

Share this post


Link to post
Share on other sites

>Every time I click on the Taxi Lights gauge, I want to play >the Afterburner1 Wav. The click event seems ok, maybe put a 0 in front of the afterburner (store a 0) - not sure if it is "required" though. But if you are using XMLSound.gau, the correct name for the wavefile is "whm-sound1.wav" through 4. Also be sure to have fssound.dll in your fs2002modules directory, and oldmodules activated in fs2002.cfg file.

Share this post


Link to post
Share on other sites

Hi,I got it sorted.I was missing the WHM-Kevents.GAU and had tried to overlay the 3 gauges on top of each other, in effect cancelling them out.Mark

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this