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

Recent content by richbarry

  1. R

    FSX Get camera position & angle using simconnect in C#

    A lot of people including myself have wanted to do this, so I'm 99.9% sure there isn't an easy way. The harder ways I know of are : 1) Save the flight using Simconnect. Open the .FLT file via code, get the [Window.1] Current Camera GUID, match it to correct the [Camera.1.x] entry and read the...
  2. R

    FSXA Directly loading Aircraft (without UI)

    You can save the flight using Simconnect, modify the [Sim.0] Sim= entry in the .FLT file, then reload the FLT file using Simconnect. You may also have to patch some other entries in the FLT file, e.g. Saving with a fixed undercarriage aircraft will probably result in the gear being down when...
  3. R

    P3D Observer - Lock Aspect

    One of the options in the "Manage Observers" dialog in P3D is Lock Aspect for Field of View. As far as I can see, all the Observer properties can be set up via Simconnect other than Lock Aspect. When defining the observer, you can leave H or V field of view undefined and it will calculate the...
  4. R

    FSX How to set COM Active Frequency with SimConnect

    I've got an example off the net that appears to do it a bit differently. It sets the Standby, then Swaps the Standby and Active frequency. The Standby in the aircraft.cfg does not seem to be set to 0. I have never had any reason to use the code, but it does appear to work, so unless I've missed...
  5. R

    FSX Create event attached to a SimVariable?

    Why wouldn't you just monitor the variable value in your program and raise an event in your own program rather than wanting FSX/P3D to raise the event? You can request variable data at whatever period you choose.
  6. R

    Create Fixed Lat/Lon/Alt camera at runtime

    Has anyone succeeded in creating a Fixed camera using the method... Simconnect.CreateCameraDefinition(parameters) Simconnect.CreateCameraInstance(parameters) Simconnect.OpenView(parameters) I can create VC cameras, and exterior/aircraft cameras with the above, but not a Fixed camera. I can...
  7. R

    Select docked view via code

    The Z-order of the extra docked views View 01, View 02 etc changes depending on which is active, something I hadn't noticed until now. View 00 comes bottom of the list however, irrespective of whether it is the active view or not. SetWindowPos does change size, position etc, but doesn't change...
  8. R

    Select docked view via code

    I'm working with an external VB.NET app. The primary screen is split into 2 docked views for stereo 3D, and they have to pan in unison. One view is master, the other slave. When slave view has focus, I want to transfer focus back to the master as that's the one I want panned. Slave view...
  9. R

    Select docked view via code

    Thanks for the suggestion. Gauges aren't something I've worked with before, so it's going to take a bit of reading and tinkering to get my head around your idea....
  10. R

    Select docked view via code

    Is anyone aware of a means to select a particular docked view using code? There don't appear to be any Simconnect commands for doing it, and I'm not having any luck trying to set focus to a child handle via the Windows API. The closest I can get to what I want is by automating a mouse click in...
  11. R

    UnMap / Remove ClientEventToSimEvent

    ddawson - would you mind elaborating on how to use an Integer rather than an Enum in MapClientEventToSimEvent? In VB.NET I get "Value of type 'Integer' cannot be converted to 'System.Enum" when trying to do so, and the first parameter of MapClientEventToSimEvent() is a System.Enum I can Cast...
  12. R

    UnMap / Remove ClientEventToSimEvent

    Are you suggesting I have EVENTS.ID0, EVENTS.ID1......EVENTS.IDn ? I know I can do that, but that isn't the problem I'm trying to solve. I want a single EVENTS.ID and have the capability to remove the existing SimEvent mapping in order to map a different SimEvent. Simconnect has capability to...
  13. R

    UnMap / Remove ClientEventToSimEvent

    Does anyone know of a means to undo a MapClientEventToSimEvent, so that the same Enum can then be remapped to a different Sim Event ? MapClientEventToSimEvent(EVENTS.ReusableID, "PITOT_HEAT_TOGGLE") transmit event.... Unmap and later on MapClientEventToSimEvent(EVENTS.ReusableID, "a different...
  14. R

    FSXA Is There a Way to Get X, Y, Z and P, B. H Values On Screen?

    With a small amount of programming it is very simple. To side step the programming however, just position your cameras, save the flight, open the FLT file with Notepad, and look at the Camera definitions. Match the GUID with the GUID in your Cameras.cfg file...
  15. R

    Reading 6DOF transmissions Head Tracking -> P3D

    Turns out OpenTrack and FaceTrackNoIR have 6DOF UDP output so once I finish figuring out UDP, I can route the 6DOF to P3D via my application which is the preferable solution.
Back
Top