Jump to content

Recommended Posts

Posted
2 hours ago, epolta said:

Any advice on how I can mimic this switch with the F-16?  I've searched the clickable cockpit data etc for the  "iCommand" in the F16 Viper with no luck.

 

thanks!

I tried but I cannot make it work.

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

Posted

Looking for a hand setting up a switch to handle the SU-25T SPO-15 mode select.

The default is [R Shift]+[R]

The keyboard\default.lua has this line...

{combos = {{key = 'R', reformers = {'RShift'}}}, down = iCommandChangeRWRMode, name = _('RWR/SPO Mode Select'), category = _('Sensors')},

I think I'm part way there adding this to joystick\default.lua

{pressed = iCommandChangeRWRMode, name = _('RWR/SPO Mode (HOTAS switch)'), category = _('Sensors')},

The above results in unpredictable behaviour, as if the button is being mashed cycling the SPO mode 20 or so times a second.

Working from the PDF guide but I'm struggling to get over the line.

Any suggestions?
Have not seen a lot of examples for aircraft without clickable pits.

R7 3800X - 32Gig RAM -- All SSD -- GTX1070 -- TM Warthog, MFG Crosswinds & TiR

Posted
59 minutes ago, v81 said:

Looking for a hand setting up a switch to handle the SU-25T SPO-15 mode select.

The default is [R Shift]+[R]

The keyboard\default.lua has this line...

{combos = {{key = 'R', reformers = {'RShift'}}}, down = iCommandChangeRWRMode, name = _('RWR/SPO Mode Select'), category = _('Sensors')},

I think I'm part way there adding this to joystick\default.lua

{pressed = iCommandChangeRWRMode, name = _('RWR/SPO Mode (HOTAS switch)'), category = _('Sensors')},

The above results in unpredictable behaviour, as if the button is being mashed cycling the SPO mode 20 or so times a second.

Working from the PDF guide but I'm struggling to get over the line.

Any suggestions?
Have not seen a lot of examples for aircraft without clickable pits.

Sorry, but but I do not understand what you are trying to achieve. The switch  version of this command, for use with HOTAS, button box etc. already exists. This is the LUA line:

{down = iCommandChangeRWRMode, name = _('RWR/SPO Mode Select'), category = _('Sensors')},

Creating a duplicate command with a different name won't do any good. The switch command has the same functionality as the keyboard command, so it shows on the same line in Options/Controls, under the same name.
The unpredictable behaviour you observe might be caused by you replacing "down" with "pressed" which is probably not compatible with this particular command.

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

Posted
6 hours ago, LeCuvier said:

Sorry, but but I do not understand what you are trying to achieve. The switch  version of this command, for use with HOTAS, button box etc. already exists. This is the LUA line:

{down = iCommandChangeRWRMode, name = _('RWR/SPO Mode Select'), category = _('Sensors')},

Creating a duplicate command with a different name won't do any good. The switch command has the same functionality as the keyboard command, so it shows on the same line in Options/Controls, under the same name.
The unpredictable behaviour you observe might be caused by you replacing "down" with "pressed" which is probably not compatible with this particular command.

This just does the same as the keyboard keybind, toggles between the 2 modes.

The desired outcome is that when bound to a switch the RWR is silent on one position of the switch, and sounding on the other position.

If i use the existing binding i have to move the switch on (seen by sim as button down) to change modes, and to change modes again the switch needs to be moved to off and then back on again.

Thrustmaster Warthog for example, when bound to the EAC switch the RWR is on but in silent mode when physical switch is in the off position, and in audible mode when the switch is on the on position.

R7 3800X - 32Gig RAM -- All SSD -- GTX1070 -- TM Warthog, MFG Crosswinds & TiR

Posted
1 hour ago, v81 said:

This just does the same as the keyboard keybind, toggles between the 2 modes.

The desired outcome is that when bound to a switch the RWR is silent on one position of the switch, and sounding on the other position.

If i use the existing binding i have to move the switch on (seen by sim as button down) to change modes, and to change modes again the switch needs to be moved to off and then back on again.

Thrustmaster Warthog for example, when bound to the EAC switch the RWR is on but in silent mode when physical switch is in the off position, and in audible mode when the switch is on the on position.

The command "iCommandChangeRWRMode" is designed to work with a pushbutton. You cannot change its function.

  • Like 1

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

Posted
This just does the same as the keyboard keybind, toggles between the 2 modes.
The desired outcome is that when bound to a switch the RWR is silent on one position of the switch, and sounding on the other position.
If i use the existing binding i have to move the switch on (seen by sim as button down) to change modes, and to change modes again the switch needs to be moved to off and then back on again.
Thrustmaster Warthog for example, when bound to the EAC switch the RWR is on but in silent mode when physical switch is in the off position, and in audible mode when the switch is on the on position.
That's the thing about FC modules. You cannot toggle between modes. You can only cycle. So what you are trying to achieve, cannot be done.
Make a wish. That's the best you can do.
Cheers!

Sent from my SM-A536B using Tapatalk

  • Recently Browsing   0 members

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