Technical Reference - Static Objects

Overview
Static objects can considerably improve debriefings by outlining conflict areas, tactical ranges, interdiction zones, ILS, cities... It is also a powerful tool to validate trainees' progression: Now you can visually check if each plane trajectory follows the defined flight plan and ILS glides drawn as transparent 3D objects!

Adding static objects to Tacview world require very little technical knowledge. All you need to understand is the XML format and how to geographically localize objects on Earth. Since Tacview is working with a spherical world, you may have to manually convert flat terrain coordinates into real-life latitude and longitude if your favorite flight simulator is working in a flat world. Note that native support for Falcon 4.0 flat coordinates system is planned for a future release.

Keep in mind that static objects are purely visual for now. Battlefield units cannot interact with them. For example, it is not possible to destroy a static object. Also, only basic shapes are supported. Support for complex 3D objects is planned for a later release of Tacview. Because of constant tweaking and optimizations, objects colors may vary in future releases of Tacview. However, their shape will remain the same.

How can I use KML files to add static object to Tacview world?
Tacview will automatically load and display any object declared in any  .kml  file stored in the sub-folders of your choice under:  %ProgramData%\Tacview\Data\Static Objects\  or  %APPDATA%\Tacview\Data\Static Objects\

Can I see an example of a static object declaration?
Of course! Here is a sample of airport and runway declaration. You can notice that each  .xml  file can contains as many objects declarations as you want. For each object, you usually have to specify the  Type ,  Position  (in any metric format), and  Size  (in meters). Additional attributes can be used to assign a  Name ,  Shape ,  Color, or  ID  depending on the object type. The  ShortName  is going to be used to declutter the 3D view when the object is far from the observer.
 * IT-BMS-Airports.xml

How to create and edit XML files?
You can create and edit XML files with any raw text editor. For example, I would suggest the excellent Notepad++, but you can very well use the Notepad from Microsoft. What matters, it to save your file in the UTF-8 text format so Tacview can properly interpret and display objects labels in any language.

Where should I store the XML files so Tacview can load and display them?
Tacview will automatically load and display any object declared in any  .xml  file stored in the sub-folders of your choice under:  %ProgramData%\Tacview\Data\Static Objects\  or  %APPDATA%\Tacview\Data\Static Objects\

How to add airports and ILS?
As you can see in the previous example, there are two important points when add an airport in Tacview' world. First, you have to declare an object of the type  Airport. This object is going to be used both to display a label in the 3D world and to detect take-off and landings events. The other type of object required is an almost flat cube  Cube  which is going to be used to represent the runway. You can obviously declare as many runways as you want. You can also use other types like  Pyramid  or  Cone  to display ILS glides.

How can I easily outline areas?
You can outline areas by using  Border  objects. Specify the outline  Height  and  Colors, then list each  Point  around the area. Don't forget to repeat the first point in last if you want a closed outline.

Can I display waypoints?
Of course! It is very easy to display waypoints by using the  Waypoints  object which is a list of  Waypoint. Each waypoint can have a distinct  Name  and  ShortName. It is also possible to specify  Strike  to highlight specific combat waypoints.

Which other kind of shapes are supported?
You can create static  Object  of the following  Shape : For each object, you can specify the  Orientation  ( Roll ,  Pitch, and  Yaw ). For some asymmetric objects like  Tube  and  Pyramid, you can specify the  BaseSize  containing a  Width  and  Height.
 * None  (displays only the label)
 * Cube
 * Sphere
 * Dome  (half sphere)
 * Tube
 * Cone
 * Pyramid