Jump to content

Recommended Posts

Posted (edited)

This request has been made before, and it's really a hope for the devs/mods to take it further to the team and see if it's anywhere in the near-term plans.

 

BS2 is obviously running the old limited keybinding scheme. Most of the bindings only have a single function that works as a toggle, instead of having alternates for us with better hardware where it would be preferred to have on- and off-specific functions. An example here could be the operation of the landing gear, only a single togglable button. Another one could be the selection of cannon, where us who have the Virpil CM2 stick could benefit off the sensors in the pull-down trigger to activate/deactivate the cannon on the Shark. There is much benefit to having the variety and I guess that goes without saying. @BIGNEWY or anyone else?

 

Thanks in advance! 

Edited by zerO_crash
  • Like 5

[sIGPIC][/sIGPIC]

  • 2 weeks later...
Posted (edited)

The laser on and lase of is a must. You have to constantly look down to check for the switch position. Same as the BARO/RALT hold mode. Also, HUD brightness, shkval brightness and contrast, and NVG brightness rotaries on the axis commands.
 

Edited by RPY Variable

Interl i7 6700k - 32Gb RAM DDR4 - RX 590 8GB - Sentey 32"2560x1440 - Saitek X-55 - TrackIr 3

  • 2 weeks later...
Posted

This subject is as old as the BS2 module, and as I was fed up with the toggle ON/OFF commands I created my own commands for use with my button box and the TM Warthog throttle.

I'm using info from "clickabledata.lua" to define new bindings for the button box by adding lines of code into "default.lua" or for the TM WH throttle by adding to "Throttle - HOTAS Warthog.lua". Most of the lines below define bindings for maintained ON/OFF or 3-position switches because that's what they are in the cockpit. However, they can be easily split up into pairs of lines for use with pushbuttons. The Gear Lever can be used as example of how to split a command in the lines of code below.

{down = 3002, up = 3002, value_down = 1, value_up = 0, cockpit_device_id = 23, name = _('Helmet-mounted System 2-Pos. On/Off'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3001, up = 3001, value_down = 1, value_up = 0, cockpit_device_id = 11, name = _('Laser standby 2-Pos ON/OFF Switch'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3017, up = 3017, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Automatic tracking/gun sight 2-Pos AT/GS'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3001, up = 3001, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Master arm 2-Pos ON/OFF'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3006, up = 3006, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Cannon round selector 2-Pos HE/API'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3004, up = 3004, value_down = 0.2, value_up = 0.1, cockpit_device_id = 12, name = _('Weapon mode Burst Length 3-Pos HIGH/MEDIUM'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3004, up = 3004, value_down = 0.0, value_up = 0.1, cockpit_device_id = 12, name = _('Weapon mode Burst Length 3-Pos LOW/MEDIUM'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3020, up = 3020, value_down = 1.0, value_up = 0.0, cockpit_device_id = 12, name = _('Cannon rate of fire 2-Pos LOW/HIGH'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3005, up = 3005, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Weapon Control 2-Pos MAN/AUTO'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3007, up = 3007, value_down = 1.0, value_up = -1.0, cockpit_device_id = 51, name = _('Lighting Night Vision Cockpit Switch 2-Pos ON/OFF'), category = _('Ins Wall panel')},
{down = 3001, value_down = 1.0,cockpit_device_id = 34, name = _('Gear Lever DOWN'), category = _('Ins Forward panel and gauges')},
{down = 3001, value_down = -1.0,cockpit_device_id = 34, name = _('Gear Lever UP'), category = _('Ins Forward panel and gauges')},
{down = 3001, up = 3001, value_down = -1.0, value_up = 1.0, cockpit_device_id = 34, name = _('Gear Lever 2-Pos UP/DOWN'), category = _('Ins Forward panel and gauges')},
{down = 3022, up = 3022, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Jettison Fuse 2-Pos ARM/DISARM'), category = _('Ins Weapons Status and Control Panel PUI-800')},

I also created two axis commands for the IT-23 TV brightness and contrast. These have to go into the "axiscommands section of the respective file.

-- the 2 following commands need to be used with Saturation Y = 50%, Slider = TRUE, Invert = TRUE
 

{action = 3002, cockpit_device_id = 8, name = _('IT-23 TV Brightness Axis')},
{action = 3003, cockpit_device_id = 8, name = _('IT-23 TV Contrast Axis')},

I was hoping to create a proper 3-position switch binding for the Descent/OFF/Route switch on the collective. This switch behaves like a maintained 2-position ON/OFF switch for DESCENT, and as an ON/OFF toggle for ROUTE. That's absolutely awful in my opinion. Unfortunately this switch is not a clickable cockpit item, so there is no info in "clickabledata.lua".

  • Like 2
  • Thanks 2

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

  • Recently Browsing   0 members

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