Jump to content
The simFlight Network Forums
alihor

Using FSX&P3D Controls

Recommended Posts

Hi Pete,

I need for a button a FSX&P3D control for the  function "New View" e.g. "Overhead Panel".

I was looking around and only found in the FSX&P3D controls list some of this:

"New_View", "View", "View_Mode"  and I never know, do I need parameters and which one. I tested these function without a result.

Is there a document which describes the usage of these controls related to the FSX or P3D functions?

thanks in advance

------- Clarification of my question ------

from FSX Help Information:

There are SIX MAIN VIEWS (S).  Each has a subset reachable by pressing A.

You can see all of them by pulling down the Views menu and choosing View Mode.

You can open any of them in a new window by pulling down that Views menu and choosing New View.

I want to assign  a controller button to this function " selecting New View and selecting OVERHEAD view"  in a new window.

------ I hope this helps -----

********* FSUIPC4, Version 4.974b (14th March 2018) by Pete Dowson *********
Windows 7 Professional 64 Bit with SP 1.0 reported as Build 7601 (OS 6.1)
fsx_mas.exe version = 10.0.61472.0
Reading options from "Z:\FSX\Modules\FSUIPC4_mas.ini"
Running inside FSX on Windows 7
... FSX has been renamed as "fsx_mas"
Module base=16900000
User Name="xxxxxxxxx"
User Addr="xxxxxxxxxxxxxxxxxxx"
FSUIPC4 Key is provided
WideFS7 Key is provided

***********************************************************************************

 

Share this post


Link to post
Share on other sites

I'd guess you have to make a zzzwhatever.lua in the \modules dir

that you trigger with your assign button and in the dropdown "lua zzzwhatever"

in the lua the ipc.control(zzzzzzzzzzzzz, 0) <> "zzzzzzzzzzzzz" you find in the "The 2016 List of FSX and P3D Controls.pdf" f.i.:

NEW VIEW 65825

VIEW CAMERA TOP DOWN 67156

^^^ chk of these are the correct ones

in the zzzwhatever.lua:

ipc.control(65825, 0) -- new view (prob a copy of the active view)
ipc.control(67156, 0) -- top down (change to topdown)

or
you prob do not need a parameter

ipc.control(65825) -- new view (prob a copy of the active view)
ipc.control(67156) -- top down (change to topdown)


this is from the top of my head


2cts

 

Share this post


Link to post
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

×

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.