I know a little bit of XML, just XML, and I would like to know how I could link an effect (a navigation light) to a FS2004 variable (beacon lights on).
Thanks in advance, regards.
I know a little bit of XML, just XML, and I would like to know how I could link an effect (a navigation light) to a FS2004 variable (beacon lights on).
Thanks in advance, regards.
Most of the time, .fx files are assigned in the [Effects] section of the aircraft.cfg, which includes their "Type#" electrical bus:
[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=panel, 5=landing, 6=taxi, 7=recognition, 8=wing, 9=logo 10=cabin
light.0=3, -1.4353, -17.785, -0.107, fx_navred
light.1=3, -1.4353, 17.785, -0.107, fx_navgre
light.2=2, -1.705, -17.931, -0.107, ESDGstrobe
light.3=2, -1.705, 17.931, -0.107, ESDGstrobe
light.4=8, -0.0, 0, 1.7 , esdg_C400_panelflood_lo // tied to Overhead switch
light.5=9, 0.0, 0, 1.7 , esdg_C400_panelflood_med // tied to Overhead switch
light.6=10, 0.0, 0, 1.7 , esdg_C400_panelflood_hi // tied to Overhead switch
Bill Leaming
Gauge Programming - 3d Modeling Eaglesoft & Military Visualizations
Flightsim.com Panels & Gauges Forum Moderator
Flightsim Rig: Intel Core i7-2600K - 8GB DDR3 1333 - GeForce GTX550Ti 1GB - Win7 64bit Home Premium
Development Rig1: Intel Core i7-3770k - 16GB DDR3 - Dual Radeon HD7770 SLI 1GB - Win7 64bit Professional
Development Rig2: Intel Core i7-860 - 8GB DDR3 Corsair - GeForce GTS240 1GB - Win7 64bit Home Premium
NOTE: Unless explicitly stated in the post, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Thanks a lot!.
Regards
Bookmarks