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

Changing to map view

jimkeir

Resource contributor
Messages
93
Country
unitedkingdom
Hi,

I'm been looking for an event which will switch the current view to 'map' (top-down) view. There are events called:

VIEW_COCKPIT_FORWARD
VIEW_VIRTUAL_COCKPIT_FORWARD

... but all the other view-related events seem to be either cycling or manipulating. This is to match the return values from the "View" system event.

Thanks,
Jim
 
Hi Folks

Jim -
Can you simulate keystrokes ?
If so CTRL+S will do the job.

If you save your .flt
having cycled and set the required zoom level,
that should then give your required view.

HTH
ATB
Paul
 
Last edited:
Have to tried KEY_NEW_MAP? It's an eventid. Says opens new map view. Part of the view system.
 
I'm been looking for an event which will switch the current view to 'map' (top-down) view. There are events called:

VIEW_COCKPIT_FORWARD
VIEW_VIRTUAL_COCKPIT_FORWARD

... but all the other view-related events seem to be either cycling or manipulating.

What's wrong with "VIEW_DOWN"?

Pete
 
Pete,

VIEW_DOWN makes you look at your seat - but you new that. You also need to send about 50 EYEPOINT_DOWN events also, then you can look out the bottom of the aircraft. Too bad you cannot set the EYEPOINT_POSITION variable. Can FSUIPC do that?

Jim, maybe look at the camera example and have a camera view look down from some altitude.
 
Last edited:
VIEW_DOWN makes you look at your seat
Oh, does it? Damn. Not in my cockpit it doesn't ... but now you mention it that is probably because I don't have any internal views in FS (I have real ones in the cockpit ;-) ).

Too bad you cannot set the EYEPOINT_POSITION variable. Can FSUIPC do that?
No, I don't know how to get at that.

In FS9 and before offset 8320 can change the view mode directly -- value 5 is "top down". But SimConnect doesn't seem to provide any way of directly setting them.

Pete
 
The SimConnect_CameraSetRelative6DOF function can set the X, Y, Z, Pitch, Bank, & Heading of the current camera being used in the primary view window. That's what TrackIR uses to move the camera around.
 
The SimConnect_CameraSetRelative6DOF function can set the X, Y, Z, Pitch, Bank, & Heading of the current camera being used in the primary view window. That's what TrackIR uses to move the camera around.

Yes, nice, but sadly SimConnect omitted to provide any way of READING the current settings for any of the cameras, so if you just want to have a quick look elsewhere, say, then return to whatever view you had before, you can't do it. It works for TrackIR because it is controlling it all the time.

Regards

Pete
 
Hi,

The SimConnect_CameraSetRelative6DOF function can set the X, Y, Z, Pitch, Bank, & Heading of the current camera being used in the primary view window. That's what TrackIR uses to move the camera around.

That's what I'm using. Sadly, as Pete says, there's no way to read the current settings. That call returns the current camera mode (2D, 3D, ORTHO) and says that it may change it depending on the angle. To reset the view afterwards you can use an event to explicitly set it to 2D and 3D, but not ORTHO.

It turns out that it seems to reset things properly anyway, I just need to zero the offset. It looked as though it had switched to the 2D cockpit from the 3D one, but it was just the offset making the 3D cockpit appear in the middle distance. Need to experiment a little more - thanks for the answers.

Cheers,
Jim
 
Last edited:
Back
Top