How to port your A25 mod to A26

This lists (most) of the template-changing commits, and how to fix them. And also some other breaking changes.

Other notes

r26269

Terrain textures no longer have a movementclass attribute.

r25876

The bases of PetraAI were previously iterated in HQ, now that is done in a separate manager (Phab:D4192).

r26000

There was another refactoring in the ProductionQueue. Researching itself is now done in cmpResearcher and training in cmpTrainer. (Phab:D4333) Modders can change their templates with the script at https://code.wildfiregames.com/P256. Do note that one might still have to do some manual work.

r26038

All AO textures were normalized and adjusting multipliers were removed toward PBR. To normalize AO textures use the P259 script.

r26074

ElevationBonus and Delay in the Attack templates are renamed to Origin and EffectDelay, respectively (Phab:D2016). The origin now consists of an X, Y and Z component.

r26235

The formations possible for units are now stored in cmpUnitAI instead of cmpIdentity. Modders can change their templates with the script provided at https://code.wildfiregames.com/P261.

r26298

The (Generic)Name, History and Emblem/Icon of civs are moved from their respective JSON to their respective XML in templates/special/players (mind the extra s).

r26299

The formations possible for a civilisation are moved from their respective JSON to their respective XML in templates/special/players.

r26317

The icons/emblems of a civ use now the same relative path as the icons of other entities (session/portraits/).

r26381

In the maps, the chicken variable is replaced by startingAnimal.

r26458

The icons in the templates (Identity) are not optional anymore.

r26476

The name and icon of formations are moved from cmpFormation to cmpIdentity. Modders can use the script provided at Phab:P264 to fix their templates. Do note template_formation needs manual correction.

Last modified 3 months ago Last modified on Feb 24, 2022, 7:54:27 AM
Note: See TracWiki for help on using the wiki.