356thFS_Melonfish Posted December 20, 2020 Posted December 20, 2020 Hi all, Is there a way in game that anyone knows to set particular functions to a toggle type instead of push button? For instance, Boost and Turbocharger, I have mapped to button 23 and 24, these are toggle switches, and it logically makes sense to have these mapped as toggles as you switch it on when you want it and switch it off when you don't. however, the game only responds to a simple key press. so you have to switch the toggle on, then off. then when you want to switch the boost off, you switch the toggle on and off again. I wonder if there's a way in the INI files to set this command so it has to be "held down" to be used, so that the toggle should work? Failing that, has anyone with the warthog come up with any novel uses for their toggle switches that don't involve the excessive use of target? thank you Pete
Panzerlang Posted December 20, 2020 Posted December 20, 2020 There are two sprung switches (Eng Oper).
Sokol1 Posted December 20, 2020 Posted December 20, 2020 (edited) 4 hours ago, Melonfish said: however, the game only responds to a simple key press. so you have to switch the toggle on, then off. then when you want to switch the boost off, you switch the toggle on and off again. For these controls (majority) with only "toggle" (dumb) logic you need use TARGET for set the same keys press used by the command in ON and OFF positions of toggle switch, no way to map the switch buttons direct in game GUI, like you can do for Turbocharger, Flaps, Landing Gear... Example, Boost: all_engines_boost, key_t, 0| // Switch engines boost: on/off Map both buttons 23 and 24 for press "key_t", the game see only the key change of state - if is pressed or not; so if always pressed, switch in button 24 position (ON) don't have collateral effect, the game see only the keys press once (if is pressed or not), so the switch always in, e.g. 24 position will don't send multiples "key_t". But with TARGET scripts you can map for when switch move for button 24 position (ON) send only a briefly "key_t" press. This is called "Pulse" in TARGET code. Downside: due the simplistic "toggle" logic for this control , you need set the switch properly before every flight start, or result inverted (boost off with switch up), since both sides of switch send the same key press. Edited December 20, 2020 by Sokol1 1
kestrel79 Posted December 21, 2020 Posted December 21, 2020 I have my Boost and Supercharger Stage Select mapped to the two silver switches you push "up" on when you have the throttle near full. You can flick them with your thump and push them to turn on and off. Works really good very handy. I'll tell you the Button # when I get home from work.
356thFS_Melonfish Posted December 23, 2020 Author Posted December 23, 2020 On 12/21/2020 at 4:43 PM, kestrel79 said: I have my Boost and Supercharger Stage Select mapped to the two silver switches you push "up" on when you have the throttle near full. You can flick them with your thump and push them to turn on and off. Works really good very handy. I'll tell you the Button # when I get home from work. Hi Kestrel, Aye, these have been suggested, i may well switch them out but atm i've got them setup as part of my engine selection options for duel flights. you're right though that right eng op button is almost right under the thumb. Interestingly because I can't seem to do this overall, I have been considering whether or not to replace the latching switches on the warthog with non-latching, this shouldn't mess up any of the circuitry and though awkward to replace (as they're all soldered to PCB's) it should solve most of my issues. could be an expensive failure though.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now