Jump to content

ARU and Landing Light default.lua errors


Frederf

Recommended Posts

Regarding the landing light explicit position entries for the 3-position switch, currently only the landing light position is functioning. This applies to both the keyboard and joystick default.lua files.

 

Current

{down=device_commands.LandingLights_Off,cockpit_device_id=devices.LIGHTS,value_down=0.0,name=_('Landing Lights OFF'),category=_('Lights')},

{down=device_commands.LandingLights_Taxi,cockpit_device_id=devices.LIGHTS,value_down=0.5,name=_('Landing Lights TAXI'),category=_('Lights')},

{down=device_commands.LandingLights_Landing,cockpit_device_id=devices.LIGHTS,value_down=1.0,name=_('Landing Lights LANDING'),category=_('Lights')},

Fixed

{down=device_commands.LandingLights_Landing,cockpit_device_id=devices.LIGHTS,value_down=0.0,name=_('Landing Lights OFF'),category=_('Lights')},

{down=device_commands.LandingLights_Landing,cockpit_device_id=devices.LIGHTS,value_down=0.5,name=_('Landing Lights TAXI'),category=_('Lights')},

{down=device_commands.LandingLights_Landing,cockpit_device_id=devices.LIGHTS,value_down=1.0,name=_('Landing Lights LANDING'),category=_('Lights')},

Regarding the entries for 'ARU - Auto/Manual' keyboard and joystick default.lua the entries are different which causes an orange highlight in the controls screen as the two different commands are both using the same text label. Despite the conflict both commands both function as expected individually.

 

Current

(keyboard default.lua)

{combos={{key='U',reformers={'RAlt'}}},down=device_commands.ARUmanAuto,cockpit_device_id=devices.ARU,value_down=1.0,name=_('ARU - Auto/Manual'),category=_('Flight Controls')},
(joystick default.lua)

{combos={{key='U',reformers={'RAlt'}}},down=device_commands.ARUmanAuto,cockpit_device_id=devices.ARU,value_down=0,name=_('ARU - Auto/Manual'),category=_('Flight Controls')},
Changing the "0" in the joystick default.lua to "1.0" causes both keyboard and joystick default.lua entries to match and the entry collision in the controls setup screen in DCSWorld is remedied.
Link to comment
Share on other sites

Thank you Frederf.

 

Fix for the lights is in command_defs

LandingLights_Landing = start_command + 433;

LandingLights_Taxi = start_command + 432;

LandingLights_Off = start_command + 431;

 

ARU fix is ok.

 

 

Patch is next OB or one after that...

Power through superb knowledge, training and teamwork.

 

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • Recently Browsing   0 members

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