View Full Version : [MOD] Trail Pathway


Androrc the Orc
Jun 12, 2009, 06:47 PM
This mod includes a Trail pathway in addition to the regular Road one. Trails cost half of what a Road costs to build and consumes 3/4 of a unit's movement point (Roads consume 1/2). Trails can be upgraded to Roads at any time. Trails use the regular dirt path graphics, while Roads now use the paved road graphics made by patgarr.

Screenshot:

217544

The tooltip says that the Trail consumes 1/2 a movement point, but that's wrong. I assume it's rounding the value.

UPDATE:
version 1.1: Trail costs tweaked.
version 1.2: XML crash bug fixed.

Download the Trail Pathway mod 1.2 (http://dl.getdropbox.com/u/1732902/Trail%201.2.rar)

TC01
Sep 09, 2009, 05:29 PM
You seem to have built this ontop of Aymerick's Plantation Economy, or a version of it. When loading, I get errors saying that Indigo Planter is incorrect, Coffee Planter is incorrect, and then a crash. I've fixed the problem myself for me, but you might want to do that yourself.

Androrc the Orc
Sep 09, 2009, 05:31 PM
Oh thanks :) and yes, I did that. I completely forgot to edit the UnitInfos xml.

First post updated with a new version of the mod with this problem fixed.

VRGS
May 23, 2010, 10:10 PM
Is it easy to fix in a pre-made mod?

Androrc the Orc
May 24, 2010, 04:32 AM
What do you mean? If it's easy to include in a mod? It should be, but if you're having any problems, tell me.

VRGS
May 24, 2010, 06:36 AM
OK!
obrigado

ClasuSiosa
Jun 18, 2010, 04:32 PM
would it make more sense if road cost 1/3 movement and path cost 1/2?? Because right now the path is either usless exept to mounted or its a cheap identicle improvement.
An alternate idea is both of them cost 1/2 move point but road provides resourse/trade/gold bonus.

Androrc the Orc
Jun 18, 2010, 07:13 PM
Maybe that could work better - if you want to alter the values and try it out for yourself, edit \Misc\CIV4RouteInfos.xml. The fields you would have to change are iMovement and iFlatMovement. An iMovement of 60 means movement consumption is as usual, one of 45 means 3/4 of normal movement is consumed instead, and 30 means 1/2 of normal movement is consumed instead.

For the particular change you want to do, you would have to set the iMovement and iFlatMovement of ROUTE_TRAIL to 30, while setting those fields to 20 for ROUTE_ROAD.