Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML gauge effect?

Featured Replies

Im trying to made a custom xml gauge file to operate my wing somke effect. I have used this:

<Gauge Name="DC9Wing"> <Element>	<Select>	  <Value> 	  (A:AIRSPEED INDICATED, knots) 121 <	  (A:AIRSPEED INDICATED, knots) 138 <		&&	  if{ 1 (<K:SMOKE_ON) } 		  els{ (<K:SMOKE_OFF) }	  </Value>	</Select>  </Element></Gauge>

But it seems not to work, I want the smoke active about 121kt and stop shows at about 138kt. It this right?/burner

Couple of things:-There was no Version=" " in the gauge header.. Required-you had < for the lower limit of 121 - No big one here, in FS04 assigning a value to a K: variable requires on to use a "Parameter" value in a A: type variable to monitor it. Since the K: Var is doing the work ON/OFF there is no need for a number to preceed it. ( Waiting for SDK for full info on this )(A:AIRSPEED INDICATED, knots) 121 > (A:AIRSPEED INDICATED, knots) 138 < && if{ (Regards,RomanGREEN BAY PACKERS][/i :-ukliam :-beerchug

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Maybe this way? (A:AIRSPEED INDICATED, knots) 121 > (A:AIRSPEED INDICATED, knots) 138 < && if{ 0 (>K:SMOKE_ON) } els{ 0 (>K:SMOKE_OFF) } (have a closer look at the < and >'s)Arne Bartels

  • Author

Hi,thanks for replay, but I have tried this but it does not work at all, any ideas?/burner

Hi,Can you show again a copy of the gauge and panel.cfg?In the mean time you can try to forget about the gauge and place the element in a working xml-gauge:.........(A:AIRSPEED INDICATED,knots) 121 > (A:AIRSPEED INDICATED,knots) 138 < && if{ (>K:SMOKE_ON) } els{ (>K:SMOKE_OFF) } ..........Hope it helpsJan"Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Ok, but how can I fix my problems? My entry in the panel.cfg is:gauge00=DC-9XML!DC9Wing, 1,1,1,1/burner

Hi,Besides the panel.cfg try this (You can forget the gauge!):Put this element somewhere in an xml gauge and listen what happens when temperature drops below 0 degrees C(A:TOTAL AIR TEMPERATURE, celsius) 0 < if{ 33554432 (>K:ADF2_COMPLETE_SET) } els{ 0 }Just a working example from my panel.Jan"Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Burner,Try this one: Toggles the smokesystem on/off according to airspeed. (A:AIRSPEED INDICATED,knots) 121 > (A:AIRSPEED INDICATED,knots) 138 < && if{ (A:SMOKE ENABLE,bool) ! if{ (>K:SMOKE_ON) } } els{ (A:SMOKE ENABLE,bool) if{ (>K:SMOKE_OFF) } } The gauge goes in its own folder, within the FS9gauges folder...It should not affect the operation of "exit" doors.Got this idea from Rob Barendregt..JR

Sorry, wrong thread.Jan"Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Looks nice, have you test it?I made a quick test in my FS (fs9) and the DC9 aircraft and its not work. Can I have do something else wrong here?/burner

Burner,How darest thou doubt my gauge, Earthling? :)Yes, it is tested in Bill Lyon's Waco, between 81 and 98 kts,with a known smoke effect file....The XML gauge is in its own folder named "WACO_FX" inside the FS9gauges folder.The panel.cfg callout is in one of the Vcockpit sections:[VCockpit04]size_mm=256,256pixel_size=256,256stexture=$VC4background_color=0,0,0visible=0gauge00=HGHB_PC9_VSI, 0,128, 128, 128 gauge01=Cessna!Fuel_Selector,128, 128, 128, 128/-----------------------------------------------gauge05=WACO_FX!Airspeed_SMOKE, 0,0,0,0Hope this helps!JR

  • Author

Ok, I must try again, must have do something.../burner

>Ok, I must try again, must have do something...>>/burnerHi,Verify if you have in the aircraft.cfg something like this:[sMOKESYSTEM]smoke.0=0.00, -0.70, 1.40, fx_smoke_wPeyroteo

See also the record 344 in the airfile.Regards,Peyroteo

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.