XML/Upgrade
Revision as of 01:39, 4 April 2007 by Pug (talk) (Upgrade moved to Upgrade name.xml: Glest naming conventions)
<?xml version="1.0" standalone="no"?>
- <upgrade>
- <image path="images/image.bmp"/> UI Icon used for the Upgrade
- <image-cancel path="../../../../common/tech_cancel.bmp"/> UI Icon used to Cancel the Upgrade
- Time required to upgrade
- <unit-requirements/> Units required to be in service before upgrade
- <upgrade-requirements>
- <upgrade name="filename"/> Previous upgrades required before upgrade can be initiated
- </upgrade-requirements>
- <resource-requirements>
- <resource name="filename" amount="###"/> Resources used for upgrade
- </resource-requirements>
- <effects>
- <unit name="filename"/> Units affected by the upgrade
- </effects>
- And the actual effects conferred by the upgrade
- <max-hp value="0"/>
- <max-ep value="0"/>
- <sight value="0"/>
- <attack-strenght value="0"/> Note Spelling; Minor bug, not corrected as of 2.0
- <attack-range value="0"/>
- <armor value="0"/>
- <move-speed value="0"/>
- <production-speed value="0"/>
- </upgrade>