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.

Help with F104 Project problem (XML)

Featured Replies

Gauge programming is not my thing...I am a graphics guy. Unfortunately, I wasn't able to get anyone to help me with my F104 project so I have attempted to do the job myself(almost done). I am stuck in a couple of areas and would REALLY appreciate any help provided. Ok, here's the question. I have a dummy switch called AUX TRIM CONTROL, in that same gauge I have several click spots that control Aileron Trim and Elevator Trim. I have the code setup properly with one exception; I want the click spots to only work when the AUX TRIM (atswitch) is ON, when it is OFF I do not want those click spots to work. Here's the code below:(L:atswitch,bool)(L:guard,bool)(L:guard,bool) if{ (L:atswitch,bool) ! (>L:atswitch,bool) }%Aux Trim Control (%((L:atswitch,bool))%{if}ON%{else}OFF%{end})(L:guard,bool) ! (>L:guard,bool)Stab Trim DownStab Trim UpStab Trim ResetWhat do I need to modify to make the above true? Lastly, I want to make 3 switches in one gauge called ROLL, PITCH and YAW. Each switch will have an ON/OFF function. When the switches are set to OFF I would like to disallow any movement of the Ailerons, Elevator and Rudder respectively. Is this possible? I know most people wont take the time to respond to this but if you do I would be very greatful. Thank you.-Virtual Pilot

  • Author

Hi,Just an exampleMake the functional clickspot dependable of the dummy action:Say a switchguard "dummy": (L:dummy,bool) ! (>L:dummy,bool) and the funtion under it: (L:dummy,bool) if{ (L:function,bool) ! (>L:function,bool) }If the function is OFF, you can connect something with it: (L:function,bool) ! if{ (>K:ELEVATOR_SET) (>K:AILERON_SET) >K:RUDDER_SET) } Hope it helps,Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

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.