Sign in to follow this  
phjvh

I'm pulling my hair out with this, Can some please help

Recommended Posts

I'm trying to write an XML gauge that will play a sound (rumbling noise) when the spoilers are raised in flight... I've done many searches here in the forums, which has helped, but I still cannot get the XML gauge to work. Some history... - I'm writing this gauge to work in FS2002.- I'm using Bill Morad's (RIP) xmlsound gauge.In my panel.cfg, I have: gauge72=XMLSound!XML-Sound, 0,0,10,10gauge73=Rf732V2!Spoilersound, 10, 10, 10, 10The XMLSound.gau is located in the main FS gauges folder, and I placed the spoilersound.xml gauge in a folder named RF732V2, which is located in the gauges folder.After searching the forms, I understand that the xmlsound file is somewhat dependant on the number of jet engines used. I'm writing this gauge for a 737 jet, and am using the afterburner1 event, and hoping to play the associated sound "whm-sound1" which is located in my main FS Sound folder.The XML gauge that I've written, should turn on the sound in file whmsound1, when the airspeed of the aircraft is greater than 150knots, and when the spoilers are raised.Can anyone see why this XML gauge does not work? (A:AIRSPEED INDICATED,knot) 150 > (A:SPOILERS HANDLE POSITION,position) && if{ (>K:TOGGLE_AFTERBURNER1) } Thanks RJ

Share this post


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

Hi,Probably you have to assign a value to the spoilerhandle position.For example: more than 10 % or something. (A:AIRSPEED INDICATED,knot) 150 >(A:SPOILERS HANDLE POSITION,position) 10 > && if{ (>K:TOGGLE_AFTERBURNER1) }(/Value)I don't think you need a seperate spoilersound.gau.Rename the rumble-sound.wav to whm-sound1.wav and place the xml value somewhere as an element in another xml.gau(the xml-spoiler.gau?).More simple panel.cfg.Hope it helps,Btw. 1. in fs2002 you can use all 4 afterburner events.Only in 2004 they are dependant of the number of engines.2. Try start using Doug Dawson's dsd-xml-sound.gau, over 100 different sounds; in the library.Jan"Procul Negotiis"

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