|
Re: Using Inaccessible Sectors[message #346010 is a reply to message #346009]
|
Fri, 24 June 2016 09:39
|
|
silversurfer |
|
Messages:2791
Registered:May 2009 |
|
|
Apart from creating the map with correct entry points you will need to modify TableData\Map\MovementCosts.xml. There the travel costs from sector A to sector B are defined. Inaccessible sectors or "impossible routes" are defined as "EDGEOFWORLD" (outer map border) or "GROUNDBARRIER" (obstacles like mountains or lakes). For example sector B4 has its north travel route defined as "EDGEOFWORLD". This would need to be replaced by a valid travel option ("PLAINS", "HILLS" etc.). This would have to be done for the previously inaccessible sector as well as all surrounding sectors that should allow travel to that sector.
Travel options are:
UINT8 gszTerrain[NUM_TRAVTERRAIN_TYPES][15] =
{
"TOWN", "ROAD", "PLAINS", "SAND", "SPARSE", "DENSE", "SWAMP",
"WATER", "HILLS", "GROUNDBARRIER", "NS_RIVER", "EW_RIVER", "EDGEOFWORLD"
};
Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MODReport message to a moderator
|
|
|
|
|