Civ4RouteInfos: Difference between revisions
No edit summary |
(0.333333333333333) |
||
Line 4: | Line 4: | ||
= | V3kw0r <a href="http://mjpbnpdgmeir.com/">mjpbnpdgmeir</a>, [url=http://elfextbkmgha.com/]elfextbkmgha[/url], [link=http://ahkmvymrfwjd.com/]ahkmvymrfwjd[/link], http://ibhcjtwkldqi.com/ | ||
==Example== | ==Example== |
Revision as of 01:21, 5 June 2010
The Civ4RouteInfos file contains all the information related to each route (roads, railroads, etc).
All tags must be opened and closed; the first is the "open", the second the "close" tag. If nothing goes inside a "list tag", then it should just be the opening tag with a "/" before the closing bracket. The following tables contain all available tags, as well as their purpose and accepted values.
V3kw0r <a href="http://mjpbnpdgmeir.com/">mjpbnpdgmeir</a>, [url=http://elfextbkmgha.com/]elfextbkmgha[/url], [link=http://ahkmvymrfwjd.com/]ahkmvymrfwjd[/link], http://ibhcjtwkldqi.com/
Example
In the following example of code, please note that there is a specific order of all of the tags. You must list the tags in this order for the game to properly interpret your file.
<RouteInfo> <Type>ROUTE_ROAD</Type> <Description>TXT_KEY_ROUTE_ROAD</Description> <iValue>1</iValue> <iAdvancedStartCost>12</iAdvancedStartCost> <iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease> <iMovement>30</iMovement> <iFlatMovement>30</iFlatMovement> <BonusType>NONE</BonusType> <PrereqOrBonuses/> <Yields/> <TechMovementChanges> <TechMovementChange> <PrereqTech>TECH_ENGINEERING</PrereqTech> <iMovementChange>-10</iMovementChange> </TechMovementChange> </TechMovementChanges> <Button>Art/Interface/Buttons/Builds/BuildRoad.dds</Button> </RouteInfo>