User Tools

Site Tools


designer_tutorials:xml:xml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
designer_tutorials:xml:xml [2018/05/15 16:41]
Kjeld
designer_tutorials:xml:xml [2018/05/16 09:44]
Kjeld
Line 32: Line 32:
   - **tid**: Start with 0 and goes up to the number of total territories minus one. Have to be unique. Again, WarGear will create these automatically.   - **tid**: Start with 0 and goes up to the number of total territories minus one. Have to be unique. Again, WarGear will create these automatically.
   - **boardid**: The same for every territory, this is the id number of the board. WarGear will create this automatically if you don't include it.   - **boardid**: The same for every territory, this is the id number of the board. WarGear will create this automatically if you don't include it.
-  - **name**: Territory namespaces and special characters are generally OK, though many special characters won't display properly in the game engine.+  - **name**: Territory namespaces and special characters are generally OK, though many special characters won't display properly in the game engine.
   - **max_units**: What it says. Note that entering "0" means that the territory can hold unlimited units.   - **max_units**: What it says. Note that entering "0" means that the territory can hold unlimited units.
   - **scenario_type**: If your board uses a scenario to start the game, this indicates whether the territory starts open ("0"), "Neutral", non-capital "Allocated", "Neutral Capital", or as an allocated "Capital City".   - **scenario_type**: If your board uses a scenario to start the game, this indicates whether the territory starts open ("0"), "Neutral", non-capital "Allocated", "Neutral Capital", or as an allocated "Capital City".
Line 49: Line 49:
   - **continentid**: Don't worry about these. WarGear will create these automatically when you upload the XML.   - **continentid**: Don't worry about these. WarGear will create these automatically when you upload the XML.
   - **boardid**: The same for every territory. WarGear will create this automatically if you don't include it.   - **boardid**: The same for every territory. WarGear will create this automatically if you don't include it.
-  - **name**: Continent namespaces and special characters are generally OK, though many special characters won't display properly in the game engine.+  - **name**: Continent namespaces and special characters are generally OK, though many special characters won't display properly in the game engine.
   - **bonus**: The continent bonus value.   - **bonus**: The continent bonus value.
   - **members**: Comma separated list of the tid values of the member territories (i.e. the territories that comprise the continent).   - **members**: Comma separated list of the tid values of the member territories (i.e. the territories that comprise the continent).
Line 64: Line 64:
 You can see that a border element also comprises a list of attributes: You can see that a border element also comprises a list of attributes:
  
-  - **borderid**: continentid: Don't worry about these. WarGear will create these automatically when you upload the XML.+  - **borderid**: Don't worry about these. WarGear will create these automatically when you upload the XML.
   - **boardid**: The same for every territory. WarGear will create this automatically if you don't include it.   - **boardid**: The same for every territory. WarGear will create this automatically if you don't include it.
   - **fromid**: The tid value of the territory the border starts from   - **fromid**: The tid value of the territory the border starts from
designer_tutorials/xml/xml.txt ยท Last modified: 2018/05/16 09:44 by Kjeld