What time is it? XML time!
koontz1973 wrote:1.On the map in each region/iButho (I believe that these need to be programmed as continents), I have a chieftain that needs to be held to get the bonus. The bonus is hold 2 territs in the region and get +2, hold 4=+4, so on and so on. Using the above, how do I get this into the xml?
You need somewhat complicated continents to accomplish this.
I suggest you take a look at my Korea map's XML. Load it in the XML Wizard maybe. There's a pretty analoguous bonus scheme there with the capitals (you need to hold a capital to get a bonus for each kingdom's territories) so when you figure that out, you should be able to do the same for your map.
http://www.fileden.com/files/2010/2/7/2 ... korea7.xmlBasically, you have the continents with each having "1 x territory", "2 x territories" and each giving a 0 bonus. Each contain all the territories of a kingdom, and a <required>-tag corresponding to the number of territories. Then you have continents "1 x territory & y", "2 x territories & y" which give a bonus. These also have <override> tags so that each incremental bonus overrides the last one. "1 x territory & y" contains the continent "1 x territory" and the territory "y", with no required tags...
koontz1973 wrote:2.The territs inside the 150 yard line lose 1 territ per round. How does this get programmed in as well?
Autodeploy with negative value.
For example, look at pretty much any territory on my Antarctica map... here's the XML:
download/file.php?id=142