Errata Corrige - Bonus Collections

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderators: Cartographers, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

Errata Corrige - Bonus Collections

Postby thenobodies80 on Wed Feb 13, 2013 4:22 pm

Hello Foundry Goers,

recently we had to take a small hiatus with checking xml files and uploading new maps because, after doing some test, we noticed that the collection feature didn't work as expected.
Since lackattack coded the feature, we had to knock his turtle shell again and wait for his help to understand what was wrong with collections.

Luckily, the old turtle has peeped out from his shell and gave us a good explanation for the issue. Without explaining all the story, I'm happy to tell you all that there was no bug or necessity to code the feature again, so the collections 100% work! :)

Here a simple explanation of what you have to do to use collections:

The <required> tag is mandatory if you have multiple bonus levels, and the value to write into this tag should be the lower bonus level for the collection.
So, if for example you have the following continent, which has multiple bonus level into it, you need to add after the components tag a <required> tag.

<continent>
<name>ConName</name>
<bonuses>
<bonus required="2">1</bonus>
<bonus required="3">2</bonus>
<bonus required="4">3</bonus>
</bonuses>
<components>
<territory>TerrName1</territory>
<territory>TerrName2</territory>
<territory>TerrName3</territory>
<territory>TerrName4</territory>
</components>
<required>2</required>
</continent>

If you notice the value into the required tag is the same value we have in the lower bonus level:

Code: Select all
 <bonus required="2">1</bonus>


In this way the game engine knows that you need only 2 regions to qualify for the bonus. If you don't add the required tag the collections bonus is given only when you hold the whole continent (the highest level of bonus).

A final note, at the moment the name for the bonus is only one, so all bonus levels have the same description in the game log, indipendently if you hold the whole continent or just a part of it. We're working to have it changed and we hope to obtain a better system to have a detailed description for the game log soon.

I've already modified the dedicated section of the xml guide.
Sorry for the inconvenience and for the double work that it might have caused.

Let me know if there's any question or concerns about it. ;)
Have a great day
Nobodies
I do NOT visit this site and I'm NOT Team CC anymore.
All PMs are autobinned.
If you need to contact me, you should already have a way to do it without using this site.
Thanks to those who helped me through the years. :)
Corporal 1st Class thenobodies80
 
Posts: 5558
Joined: Wed Sep 05, 2007 4:30 am
Location: Not here
Medals: 70
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Speed Achievement (2) Teammate Achievement (1) Cross-Map Achievement (3) Bot Achievement (1) Ratings Achievement (4)
General Achievement (8) Map Contribution (7) Tournament Contribution (6) General Contribution (17)

Return to Foundry Discussions

Who is online

Users browsing this forum: No registered users

Login