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.

Triggering an .fx

Featured Replies

After reading the SDK about FSX effects, I am under the impression that the following is true: * Effects (.fx) can only be triggered either by being tied to a light circuit in aircraft.cfg for user control, or if attached to geometry in the model, randomly, continuously, or based on time or time of day. * Effects can not be triggered programatically (unless tied to a light circuit that is triggered)In other words, there is currently no way to turn an effect on/off programmatically without using a light circuit for this purpose.Anyone know different?

  • Moderator

AFAIK, that is correct...However, there is absolutely nothing that prevents you from Linking the node to which the .fx is Attached to another node which itself has its controlled by any variable... ;)For example, for the GPU that I've added to the CJ1 and CII FSX versions, I have a "smoke .fx" applied to a node at the exhaust stack of the little diesel engine.I have that node Linked in the model to a control node. That node's is controlled by a custom L:var (L:GPU Running,bool)...As it happens, that node is itself Linked to other nodes in the heirarcy that specify additional conditions. I don't want the pilot to be dragging the GPU along while taxiing, for example. ;)... // controls , show if = 1...... // controls , show if = 1.......... // controls of the object............. // controls L:GPU_Running,bool) 1 ==............... // smoke.fx Attached to this nodeBefore anyone asks... Yes, I could have "simplified" this arrangement by placing all conditions in a single modeldef.xml entry......but, using this arrangement is (a) more flexible and (:( reduces the number of XML code entries in the modeldef.xml file.By "more flexible" I mean that I may have many objects that depend only on the condition being TRUE, but yet are not dependent on the condition.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Thanks Bill.This will help alot.

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.