edelweis13 Posted October 11, 2014 Report Posted October 11, 2014 Hello, i have a problem and search for an answer in different forums, but without getting the prblem solved. I Fly in FS9 an Heli, EC 135 from Icaro. There is a switch in the virtual cockpit - an only there! - to retract the landing light. I tried to get this switch to toggle with a joystick toggle. But i cant find the fs-action in fsuipc to set this action to a key or bottom. Can anyone help me? The action landing light up and down is not the right, i even tried!
Pete Dowson Posted October 11, 2014 Report Posted October 11, 2014 Unless this action is simulated in the specific add=on aircraft, it isn't anything supported internally in FS. If the switch on the panel does work, and the aircraft maker has not supplied a key press shortcut for it, then there may be one of two possible solutions, but it isn't guaranteed: 1. FSUIPC mouse macro. This where where FSUIPC traps your use of the mouse to activate the switch, and then provides a way of doing it directly. This method only works with panels designed in C/C++ with the Microsoft SDK. Look up mouse macros in the FSUIPC documentation. 2. Local panel variables, or "L:Vars". If you can find an internal variable used for the switch you might be able to program a button to write to it You can use the added FS control to log L:Vars, or use the Lua plug-in provided to monitor them as they change. Pete
edelweis13 Posted October 12, 2014 Author Report Posted October 12, 2014 Thank you for the answer. I tried, but mouse macro doesnt work. There are XML-Gages included. I think thats the problem. Then i tried to log the actions. But now i cant find an fsuipc.log file. I tried in different aircraft, but there is no logging file to read n the modules folder. My version of fsuipc is 3.99z8 and is registered, of course. Have you an idea, what i am doing wrong??
Pete Dowson Posted October 12, 2014 Report Posted October 12, 2014 Then i tried to log the actions. But now i cant find an fsuipc.log file. I tried in different aircraft, but there is no logging file to read n the modules folder. There is ALWAYS a LOG file. It is there, alongside the FSUIPC.DLL, FSUIPC.INI, FSUIPC.KEY and Install FSUIPC.LOG files and the FSUIPC Documents sub-folder. You are looking in the vwrong place if you don't see it. Maybe you have Windows hiding filetypes from you? Please see the FSUIPC user guide about turning off that annoying Explorer option. Pete
edelweis13 Posted October 12, 2014 Author Report Posted October 12, 2014 Sorry, i found my misstake. I did not run FS9 in XP-compatibility mode. I changed and now i see the log files!! I now see, that this switch is the "smoke-off" function. But i still have a problem to give the function to the switch of the joystick. in case of the landing lights and taxi lights it was no problem. In this case, it doesnt work. Either with key commands nor bottoms??
Pete Dowson Posted October 12, 2014 Report Posted October 12, 2014 I now see, that this switch is the "smoke-off" function. But i still have a problem to give the function to the switch of the joystick. in case of the landing lights and taxi lights it was no problem. Are you saying that you actually assigned "smoke off" from the drop-down list, and it is sent to the aircraft but does nothing? If so, then the "Smoke off" being logged is some sort of separate thing the aircraft is using. Sorry, I've no idea about that. But you said it was an XML gauge, so it is still quite likely that it can be operated via Local Panel Variables (L:Vars. You need to check those. If you run the Lua plug-in provided to log them, you will see a real time display on scren of L:Vars as they change (as well as getting a log of them). Once you can identify the correct L:Var you can try assigning a button to write to it. This involves making a macro file then assigning to the appropriately named macro -- you'll need to see the section on L:Vars in the Advanced User's guide. Pete
edelweis13 Posted October 12, 2014 Author Report Posted October 12, 2014 OK, i see. I testet and the event "smoke-off" is really something else. i first thought to have the switch, but in another test i didnt move the switch and in the log it was also. How can i run the lua plug-in?
Pete Dowson Posted October 12, 2014 Report Posted October 12, 2014 How can i run the lua plug-in? In any one of several ways, as described in the documentation. Once it is placed into the Modules folder you can assign a keypress or button to start it. Pete
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