Page 1 of 1

Changing CAPs and Cards

Posted: Tue Jun 05, 2012 2:09 pm
by cbelva
In creating new scenarios, is it possible to change the number of command action points and the number of cards a side receives? Thanks

RE: Changing CAPs and Cards

Posted: Tue Jun 05, 2012 2:46 pm
by ericbabe
Yes. After you save the scenario, edit the scenario XML file in an XML editor and you should find entries for CAPs and cards. It should look something like this:

<PlayerCapsForTurnList>
<PlayerCapsForTurn>
<PlayerName>Germans</PlayerName>
<CAPS>15</CAPS>
<Turn>0</Turn>
<AllTurns>true</AllTurns>
</PlayerCapsForTurn>
<PlayerCapsForTurn>
<PlayerName>Russians</PlayerName>
<CAPS>8</CAPS>
<Turn>0</Turn>
<AllTurns>true</AllTurns>
</PlayerCapsForTurn>
</PlayerCapsForTurnList>
<PlayerCardsForTurnList>
<PlayerCardsForTurn>
<PlayerName>Germans</PlayerName>
<CardsToDraw>2</CardsToDraw>
<Turn>1</Turn>
<AllTurns>false</AllTurns>
</PlayerCardsForTurn>
<PlayerCardsForTurn>
<PlayerName>Russians</PlayerName>
<CardsToDraw>2</CardsToDraw>
<Turn>1</Turn>
<AllTurns>false</AllTurns>
</PlayerCardsForTurn>
<PlayerCardsForTurn>
<PlayerName>Germans</PlayerName>
<CardsToDraw>1</CardsToDraw>
<Turn>0</Turn>
<AllTurns>true</AllTurns>
</PlayerCardsForTurn>
<PlayerCardsForTurn>
<PlayerName>Russians</PlayerName>
<CardsToDraw>1</CardsToDraw>
<Turn>0</Turn>
<AllTurns>true</AllTurns>
</PlayerCardsForTurn>
</PlayerCardsForTurnList>

You can edit these values or add tags to modify CAP and card numbers. If the <AllTurns> tag is "true" then the card or CAP attribute will be the default value for any turn in the game that is not specified explicitly in your list. (If there are multiple attributes with <AllTurns> true, then the behavior may be unpredictable.)

Hope this helps. Please feel free to ask any further questions. You can use free programs like Notepad++ or XML Notepad from Microsoft to edit XML files, or you can edit the raw XML in any vanilla text editor.