Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

.worldterrain - M2TW

From TWC Wiki
Revision as of 11:24, 16 December 2019 by Makanyane (talk | contribs)
Jump to navigationJump to search

The .worldterrain file primarily provides the height information for the battle map terrain under settlements and ambients.

The file also applies merge values which influence the rate at which the terrain under the settlement blends with the surroundings. The file also provides paths to the masks and textures applied to the area.

See this tutorial by wilddog for further information.

Height Grid

The height values given in the .worldterrain file are just a series of float values with a number of rows and columns. They are applied by the game at (in milkshape equivalent terms) 8 metre spacing, using a hardcoded pattern of triangles. From experimentation this pattern is as shown in the image below;

Terrain-triangle-grid.jpg


You will see this pattern if you use IWTE to export a .worldterrain to ms3d or use the 'show triangles' function in the 2d editing window. The pattern can make it hard to obtain smooth gradients in certain locations and directions...

Merge Functions

All Terrains

Settlement Terrains

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.