Changes in the data.cmp file

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Changes in the data.cmp file

Post by Erik2 »

One of the recent updates changed the format of this file meaning custom campaigns no longer work.
Could we please get a step-by-step how to fix custom campaigns, preferably as a stickie.

Thanks
adherbal
The Artistocrats
The Artistocrats
Posts: 3900
Joined: Fri Jun 24, 2005 6:42 pm
Location: Belgium

Re: Changes in the data.cmp file

Post by adherbal »

The only change you probably need to do is changing the [ALLIANCE] section

It used to be something like

Code: Select all

player = 0
factions = usa, britain
Now you need to define alliances and list the factions they use, for example:

Code: Select all

player = 0
alliance0 = germany, waffenss, italy
alliance1 = poland, norway, france, belgium, netherlands, britain, usa, greece, yugoslavia
"player = 0" means the player will be in control of alliance0
Image
Post Reply

Return to “Order of Battle : World War II - Scenario Design”