Home » MODDING HQ 1.13 » v1.13 Idea Incubation Lab  » Using Inaccessible Sectors (Modding Sectors to become accessible)
Re: Using Inaccessible Sectors[message #346010 is a reply to message #346009] Fri, 24 June 2016 09:39 Go to previous messageGo to previous message
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%20MOD

Report message to a moderator

Lieutenant
 
Read Message
Read Message
Read Message
Previous Topic: RPG decisions
Next Topic: Another competing faction. - People's Revolutionary Front of Arulco
Goto Forum:
  


Current Time: Tue Dec 03 11:47:10 GMT+2 2024

Total time taken to generate the page: 0.00839 seconds