Vectro Posted May 5, 2011 Report Posted May 5, 2011 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:
Pete Dowson Posted May 5, 2011 Report Posted May 5, 2011 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
Vectro Posted May 5, 2011 Author Report Posted May 5, 2011 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.
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