⚔ mod tooling for 0 a.d.
Set your mod's identity, forge units and buildings on the anvil below, and export a ready-to-drop mod folder.
folder: my_new_mod/
Matches the "dependencies" field 0 A.D. reads from mod.json.
Saved as simulation/templates/<path>/<file>.xml
Common bases: template_unit_infantry, template_unit_cavalry, template_structure_defensive, template_structure_economic
Health
Resistance
One per line: a variant name and a health ratio between 0 and 1 (the visual/actor variant selected once health drops under that ratio), e.g.:injured 0.5critical 0.15
Attack
Capture (separate attack-type element)
Slaughter (separate attack-type element — instant kill, e.g. gaia hunting)
Resource Cost
Footprint (buildings & units)