XML/Resource
Revision as of 01:29, 4 April 2007 by Pug (talk) (Resource moved to Resource name.xml: to match Glest naming conventions)
<?xml version="1.0" standalone="no"?>
- <resource>
- <image path="images/image.bmp"/> This icon will be displayed on the hud to show how many resources are available
- <type value="static"/> Static Resources are "Checked in" when created and "Checked out" when used
- <type value="consumable"> Consumable resources are created and used whenever
- <interval value="30"/> the timer indicates an interval has passed.
- <type value="tech"> Tech Resources are maps to a Custom Map Object and can be harvested
- <model path="models/gold.g3d"/> The model path shows the 3 d model(s) used bu Glest
- <default-amount value="1500"/> How much can be harvested before the object is removed from the Map
- <resource-number value="1"/> Maps the resource to the custom Resource used by the Map Editor
- <type value="tileset"> Tileset Resources are mapped to a default Map object, and can be harvested
- <default-amount value="300"/>
- <tileset-object value="1"/> Maps the resource to the tileset object used by the Map Editor
- </type> ends the type clarification
- </resource>