UE2 terrain exporter tool
Posted: Thu Oct 06, 2022 8:23 am
This is a simplistic tool to export a UE2 terrain (only tested with UT2004) geometry as OBJ file, which can be used in 227.
To configure it, you can tweak Config.ini (sections are named as <Mapname>_<TerrainInfo object name>) to adjust U/V map tiling scale.
After that you only need to either drag and drop an .ut2 map file to the UE2TerrainExp.exe file (or run UE2TerrainExp.exe ..\Steam\steamapps\common\Unreal Tournament 2004\maps\DM-DesertIsle.ut2 for example as shortcut or batch script).
It will create <Mapname>_<TerrainInfo object name>.obj files at your exe path, which can then be imported in 227 editor. If you wish to use exact position as in UE2 level, just copy over Location from the original level to the newly added terrain static mesh Location.
Too bad 227 doesn't support texture blending yet so can't have that same nice transition between multiple materials (you can use another software though to tweak the terrain obj file to make some nicer texture transitions). But this tool only exports the terrain as a single material yet.
Download from here: http://www.klankaos.com/downloads/UE2TerrainExporter.zip
To configure it, you can tweak Config.ini (sections are named as <Mapname>_<TerrainInfo object name>) to adjust U/V map tiling scale.
After that you only need to either drag and drop an .ut2 map file to the UE2TerrainExp.exe file (or run UE2TerrainExp.exe ..\Steam\steamapps\common\Unreal Tournament 2004\maps\DM-DesertIsle.ut2 for example as shortcut or batch script).
It will create <Mapname>_<TerrainInfo object name>.obj files at your exe path, which can then be imported in 227 editor. If you wish to use exact position as in UE2 level, just copy over Location from the original level to the newly added terrain static mesh Location.
Too bad 227 doesn't support texture blending yet so can't have that same nice transition between multiple materials (you can use another software though to tweak the terrain obj file to make some nicer texture transitions). But this tool only exports the terrain as a single material yet.
Download from here: http://www.klankaos.com/downloads/UE2TerrainExporter.zip