Skip to content

Upgrade Maps Information

Cernelius edited this page Oct 15, 2016 · 3 revisions

A list of (case sensitive) changes, to upgrade a map from a TripleA version to another one.

Upgrade from to

Note: The following list covers all basic upgrade cases for maps, but it may not upgrade "Property" options (playerProperty, unitProperty...) of already deprecated items.
Note: Before applying the changes below (assuming you do it with a simple replace), you should make sure to not have unnecessary spaces inside angle brackets (chevrons).
Note: Some items are not validated; thus, if your game plays on, this doesn't necessarily mean that you correctly upgraded it.


<triplea minimumVersion=""/>

Not already deprecated xml changes:

(you normally need to change these only)

="conditionType" value="XOR":="conditionType" value="1"
="Battleships repair at end of round":="Units Repair Hits End Turn"
="Battleships repair at beginning of round":="Units Repair Hits Start Turn"
="Naval Bombard Casualties Return Fire Restricted":="Naval Bombard Casualties Return Fire"

Special code xml changes for the above changes:

(you probably don't have these)

value="conditionType" count="XOR":value="conditionType" count="1"
value="conditionType" count="-reset-XOR":value="conditionType" count="-reset-1"

Already deprecated but effective xml changes:

(you shouldn't have had these in your games already)

="isTwoHit" value="true":="hitPoints" value="2"
="isTwoHit" value="false":="hitPoints" value="1"
="victoryCity" value="true":="victoryCity" value="1"
="victoryCity" value="false":="victoryCity" value="0"

Already deprecated and ineffective xml deletions, for all the respective attachments:

(you shouldn't have had these in your games already and, if you did, they were doing nothing)

="giveUnitControl" value="true":*
="giveUnitControl" value="false":*
*Delete the whole <option/> changes:

color.Impassible=:color.Impassable= changes:


Non-code changes:

Change all sounds inside "/sounds" from "wav" to "mp3" format.

Procedural alternatives:

For a more defined change, instead of the aforementioned:
you can change:

For a more defined change, instead of the aforementioned:
you can change:


The following xml codes, as being properties, are not validated (if you leave them, the game will play, but they will set nothing in the engine) (it is suggested you double check you don't have them anymore):
="Battleships repair at end of round"
="Battleships repair at beginning of round"
="Naval Bombard Casualties Return Fire Restricted"

Clone this wiki locally
You can’t perform that action at this time.