Home » MODDING HQ 1.13 » v1.13 Idea Incubation Lab  » Using Inaccessible Sectors (Modding Sectors to become accessible)
Using Inaccessible Sectors[message #346009] Fri, 24 June 2016 08:42 Go to next message
edmortimer is currently offline edmortimer

 
Messages:1533
Registered:January 2015
Location: Home Free
Is there any way to modify the inaccessible sectors (e.g. A4, A5, A16, et al) to become accessible? If so, what would that require I do?

Report message to a moderator

Sergeant Major
Re: Using Inaccessible Sectors[message #346010 is a reply to message #346009] Fri, 24 June 2016 09:39 Go to previous messageGo to next 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
Re: Using Inaccessible Sectors[message #346012 is a reply to message #346010] Fri, 24 June 2016 09:58 Go to previous message
edmortimer is currently offline edmortimer

 
Messages:1533
Registered:January 2015
Location: Home Free
Quote:
Apart from creating the map with correct entry points you will need to modify TableData\Map\MovementCosts.xml.


Thank you!

Report message to a moderator

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


Current Time: Mon Dec 02 07:02:56 GMT+2 2024

Total time taken to generate the page: 0.00671 seconds