Jump to content
The simFlight Network Forums

C172 sim - FSUIP key command help needed


Recommended Posts

Hi,

I hope I could find help from here. We are construction Cessna 172 simulator in Finland based on FS2004 and real C172 fuselage.

We have modified virtual cockpit view with propeller and modified 2D instrument panel for wings. Since it seems that it si not possible to save

a 2D instrument panel permanently on top of virtual cockpit view I am now thinking of using FSUIPC keycommands instead.

For loading the 2D panel on top of virtual cockpit you need to press the key combination: SHIFT + 1. Then you still have to undock the view with your

mouses right button and select 'undock window'.

Is it possible to automatically run keypresses after the flight have loaded in FS9 (SHIFT + 1) and also add some automated mouse functions.

These commands should work right after the flight has loaded.

Here is the link to our project:

http://www.lentosimulaattori.com/index-eng.html

and latest video:

Link to comment
Share on other sites

For loading the 2D panel on top of virtual cockpit you need to press the key combination: SHIFT + 1. Then you still have to undock the view with your

mouses right button and select 'undock window'.

You should be able to save such a Window setting. Or at least you could modify the Flight file to set it that way.

Is it possible to automatically run keypresses after the flight have loaded in FS9 (SHIFT + 1)

You can use the InitialButton facility described in the FSUIPC Advanced User's guide to automatically press real or imaginary joystick buttons once, when FS is loaded and ready to fly, or you can have Macros or Lua plug-ins run automatically when any or a specific aircraft is loaded -- see the section entitled Automatic running of Macros and Lua plugins in the same document.

I think that "Shift+1" keypress is actually assigned to the FS control PANEL_1, but check. You'd be better off sending the controls rather than the keys. PANEL ID OPEN is actually better stil -- you have to give the correct ID as a parameter though.

and also add some automated mouse functions.

I'm afraid that FSUIPC doesn't offer any mouse functions (except mousewheel trim). You might need to investigate something like Luciano Napolitano's "Key2Mouse" program.

Regards

Pete

Link to comment
Share on other sites

Hi,

It seems that I managed to solve the problem. If the background/VC cockpit is in 'maximize window' mode, the 2D panel (wings) cannot be saved and reloaded.

Once I took the 'maximize window' mode off everything is saving and reloading perfectly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.