Jump to content

Possible to make external lights datarefs accessible as commands


mgeiss
 Share

Recommended Posts

Hi IXEG team,

I would love to have the datarefs for the external lights (landing lights, strobes, taxi lights, nav, beacon) accessible as custom commands in the X-Plane interface, like you already did with many of them (MCP controls etc.). Perhaps you could sneak that in one of the next updates?

I know that I could map these DRs to buttons using XJoyMap or FlyWithLua, but I don't want to install those plugins just for a handful of commands in one plane, and I like to have as few X-Plane Plugins as possible to avoid issues. :)

 

Thank you!

Edited by mgeiss
  • Upvote 1
Link to comment
Share on other sites

[Landing Light Combo]
description=All Landing Lights ON
new_command=IXEG_737/LL
dataref=ixeg/733/lighting/land_light_all_act
on_value = 1
off_value = 0

[Nav switch]
description=Switch NAV-Lights
new_command=IXEG_737/Nav_Switch
dataref=ixeg/733/lighting/position_lt_act
on_value = 1
off_value = 0

[Beacon switch]
description=Switch BCN-Lights
new_command=IXEG_737/Beacon_Switch
dataref=ixeg/733/lighting/anti_col_lt_act
on_value = 1
off_value = 0

[FD1 switch]
description=Switch FD1
new_command=IXEG_737/FD1_Switch
dataref=ixeg/733/MCP/mcp_plt_fd_act
on_value = 1
off_value = 0

[FD2 switch]
description=Switch FD1
new_command=IXEG_737/FD2_Switch
dataref=ixeg/733/MCP/mcp_cplt_fd_act
on_value = 1
off_value = 0

[Taxi switch]
description=Switch TAXI-Light
new_command=IXEG_737/TAXI_Switch
dataref=ixeg/733/lighting/taxi_lt_act
on_value = 1
off_value = 0

[Transponder switch]
description=Switch Transponder
new_command=IXEG_737/Transponder_Switch
dataref=ixeg/733/xpdr/xpdr_stby_act
on_value = 2
off_value = 1

[LLLeft switch]
description=Switch LandingLightLeft
new_command=IXEG_737/LLL_Switch
dataref=ixeg/733/lighting/l_inboard_ll_act
on_value = 0
off_value = 1

[LLRight switch]
description=Switch LandingLightRight
new_command=IXEG_737/LLR_Switch
dataref=ixeg/733/lighting/r_inboard_ll_act
on_value = 0
off_value = 1

[LLLeftOut switch]
description=Switch LandingLightLeftOutboard
new_command=IXEG_737/LLLO_Switch
dataref=ixeg/733/lighting/l_outboard_ll_act
on_value = 2
off_value = 0

[LLRightOut switch]
description=Switch LandingLightRightOutboard
new_command=IXEG_737/LLRO_Switch
dataref=ixeg/733/lighting/r_outboard_ll_act
on_value = 2
off_value = 0

[Strobe switch]
description=Switch Strobe
new_command=IXEG_737/Strobe_Switch
dataref=ixeg/733/lighting/strobe_lt_act
on_value = 1
off_value = 0

[EHSI Mode Flick]
new_command=IXEG_737/EHSI_Mode
dataref=ixeg/733/ehsi/ehsi_mode_pt_act
description=EHSI Mode
values = 0, 1, 2, 3, 4


[EHSI Range]
new_command=IXEG_737/EHSI_Range
dataref=ixeg/733/ehsi/ehsi_range_pt_act
description=EHSI Range
values = 0, 1, 2, 3, 4, 5

Quick & Dirty xJoyMap file that adds the light commands and a command to change the map range.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...