Banner

Sample SimObject Container using an External Sim


The sample SimObject container is located at SDK\Core Utilities Kit\SimConnect SDK\Samples\ExternalSim\ESFO. This directory can be copied into the SimObjects\Misc\ subdirectory of your Prepar3D® runtime directory to allow selecting the Prepar3D E.S.F.O. (Externally Simulated Flying Object) from the Select Aircraft dialog.


The E.S.F.O. SimObject uses a simple visual model of a UFO (the same UFO visual model that's available as a mission object) and the SimConnect ExternalSim Sample as the simulation module.


The SimObject has a 2D cockpit panel only, no Virtual Cockpit (no interior model defined). The 2D cockpit consist of just a G1000 PFD gauge.


The SimObject defines all the radios as being available (Comm, Nav, etc).


There are two variations of the SimObject defined, one called Slow and one called Fast. The difference between these variations is the string they pass to initialize the External Sim module. The Slow variant has lower max velocity values and Fast variant has higher max velocity values.




Files provided in the sample container

File Description
sim.cfg This is the main configuration file for the container. It defines two [fltsim.n] sections, one for the Slow variant and one for the Fast variant. Note the ExternalSimID, ExternalSimData, and ExternalSimModule items in the [fltsim.n] sections and the category=ExternalSim in the [General] section.
model\model.cfg This is the visual model configuration file. This SimObject only defines an external visual model, there is no internal visual model defined (so no Virtual Cockpit views are available).
model\gen_secret_ufo.mdl This is the external visual model of a UFO (the same UFO visual model available as a Mission Object).
Modules\ExternalSim.dll This is a prebuilt version of the SimConnect ExternalSim Sample. Replace this file with updated versions as you modify the sample code.
panel\panel.cfg This is the panel configuration file. A single 2D panel is defined containing just a G1000 PFD gauge.
texture\texture.cfg This is the texture configuration file.
texture\*.dds These are the textures required by the UFO visual model.


Copyright 2011 Lockheed Martin