Jump to content
Sign in to follow this  
Guest Mark McG

XML Sound Q

Recommended Posts

Guest Mark McG

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
Guest Mark McG

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
Guest

>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
Guest Mark McG

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...