• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA Open directly a specific camera view

Messages
61
Country
france
I would like to know if it is possible to open directly a camera view by clicking a 3D icon in the VC panel ?

Thank for your help.
 
Thank you Roy,

I have seen this topic, but, I want to open directly the camera view.
I have three camera views (pilot-copilot-radio panel)
To pass from pilot to radio panel

I can use this code :
Code:
<CallbackCode>
	(&gt;K:NEXT_SUB_VIEW)
	(&gt;K:NEXT_SUB_VIEW)
</CallbackCode>
But if I'm on the copilot view, it opens a wrong view.

I could use it if I'm able to reset the pilot view :
<CallbackCode>
(code to reset the Pilot view)
(&gt;K:NEXT_SUB_VIEW)
(&gt;K:NEXT_SUB_VIEW)
</CallbackCode>


It would be easier if I could use the [CameraDefinition.X], or the guide in the aircraft.cfg to open the desired view.
 
That would be a pretty cool thing to be able to use. You could have icons on the panel that would open views up automatically so you didnt have to roam through the various view selections.
 
It seems that you can go either way, next or previous, but not select a specific view. With 2 cameras it is easy, you can just use next. With 3 you could do next or previous.

Roy
 
Thank you Roy,

I have seen this topic, but, I want to open directly the camera view.
I have three camera views (pilot-copilot-radio panel)
To pass from pilot to radio panel

I can use this code :
Code:
<CallbackCode>
	(&gt;K:NEXT_SUB_VIEW)
	(&gt;K:NEXT_SUB_VIEW)
</CallbackCode>
But if I'm on the copilot view, it opens a wrong view.

I could use it if I'm able to reset the pilot view :
<CallbackCode>
(code to reset the Pilot view)
(&gt;K:NEXT_SUB_VIEW)
(&gt;K:NEXT_SUB_VIEW)
</CallbackCode>


It would be easier if I could use the [CameraDefinition.X], or the guide in the aircraft.cfg to open the desired view.

You can reset to default view (camera.0) using (>K:VIEW_RESET). Also you can keep the current view with a local var and issue NEXT_SUB_VIEW or PREV_SUB_VIEW in accordance.

Tom
 
It seems that "(&gt;K:VIEW_RESET) " resets only the initial position of the current view, and not the initial view.

HTML:
"Also you can keep the current view with a local var and issue NEXT_SUB_VIEW or PREV_SUB_VIEW in accordance."

But how to assign a local variable when there is no variable in FSX assigned to views; only Event IDs ?
 
But how to assign a local variable when there is no variable in FSX assigned to views; only Event IDs ?

That would be the easy part...Facts are, what you want to do ie click a 3D icon and open a VC subview can be made (control gauge needed) and will work as long as the user doesn't change views through the context menu (menu selections don't generate trappable events)
I guess this is impossible to avoid so...:( I don't see a clear solution to your problem so far.

Tom
 
Here is what I have set up.

I usually fly MP with Track_IR and try to change things using stick/throttle/keyboard buttons because it is easier than clicking with a mouse when the scene is moving as my head moves.

First, I have no 2D cockpit view because I commented it out in the camera.cfg file. None of my airplanes use 2D cockpits.

My initial view is the VC cockpit. If I move a stick hat button dedicated to the NEXT_SUB_VIEW control, I can cycle through camera nose, camera right, camera left and VC view. That is a right hand cycle. If I move the hat button the other way, I get PREV_SUB_VIEW which is a left hand pattern, camera left, camera right, camera nose and back to VC. If I get overexcited and/or confused, I do CTRL SPACE which is RESET_VIEW and am back in the VC view.

With Track_IR and say the camera right view, I can move my head to the left, which slews the camera left, pick up the recon target and track it with head movement as it passes, take some shots, just like the real thing.

Works for me

Roy
 
First, I have no 2D cockpit view because I commented it out in the camera.cfg file. None of my airplanes use 2D cockpits.

It doesn't matter that you have no 2D Cockpit view, it is always possible to select any view (2D or VC) from the context menu, and when you do that the sync with Lvar states is lost. Probably you haven't experienced this cause you don't use the menu regurarly, but it is something that has to be taken into account.

Tom
 
Back
Top