[E2TB] Export to Terrain Builder

If you liked this item, please rate it up on Steam Workshop page.

Author: _SCAR

Last revision: 3 Jan, 2018 at 19:58 UTC

File size: 84.99 KB

On Steam Workshop

Description:

E2TB is a small module for Arma 3 that allows you to export data to Terrain Builder.

Why

If you have tried to import from EDEN or from any other custom tools that generate objects while in mission to Terrain Builder, you may have seen the hassle of objects’ rotations being often incorrect. This fixes most of those issues. You can check out results in this comparison image:

https://cldup.com/eOdeb2Gtga.jpg

How does it work

1. Copy the objects to the clipboard:
* From EDEN: click on the menu "Export > Export to Terrain Builder (E2TB)"
* From within a mission (SP): run the action "Copy the map objects to the clipboard". To do this you’ll first need to drop the "E2TB_Module" in your mission.

2. Copy the contents of the clipboard in a file and save it with the extension ".txt"
3. From within your map in Terrain Builder: "File > Import > Objects"

Scale

E2TB will use the size as reported by the following tools:

* XCam
* Surface Painter
* Map Builder

Note

There are certain objects that behave very differently in EDEN and Terrain Builder. These are the objects that have the named property `placement=slopelandcontact` into the geometry LOD.

The intended behaviour for these objects is to stay flat on the ground and adapt to the terrain. Though, in EDEN you are able to easily position them horizontally, but once imported in Terrain Builder they will follow the ground. As an example, if you were to put a barbed wire on top of a bunker that is on a slope, once imported in Terrain Builder the barbed wire will follow the underneath terrain slope and hence be in an incorrect position.

As a compromise, E2TB assumes that all of those objects are used as normally intended to be: on the ground, following the terrain. This should cover 95% of usage. If you use those objects differently, you will have to manually fix them in Terrain Builder.

We are working on alternative options to see if we can come up with some other solutions, as in the end it boils down to the fact that EDEN and Terrain Builder do not treat these objects in the same way.

Github

https://github.com/ostinelli/SCAR_E2TB

Thank you

Thanks to the Arma3 discord channel, in particular:

* ianbanks (for the absolute code positioning and TB matrices)
* Lappihuan
* zgmrvn
* mikero
* W4lly63
* Ice
* cring0
* Adanteh
* HorribleGoat
* T_D