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.

Map features.tga

From TWC Wiki
Revision as of 00:26, 25 August 2007 by Makanyane (talk | contribs) (rtw files category)
Jump to navigationJump to search
Enlarged section of vanilla M2TW map_features.tga

The map_features.tga is the map file that controls the placing of the rivers, volcanoes and cliffs on the campaign map. In Medieval II - Total War it also controls the placing of land-bridges.

Map_features.tga will be found in the data/world/maps/base folder of a vanilla installation, it may also be placed in the data/world/maps/campaign/campaign_name folder if the other map files are copied there as well.

Size

The map_features.tga must be the same size as map_regions.tga

Rivers

Rivers are marked with a pure blue (RGB 0,0,255) one pixel wide line.

Fords across the river are marked with a cyan pixel (RGB 0,255,255), these are the places that armies and roads can cross the river. If a river completely divides a region bounded by edge of map and or sea it may be necessary to have at least one fording position to avoid CTD on loading campaign (that appears to be linked to path finding problems).

The origin of the river must be marked with a white (RGB 255,255,255) pixel. A river must have at least one outlet, e.g. a blank end without a white origin pixel this does not have to meet the sea, but it looks rather silly if it doesn't. A river can have more than one origin with the branch joining the main river, it may also fork into different outlets. Once forks are made do not attempt to rejoin the rivers.

Fig 2.River correct.jpg

The river can 'step' as shown in Fig 2.

fig 3.River wrong1.jpg

The line of the river should not be broken as in Fig 3. Diagonal corners of pixels joining is not sufficient.

Fig 4.River wrong2.jpg

A square 2 x 2 block of river pixels as shown in Fig 4. will result in a CTD without error message when attempting to generate map.rwm for new campaign.

Cliffs

Cliff positions are marked in pure yellow (RGB 255,255,0. The presence of cliffs prevents units disembarking from ships along the effected stretch of coastline.

For Rome - Total War and its' expansions a cliffs_debug.tga is generated in the root RTW folder each time a new campaign is started without a map.rwm. original author of article doesn't know what this file does! Please add info...

Land-Bridges

For M2TW only the ability to add long land-bridges has been added. They are shown as green lines (RGB 0,255,0) on the map_features.tga. (It was possible to use short land-bridges in RTW/BI but they could only be created by manipulating the coastline in map_heights.tga).

The line of the land bridge should be only 1 pixel wide.

Volcanoes

Volcano positions are marked with one red pixel (RGB 255,0,0)

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