Jump to content
COMBATSIM Forum
Home Fries

Manual LUA updates for FC3 in DCS World 1.2.7 Update 1

Recommended Posts

With DCS 1.2.7 Update 1 comes an update for the keyboard and joystick LUA files for FC3 aircraft (and a minor one for the P-51D). This is primarily due to the changes in the F-15C (some forthcoming), but nevertheless if you dont want to delete and rebuild your existing controller lua files you can do the following manual edits. Be sure to use Notepad++ or something that supports Unicode (vanilla Notepad is not recommended). As always, be sure to back up the files before making edits.

Note: if you have keys or buttons already mapped in the lines to be replaced, be sure to leave these in place. For example:

combos = {{key = "JOY_BTN9", reformers = {"JOY_BTN30"}}, {key = "JOY_BTN9"}},

this would preceed the down = iCommand... part of the line (though it would be placed after the left bracket).

For the A-10A, Su-25, and Su-25T:

Joystick and Keyboard LUAs:

Add:

{down = iCommandClockElapsedTimeReset, name = "Elapsed Time Clock Start/Stop/Reset", category = "Systems"},

Joystick LUAs:

Replace

{down = iCommandRefusalTWS, name = "Target Unlock", category = "Sensors"},

with

{down = iCommandSensorReset, name = "Target Unlock", category = "Sensors"},

Keyboard.lua:

Replace

{combos = {{key = "Back"}}, down = iCommandRefusalTWS, name = "Target Unlock", category = "Sensors"},

with

{combos = {{key = "Back"}}, down = iCommandSensorReset, name = "Target Unlock", category = "Sensors"},



For the F-15C:

Joystick LUAs, add:

{down = iCommandHelicopter_PPR_button_T_up, name = "CAS Pitch", category = "Autopilot"},
{down = iCommandHelicopter_PPR_button_K_up, name = "CAS Roll", category = "Autopilot"},
{down = iCommandHelicopter_PPR_button_H_up, name = "CAS Yaw", category = "Autopilot"},

note: no idea what this is (the commands don't work yet), but it's in the new version so there you go.

Joystick and Keyboard LUAs:

Add:

{down = iCommandClockElapsedTimeReset, name = "Elapsed Time Clock Start/Stop/Reset", category = "Systems"},
{down = iCommandPlane_HOTAS_NoseWheelSteeringButton, up = iCommandPlane_HOTAS_NoseWheelSteeringButton, name = "Nose Gear Maneuvering Range", category = "Systems"},
{down = iCommandPlane_HOTAS_NoseWheelSteeringButtonOff, up = iCommandPlane_HOTAS_NoseWheelSteeringButtonOff, name = "Nose Gear Steering Disengage", category = "Systems"},
{down = iCommandRefusalTWS, name = "Unlock TWS Target", category = "Sensors"},
{down = iCommandPlaneWheelBrakeLeftOn, up = iCommandPlaneWheelBrakeLeftOff, name = "Wheel Brake Left On/Off", category = "Systems"},
{down = iCommandPlaneWheelBrakeRightOn, up = iCommandPlaneWheelBrakeRightOff, name = "Wheel Brake Right On/Off", category = "Systems"},

Replace

{combos = {down = iCommandRefusalTWS, name = "Target Unlock", category = "Sensors"},

With

{down = iCommandSensorReset, name = "Radar - Return To Search/NDTWS", category = "Sensors"},

Keyboard LUA:

Replace

{combos = {{key = "Back"}}, down = iCommandRefusalTWS, name = "Target Unlock", category = "Sensors"},

with

{combos = {{key = "Back"}}, down = iCommandSensorReset, name = "Radar - Return To Search/NDTWS", category = "Sensors"},

For the MiG-29, Su-27, and Su-33:

Joystick and Keyboard LUAs:

Add:

{down = iCommandClockElapsedTimeReset, name = "Elapsed Time Clock Start/Stop/Reset", category = "Systems"},

Joystick LUAs Replace

{down = iCommandRefusalTWS, name = "Target Unlock", category = "Sensors"},

with

{down = iCommandSensorReset, name = "Return To Search", category = "Sensors"},


Keyboard.LUA Replace

{combos = {{key = "Back"}}, down = iCommandRefusalTWS, name = "Target Unlock", category = "Sensors"},

with

{combos = {{key = "Back"}}, down = iCommandSensorReset, name = "Return To Search", category = "Sensors"},

For the P-51D:

Keyboard.Lua Add:

{combos = {{key = "R", reformers = {"RWin"}}}, down = iCommandReloadTables, name = "Reload Cockpit", category = "Debug"},

What this all does for you:

These changes add the ability to deselect a "bugged" contact in TWS without reverting back to RWS in the F-15, so this is a very nice improvement. The other big change is the "Elapsed Time Clock Start/Stop/Reset" lines, which fix a previous issue with being able to start the in-cockpit stopwatch (useful for BVR F-Pole/A-Pole timing). Be sure to map these; I actually replaced the old "Flight Clock Start/Stop/Reset" lines with these.

Share this post


Link to post
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.


×
×
  • Create New...