Results 1 to 3 of 3

Thread: How to trigger an effect using XML ?

  1. #1

    Default How to trigger an effect using XML ?

    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.

  2. #2

    Default RE: How to trigger an effect using XML ?

    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...

  3. #3

    Default RE: How to trigger an effect using XML ?

    Thanks a lot!.

    Regards

Similar Threads

  1. About to pull the trigger.....
    By rc flyer in forum FSX
    Replies: 22
    Last Post: 07-28-2009, 06:14 PM
  2. Replies: 7
    Last Post: 01-04-2008, 04:51 PM
  3. Trigger 1 brakes,Help
    By Rcca in forum FS2004
    Replies: 1
    Last Post: 11-25-2004, 03:59 AM
  4. Replies: 0
    Last Post: 07-18-2003, 06:12 PM
  5. Being trigger happy, literally
    By benjie in forum MSFS Screen Shot Forum
    Replies: 4
    Last Post: 11-03-2002, 08:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •