Strange that the macro doesn't work on the keyboard, it should. That's about it, hard = finding the L:Var name, easy = making the. There are other ways such as using a hex editor to inspect the interior model (.mdl) file and such but that is way beyond the scope here. Run that plug-in my assigning it to a keypress, then operate the button and see if an LVar value changes." " To find LVars you can use the supplied Lua plug-in to log Lvars. The difficult part is finding the correct L:Var variable name, once you have that, the. They will serve no other purpose for you. Use Notepad or some other plain text editor to view/edit them.īTW, I attached a bunch of zipped up. mcro files are no more than text files with a. The macro facility to operate Lvars can only be used by editing macro files and building them manually.
(~pg 43 FSUIPC4 for Advanced Users.pdf, "Macros to change Lvars") : Unlike the FSUIPC built in macro maker for C+ type gauges, macros for L:Vars have to be handmade.
May I ask where you found the "P40_Hyd.mcro" file? Just in case i want to try something similar again. If a control is being used it will be logged. To find out whether a control is being used after all, enable Event logging (FSUIPC Logging tab), then operate the button. The log you supplied shows nothing apart from the start of the session, so it isn't clear why you supplied it. Run that plug-in my assigning it to a keypress, then operate the button and see if an LVar value changes. To find LVars you can use the supplied Lua plug-in to log Lvars. Mouse macros are described in the FSUIPC user manual. If the former case is true then there are two conceivable ways of programming it: using a mouse macro, or seeing if there's an L:Var which does the job. If there is no suitable control listed there are two possibilities: either A2A has not provided any control to operate that switch (more like a button by the sound of it), or they have done it by re-using an otherwise unused or "custom" control. The controls list is generated from information supplied by P3D itself. I have checked your Controls List for P3Dv4 build 34698 but there is no control listed for a hydraulic pump 'on' with repeats. In any case, a toggle switch is not what is needed. I have tried assigning this but the switch on the yoke does not respond. On the left side, there is a 'Hydraulic Switch Toggle' option. To get round this, I have tried to assign a key press -V- to this in FSUIPC6 but without information on the control I cannot confirm the assignment. It is a complex, vibrating aircraft with many controls and switches. It is very awkward to do this with a mouse in the P-40. It is more like a trim switch in the way it works. It is not a toggle action, like a gear toggle. When released at that point, the pump switches off. The problem is that the switch must be kept pressed until the hydraulic pump has completed its task. This can be done in the aircraft using a mouse to press a switch on the yoke.
The hydraulic system in this aircraft requires manual recharging after each use (flaps, gear only).