Jump to content
The simFlight Network Forums

Retractable Landing Light in virtual cockpit - send to a bottom or key??


Recommended Posts

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!

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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??

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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??

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.