Matrix Games Forums

Space Program Manager will be launching on SteamCome and see us during the Spieltagen in Essen!New Screenshots for Pike & ShotDeal of the Week Command: Modern Air/Naval Operations WOTYCommand: Modern Air/Naval Operations WOTY is now available!Frontline : The Longest Day Announced and in Beta!Command gets Wargame of the Year EditionDeal of the Week: Pandora SeriesPandora: Eclipse of Nashira is now availableDistant Worlds Gets another update
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Changing CAPs and Cards

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Conflict of Heroes Series >> Mods and Scenarios >> Changing CAPs and Cards Page: [1]
Login
Message << Older Topic   Newer Topic >>
Changing CAPs and Cards - 6/5/2012 5:09:40 PM   
cbelva

 

Posts: 1004
Joined: 3/26/2005
Status: online
In creating new scenarios, is it possible to change the number of command action points and the number of cards a side receives? Thanks
Post #: 1
RE: Changing CAPs and Cards - 6/5/2012 5:46:33 PM   
ericbabe


Posts: 10674
Joined: 3/23/2005
Status: offline
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.

_____________________________


(in reply to cbelva)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Conflict of Heroes Series >> Mods and Scenarios >> Changing CAPs and Cards Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.113