December 25, 200223 yr 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
December 25, 200223 yr Hi,This one works ok for me:(>K:TOGGLE_TAXI_LIGHTS) 1 (>K:TOGGLE_AFTERBURNER1)http://community.webshots.com/storage/1/v4...75aouncN_th.jpg Jan "Beatus ille qui procul negotiis..."
December 25, 200223 yr 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
December 25, 200223 yr Hi,Do you have the WHM-kevents and XMLsound gauges in the Gauges main directory?If so, try this:(A:Light taxi,bool)Taxi Light(>K:TOGGLE_TAXI_LIGHTS) 1 (>K:TOGGLE_AFTERBURNER1)http://community.webshots.com/storage/1/v4...75aouncN_th.jpg Jan "Beatus ille qui procul negotiis..."
December 27, 200223 yr >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.
December 28, 200223 yr 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
Create an account or sign in to comment