Jump to content

How to decrease rudder trim speed?


Lixma 06

Recommended Posts

Modify the following file:
Mods\aircraft\P-47D-30\Input\P-47D-30\joystick\default.lua

I did it myself as a mod which I enable and disable using ovgme.

Look for the lines I added with "slow".  I did only do my own for pitch and roll though.  But it should be clear enough 🙂

 

-- Port Wall - Trim Control Box ------------------------------------------------------------
-- Aileron Trim Wheel
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = -1.0, name = _('Trim Aileron Right'),     category = _('Flight Control')},
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = 1.0,  name = _('Trim Aileron Left'),      category = _('Flight Control')},
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = -0.5, name = _('Trim Aileron Right Slow'),     category = _('Flight Control')},
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = 0.5,  name = _('Trim Aileron Left Slow'),      category = _('Flight Control')},
-- Elevator Trim Wheel
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = -1.0, name = _('Trim Elevator Up'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = 1.0,  name = _('Trim Elevator Down'),     category = _('Flight Control')},
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = -0.5, name = _('Trim Elevator Up Slow'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = 0.5,  name = _('Trim Elevator Down Slow'),     category = _('Flight Control')},
-- Rudder Trim Wheel
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = -1.0, name = _('Trim Rudder Left'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = 1.0,  name = _('Trim Rudder Right'),      category = _('Flight Control')},
-- ----------------------------------------------------------------------------------------

Br,

Mud

  • Thanks 1
Spoiler

W10-x64 | Z390 Gigabyte Aorus Ultra | Core i7 9700K @ 4.8Ghz | Noctua NH-D15

Corsair 32Gb 3200 | MSI RTX 3080ti Gaming X

Asus Xonar AE | TM Hotas Warthog

MFG Crosswind pedals | Valve Index

 

Link to comment
Share on other sites

Brilliant - thnx, Mud.

-- Rudder Trim Wheel
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = -1.0, name = _('Trim Rudder Left'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = 1.0,  name = _('Trim Rudder Right'),      category = _('Flight Control')},
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = -0.5, name = _('Trim Rudder Left Slow'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = 0.5,  name = _('Trim Rudder Right Slow'),      category = _('Flight Control')},

🙂

Passes IC too.

Link to comment
Share on other sites

My pleasure.  Credit to @scoobie who helped me with this some time ago.
You can play around with the 0.5 number as you like to decrease or increase the increments I reckon.

Spoiler

W10-x64 | Z390 Gigabyte Aorus Ultra | Core i7 9700K @ 4.8Ghz | Noctua NH-D15

Corsair 32Gb 3200 | MSI RTX 3080ti Gaming X

Asus Xonar AE | TM Hotas Warthog

MFG Crosswind pedals | Valve Index

 

Link to comment
Share on other sites

On 2/3/2022 at 11:44 PM, Mud said:

Modify the following file:
Mods\aircraft\P-47D-30\Input\P-47D-30\joystick\default.lua

I did it myself as a mod which I enable and disable using ovgme.

Look for the lines I added with "slow".  I did only do my own for pitch and roll though.  But it should be clear enough 🙂

 

-- Port Wall - Trim Control Box ------------------------------------------------------------
-- Aileron Trim Wheel
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = -1.0, name = _('Trim Aileron Right'),     category = _('Flight Control')},
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = 1.0,  name = _('Trim Aileron Left'),      category = _('Flight Control')},
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = -0.5, name = _('Trim Aileron Right Slow'),     category = _('Flight Control')},
{                                                           pressed = device_commands.Button_2, cockpit_device_id = devices.CONTROLS, value_pressed = 0.5,  name = _('Trim Aileron Left Slow'),      category = _('Flight Control')},
-- Elevator Trim Wheel
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = -1.0, name = _('Trim Elevator Up'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = 1.0,  name = _('Trim Elevator Down'),     category = _('Flight Control')},
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = -0.5, name = _('Trim Elevator Up Slow'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROLS, value_pressed = 0.5,  name = _('Trim Elevator Down Slow'),     category = _('Flight Control')},
-- Rudder Trim Wheel
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = -1.0, name = _('Trim Rudder Left'),       category = _('Flight Control')},
{                                                           pressed = device_commands.Button_8, cockpit_device_id = devices.CONTROLS, value_pressed = 1.0,  name = _('Trim Rudder Right'),      category = _('Flight Control')},
-- ----------------------------------------------------------------------------------------

Br,

Mud

One tip to remind, if you change the value directly instead of adding one, you must modify another keyboard lua scrpit as well, otherwise the trim will stop working


Edited by brucewhf
  • Thanks 1
Link to comment
Share on other sites

On 2/6/2022 at 11:33 AM, brucewhf said:

One tip to remind, if you change the value directly instead of adding one, you must modify another keyboard lua scrpit as well, otherwise the trim will stop working

 

No, you will just get red or orange lines in Options/Controls as a warning that you have bindings with different functionality but same name.
But it's certainly better practice to add new "slow" bindings. And make sure the slow bindings names are different from the names of the original bindings.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • Recently Browsing   0 members

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