Jump to content

SU-25T - How do I split these keypresses for controller use?


Recommended Posts

Posted

Hello,

 

I've been doing night missions in the SU-25T recently and I'd like to be able to map the following separately instead of having them as "toggles" if possible.

 

These keys all cycle between either 2 or 3 modes which doesn't work with the toggle switches on my HOTAS Cougar. As a result I can't verify the settings without viewing the aircraft from the outside or flipping the switches again and again to see the result.

 

Any advice?

 

Jonathan

 

{combos = {{key = "L", reformers = {"RCtrl", }}, }, down = iCommandPlaneLightsOnOff, name = "Navigation lights", category = "Systems"},

 

{combos = {{key = "L"}, }, down = iCommandPlaneCockpitIllumination, name = "Illumination Cockpit", category = "Systems"},

 

{combos = {{key = "L", reformers = {"RAlt", }}, }, down = iCommandPlaneHeadLightOnOff, name = "Gear Light Near/Far/Off", category = "Systems"},

Posted

Yes a lot of the toggle switches are not possible to break apart AFAIK. For some things you might be able to devise clever key press sequences to imitate different positions. (like for flap positions)

[sIGPIC][/sIGPIC]

Posted

Count how many times you press the button, or simply look out of the cockpit to verify that you have the right setting.

SU-25 and 25T have two settings for nav lights.

1. steady

2. blinking

There are no dedicated keys that i know of.

 

If you have a TH Warthog you can program it using flags to behave like you want to.

[sIGPIC][/sIGPIC]

Win10 64, Asus Maximus VIII Formula, i5 6600K, Geforce 980 GTX Ti, 32 GB Ram, Samsung EVO SSD.

Posted

You can get things to work with 2-position switches. You simply have to add an "up = " statement.

For example, change

 

{combos = {{key = "JOY_BTN8"}, {key = "JOY_BTN7"}, }, down = iCommandPlaneAirBrakeOn, name = "Airbrake", category = "Systems"},

 

to

 

{combos = {{key = "JOY_BTN8"}, {key = "JOY_BTN7"}, }, down = iCommandPlaneAirBrakeOn, up = iCommandPlaneAirBrakeOff, name = "Airbrake", category = "Systems"},

 

In this example, this makes both of the airbrake switches (fore and aft) activate the airbrakes as long as they are held down, then deactivate them when they're released. Since the fore position is held in place automatically, this is a nice way of having temporary and fixed airbrakes.

 

Note that, while there are the two commands for airbrakes (iCommandPlaneAirBrakeOn and iCommandPlaneAirBrakeOff), there are not multiple commands for the exterior lights or the gear lights. It sucks.

 

tl;dr no you can't do that with exterior lights, but you should be able to do it with cockpit gauge lights and other 2-position switches.

Posted

I guess the only thing to do is put in a feature request for separate on/blinking/off options.

 

Thanks for the information about cockpit lights. That will solve at least one problem.

Posted

docfu: Yup, that's where we're at right now. On the upside, you can map other 2-position switches (e.g. canopy open/close, cut off burst switch, autopilot modes, etc.) to your throttle. You can also get the flap switch to work correctly.

 

CaptainPecan: I just use the controls menu. If I want to know the name of a command, I'll map it to a button, then open up my joystick lua file and search for that button. As far as the brakes go, I haven't found a way to map an axis to a button in FC3, but joytokey works really well for turning those toebrakes into a W keypress. GlovePIE/ppjoy is also an option if you want to map them to a DX buttonpress.

Of note, my favorite fix that this press/release thing allows is making the 3-way flap switch actually function like a 3-way flap switch. Map the "UP" position to down = flaps up and up = flaps toggle, then map the "DN" position to down = flaps landing and up = flaps toggle. Voila! You now have a real flap switch again!

  • Recently Browsing   0 members

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