For those of us who love to play CC on maps, and those of us who love to make maps for people to play on CC, it give me great pleasure to announce a long-awaited addition to the XML Arsenal....
Losing Conditions / Requirements
Losing conditions (technically known as 'requirements') are a form of objective that you must continue to hold in order to avoid being eliminated. If your 'requirement' objective is taken from you, then you will be instantly eliminated from the game. (You can think of this as a 'capture the flag' scenario).
Let's explain it in a bit more detail: The requirements are evaluated whenever you conquer/bombard a territory, nuke a country, or are hit by a killer neutral. So if you do not meet a requirement from the initial game drop you might have a chance to conquer it and become safe (although for the most part, the 'requirements' will be bundled up as starting positions). When you eliminate someone via requirement, it works the same as eliminating someone via nuke - you get their cards and it counts as terminator points. When you don't meet a requirement your remaining armies change to neutral.
Here are the technical details, for those that love the code:
- The new <requirement> tag goes in between positions and objectives. If you have a complete xml with all the toys the tags must be in the this order:
- Code: Select all
<?xml version="1.0"?>
<map>
<minreinforcement/>
<reinforcements/>
<positions/>
<requirement/>
<objectives/>
<continents/>
<territories/>
</map>- Code: Select all
<requirement>
<name>Two Oceanic Countries</name>
<components>
<territory>Jakarta</territory>
<territory>Port Moresby</territory>
<territory>Perth</territory>
<territory>Sydney</territory>
</components>
<required>2</required>
</requirement>- Code: Select all
<objective>
<name>Two Small Continents</name>
<components>
<continent>South America</continent>
<continent>Africa</continent>
<continent>Oceania</continent>
</components>
<required>2</required>
</objective>
So, let's get on to how they work... In this example, in order to stay alive in the game you must hold 2 out of the 4 territories in Oceania:
It should be noted that you can include <continent> components as well <territory> components.
Similarly, lackattack has updated the game engine to respect <required> tags on objectives. For example, you can now do this:
When somebody is eliminated via requirement, the game log will look something like this:
MrBenn assaulted Canada from England and conquered it from lackattack
lackattack no longer holds XXX (name of the requirement)
MrBenn overthrew lackattack who has been eliminated from the game
lackattack lost 8 points
MrBenn gained 8 points
Many thanks to lackattack for providing us with a new toy to play with (I'm hoping that there are more to come), and here's to all the Capital Ideas that have yet to be cooked up!
--MrBenn
PS. It should be noted that there are potential uses for this new feature that do not necessarily need to involve 'Capitals'. The 'Capital' meme has only been used to tie in with a wider foundry campaign.