June 26, 20223 yr Just wondering what if any is a 'command' to make the yoke disappear/appear (toggle) which can be mapped to a keyboard key or joystick button Thanks Regards John Gigabyte Z390 m/b, i7 9700K cpu, 16Gb Hyper X Fury 3200 ram, RTX2060 6Gb, Gigabyte 32" monitor, MSFS 2020 store edition
June 27, 20223 yr Does going to Control Settings and doing a search on "yoke" or "toggle" bring up anything relevant? -J 13700KF | RTX 4090 @ 1440 | 64GB DDR5 | 2 x 1TB SSDs | 1TB M.2 NVMe
June 27, 20223 yr 1 hour ago, Jarnie said: Just wondering what if any is a 'command' to make the yoke disappear/appear (toggle) which can be mapped to a keyboard key or joystick button Thanks I would be surprised if there is a 'command' for this. My guess would be a local variable (Lvar) is used in a visibility statement in the aircraft code to hide and show the yoke. If so, if you can determine the Lvar for the aircraft, you could use a 3rd party app like FSUIPC7, SpadNext, LINDA, etc., to set and clear the Lvar with a key or button. Unfortunately, the particular Lvar used for this is likely unique to each aircraft (developer dependent) although maybe there is some consistency across the collection of Asobo default planes. Al Edited June 27, 20223 yr by ark
June 27, 20223 yr Author 3 hours ago, Twenty6 said: Does going to Control Settings and doing a search on "yoke" or "toggle" bring up anything relevant? No and that is why I asked as I wondered if there was another way (question maybe could have been phrased better) 3 hours ago, ark said: My guess would be a local variable (Lvar) is used in a visibility statement in the aircraft code to hide and show the yoke Thanks. That sounds promising . I will contact the 'manufacturer' (Aerosoft) to find out if there is such a variable which is accessible by the user. I guess at worst I can map a key to a camera view of the floor, then press than key, LMB the bottom of the yoke (to hide/display) and then back to previous view. Just a few more steps I guess. Edited June 27, 20223 yr by Jarnie Regards John Gigabyte Z390 m/b, i7 9700K cpu, 16Gb Hyper X Fury 3200 ram, RTX2060 6Gb, Gigabyte 32" monitor, MSFS 2020 store edition
June 27, 20223 yr 1 hour ago, Jarnie said: I will contact the 'manufacturer' (Aerosoft) to find out if there is such a variable which is accessible by the user. I'll be interested to hear what they say. What aircraft(s) BTW? 1 hour ago, Jarnie said: I guess at worst I can map a key to a camera view of the floor, then press than key, LMB the bottom of the yoke (to hide/display) and then back to previous view. Just a few more steps I guess. I'm not sure what the overall goal here is -- perhaps there is a fuel selector or something on the floor that you need to see to operate and the yoke is in the way? I usually remove the VC yoke from view as soon as the plane loads since I have "my own" and don't want to see another one in the VC. Any buttons or switches on the VC yoke that I think I need I can usually map to buttons and switches on my yoke, sometimes with the help of FSUIPC7. To "each their own", of course. Al Edited June 27, 20223 yr by ark
June 27, 20223 yr Author 25 minutes ago, ark said: I'm not sure what the overall goal here is Just like to see the cockpit as a real pilot would. Of course a real pilot would bend forwards (over the yoke) to view any instruments hidden by the yoke if required. Sometimes I also leave the yoke hidden. Maybe I need to set the pilot's viewpoint ('eye) more forward so that the yoke is near the bottom of the screen. Lots of choices. Regards John Gigabyte Z390 m/b, i7 9700K cpu, 16Gb Hyper X Fury 3200 ram, RTX2060 6Gb, Gigabyte 32" monitor, MSFS 2020 store edition
June 27, 20223 yr Commercial Member (L:XMLVAR_YokeHidden1) (L:XMLVAR_YokeHidden2) Set those LVars to 1 and the associated yoke goes away. These are MSFS default, so if the plane uses some other mechanism, you will indeed have to ask the manufacturer. You can either do that with an app (AxisAndOhs, FSUIPC, SPAD etc.) or you hack into the behavior definition XML file and place the necessary code there - then the yokes would always be hidden in that particular plane. <Component ID="HIDE_YOKES"> <UseTemplate Name="ASOBO_GT_Update"> <UPDATE_CODE> 1 (>L:XMLVAR_YokeHidden1) 1 (>L:XMLVAR_YokeHidden2) </UPDATE_CODE> <UPDATE_ONCE>1</UPDATE_ONCE> </UseTemplate> </Component> Edited June 27, 20223 yr by Lorby_SI LORBY-SI
June 27, 20223 yr you can map those two LVARs to be set to 0 or 1 by a button or hat with Axis and Ohs. So one button will turn both yokes off, another button turns both yokes on. Most planes use the default LVARs, so it should work on most planes. 5800X3D, RTX4070, 600 Watt, one or two 1440p 32" screens, 64 GB RAM, 4 TB PCle 3 NVMe, Warthog throttle, VKB NXT EVO stick, Honeycomb Alpha yoke, CH quad, 3 Logitech panels, 2 StreamDecks, Desktop Aviator Trim Panel. Crystal Light VR.
June 27, 20223 yr Commercial Member 2 hours ago, Fielder said: you can map those two LVARs to be set to 0 or 1 by a button or hat with Axis and Ohs. So one button will turn both yokes off, another button turns both yokes on. Most planes use the default LVARs, so it should work on most planes. Or use a single button with an RPN script to toggle them: 1 (L:XMLVAR_YokeHidden1, Number) - (>L:XMLVAR_YokeHidden1, Number) 1 (L:XMLVAR_YokeHidden2, Number) - (>L:XMLVAR_YokeHidden2, Number) LORBY-SI
June 27, 20223 yr Author Well it seems I have created some interest from others and I do thank you both for your input. I will try and digest that and see if I can put it into practice. I used to be a programmer and so can understand some xml 'language' and used to modify quite a few xml's in FSX and enjoy a challenge and learning new things. Thanks again. Regards John Gigabyte Z390 m/b, i7 9700K cpu, 16Gb Hyper X Fury 3200 ram, RTX2060 6Gb, Gigabyte 32" monitor, MSFS 2020 store edition
June 27, 20223 yr Author 17 hours ago, ark said: I'll be interested to hear what they say. What aircraft(s) BTW? Aerosoft (C6 Otter) reckon it can't be done. Regards John Gigabyte Z390 m/b, i7 9700K cpu, 16Gb Hyper X Fury 3200 ram, RTX2060 6Gb, Gigabyte 32" monitor, MSFS 2020 store edition
June 27, 20223 yr 13 minutes ago, Jarnie said: Aerosoft (C6 Otter) reckon it can't be done. Can't be done why? Edited June 27, 20223 yr by ark
June 28, 20223 yr Author 6 hours ago, ark said: Can't be done why? I have no idea as all they stated in their reply was - It doesn't seem MSFS allows this to be bound to a key or button indeed. I have checked but could not find any assignable function.It seems as if they think that it can only be done via OPTIONS. Regards John Gigabyte Z390 m/b, i7 9700K cpu, 16Gb Hyper X Fury 3200 ram, RTX2060 6Gb, Gigabyte 32" monitor, MSFS 2020 store edition
June 28, 20223 yr Commercial Member 6 hours ago, Jarnie said: Aerosoft (C6 Otter) reckon it can't be done. Sure it can. Aerosoft are just using their own LVar, not the default. (L:DHC6_YOKE_HIDDEN, Bool) And you will probably want to look at these too: (L:DHC6_GUSTLOCK_VISIBLE, Bool) (L:DHC6_GUSTLOCK_INSTALLED, Bool) (L:DHC6_GUSTLOCK_REMOVED, Bool) Edited June 28, 20223 yr by Lorby_SI LORBY-SI
June 28, 20223 yr Commercial Member But to actually answer the initial question: No, these things can't be done in MSFS itself. You could add some RPN code (to flip the LVar value) to another button action in the plane that you can map in MSFS (for example a light switch or something) by hacking the behavior definition XML file (and lose the functionality every time there is an update of the plane). RPN to toggle an Lvar between 0 and 1 goes like this:1 (L:DHC6_YOKE_HIDDEN, Bool) - (>L:DHC6_YOKE_HIDDEN, Bool) Otherwise you need a tool, like AxisAndOhs, FSUIPC, SPAD, etc. where you can map the RPN code (or similar, it is different in every tool I guess) to physical controls. Edited June 28, 20223 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.