Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.
Moderator: Cartographers
Premier2k
Posts: 492 Joined: Tue Oct 02, 2007 5:53 am
Gender: Male
Contact:
Post
by Premier2k » Tue Jan 06, 2009 1:27 pm
Hi all,
I've trawled through the tutorial but I can't find how to make a bonus autodeploy. I am assuming it would go into the continents branch of the XML.
A section of my XML provided below, could someone show me how to put this in.
Code: Select all
<continent>
<name>Temple of Poseidon</name>
<bonus>2</bonus>
<components>
<territory>Temple of Poseidon</territory>
</components>
</continent>
Thanks all.
Premier2k
lgoasklucyl
Posts: 526 Joined: Mon Apr 07, 2008 8:49 pm
Gender: Male
Location: Somewhere in the 20th century.
Post
by lgoasklucyl » Tue Jan 06, 2009 1:37 pm
yeti_c wrote: qwert wrote: Again, you'll have to post your XML, but your old lines 94, 95, and 106 had to do with incorrect <continent> tags. Make sure you got them all.
qwert wrote:
thanks now its ok,its very minor things
Now i need new informacion.I read XML tutorial,and i dont find how to write Autodeploy Code. Any body know abouth that?
Yes - all you need is to enter a <bonus>X</bonus> inside the territory tag that you want to assign the bonus to.
C.
Premier2k
Posts: 492 Joined: Tue Oct 02, 2007 5:53 am
Gender: Male
Contact:
Post
by Premier2k » Tue Jan 06, 2009 1:45 pm
Hi,
I'm not sure I understand, can you give me an example?
Would I remove the <bonus>2</bonus> from the continent tag like this;
Code: Select all
<continent>
<name>Temple of Poseidon</name>
<components>
<territory>Temple of Poseidon</territory>
</components>
</continent>
and put it in here somewhere?
Code: Select all
<territory>
<name>Temple of Poseidon</name>
<borders>
<border>Temple 1</border>
<border>Temple 2</border>
<border>Temple 3</border>
<border>Temple 4</border>
</borders>
<coordinates>
<smallx>329</smallx>
<smally>358</smally>
<largex>375</largex>
<largey>459</largey>
</coordinates>
<neutral>10</neutral>
</territory>
Premier2k
lgoasklucyl
Posts: 526 Joined: Mon Apr 07, 2008 8:49 pm
Gender: Male
Location: Somewhere in the 20th century.
Post
by lgoasklucyl » Tue Jan 06, 2009 2:22 pm
I'm just learning XML myself, but figured I could help off a site search
I imagine you would place it between the <Territory></Territory> tags. I'm not sure if orders matters as to where you place it, though, so you'll have to wait on someone who doesn't suck
Premier2k
Posts: 492 Joined: Tue Oct 02, 2007 5:53 am
Gender: Male
Contact:
Post
by Premier2k » Tue Jan 06, 2009 2:31 pm
ok thanks,
Anyone else have any idea?
Premier2k
bryguy
Posts: 4381 Joined: Tue Aug 07, 2007 8:50 am
Location: Lost in a Jigsaw
Post
by bryguy » Tue Jan 06, 2009 2:42 pm
Premier2k wrote: Hi,
I'm not sure I understand, can you give me an example?
Would I remove the <bonus>2</bonus> from the continent tag like this;
Code: Select all
<continent>
<name>Temple of Poseidon</name>
<components>
<territory>Temple of Poseidon</territory>
</components>
</continent>
and put it in here somewhere?
Code: Select all
<territory>
<name>Temple of Poseidon</name>
<borders>
<border>Temple 1</border>
<border>Temple 2</border>
<border>Temple 3</border>
<border>Temple 4</border>
</borders>
<coordinates>
<smallx>329</smallx>
<smally>358</smally>
<largex>375</largex>
<largey>459</largey>
</coordinates>
<neutral>10</neutral>
</territory>
Premier2k
from what i know, yes, thats exactly what you would do.
the <bonus>2</bonus> tags inside the <continent></continent> gives you a bonus for holding the entire continent. putting it inside of the <territory></territory> tags gives that territory an autodeploy of the amount specified.
MrBenn
Posts: 6880 Joined: Wed Nov 21, 2007 9:32 am
Location: Off Duty
Post
by MrBenn » Tue Jan 06, 2009 2:59 pm
Autodeploy doesn't go within a continent tag - it sits at the bottom of the territory tag
PB: 2661 | He's blue... If he were green he would die | No mod would be stupid enough to do that