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.

FSX - XML Script for Extending Taxilight

Featured Replies

  • Moderator

On the T-38A Talon, the nose landing/taxi light extends only when both the position (nav) lights are on, and the gear is extended. When both conditions are TRUE, the light housing extends slowly (about 10 seconds), and retracts at the same speed.For some reason (probably due to advanced senility), I can't get this working properly.

  <PartInfo>    <Name>T38_LandingLight</Name>    <AnimLength>100</AnimLength>    <Animation>      <Parameter>        <Code>          (A:LIGHT NAV,bool) (A:GEAR POSITION, percent) ceil 100 == and          100 *        </Code>      </Parameter>      <Lag>20</Lag>    </Animation>  </PartInfo>

Any ideas why it's snapping instantly open/closed? :(

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author
  • Moderator

Answering my own question for the possible benefit of someone who might actually read this question:The problem was the position of the <Lag> parameter in the script's hierarchy:

  <PartInfo>     <Name>T38_LandingLight</Name>     <AnimLength>100</AnimLength>     <Animation>       <Parameter>         <Code>           (A:LIGHT NAV,bool) (A:GEAR POSITION, percent) ceil 100 == and           100 *         </Code>         <Lag>20</Lag>      </Parameter>      </Animation>   </PartInfo>

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
Answering my own question for the possible benefit of someone who might actually read this question:The problem was the position of the <Lag> parameter in the script's hierarchy:
  <PartInfo>     <Name>T38_LandingLight</Name>     <AnimLength>100</AnimLength>     <Animation>       <Parameter>         <Code>           (A:LIGHT NAV,bool) (A:GEAR POSITION, percent) ceil 100 == and           100 *         </Code>               </Parameter>      </Animation>   </PartInfo>

Answering my own question for the possible benefit of someone who might actually read this question:The problem was the position of the <Lag> parameter in the script's hierarchy:
  <PartInfo>     <Name>T38_LandingLight</Name>     <AnimLength>100</AnimLength>     <Animation>         <Parameter>         <Lag>20</Lag>             <Code>              (A:LIGHT NAV,bool) (A:GEAR POSITION, percent) ceil 100 == and             100 *             </Code>        </Parameter>      </Animation>   </PartInfo>

Does that work as well? :)
  • Author
  • Moderator

Not really. The <Lag> must be contained within the <Parameter> tags and after the <Code> tags. It makes no sense to try to apply a <Lag> before the <Code> is executed... :(

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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.