data.cmp questions

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

data.cmp questions

Post by Erik2 »

What is the Value in the bottom string?
Also, what are the CP and SP numbers in the top string?

[WARSAW]
// CP: 35, SP: 2
location = 1.068,-1.003
scenario = 02_Warsaw
specs = germany, 5
result = -2,-2,-2,2,2
core = wehrmacht 1.153,-0.106
flag = germany 0.123,-1.141
flag = poland 1.971,-1.277
arrow = 50,50,50 0.478,-1.11 1.000,-0.972
arrow = 50,50,50 1.121,-0.46 1.058,-0.954
value = 751
adherbal
The Artistocrats
The Artistocrats
Posts: 3900
Joined: Fri Jun 24, 2005 6:42 pm
Location: Belgium

Re: data.cmp questions

Post by adherbal »

// indicates a comment

"value" is related to the optional automatic difficulty adjustment system. I'll make a post about that some time soon.
Image
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Specializations blank page

Post by Erik2 »

I'm finishing up a Fall Weiss campaign.
I used the official Blitzkrieg as a template.
However, the Specialization page is blank when running the campaign.
Any tips how to fix this?

This is how the setup looks in the data.cmp for both campaigns:

<specs>
hidden = Naval_Academy germany, Damage_Control germany, Wolfpack germany, Elektroboote germany, Beaching germany, Armed_Merchants germany, Homing_Torpedo germany, Supply_Subs germany, Magnetic_Mines germany, Flight_Deck_Wing germany, Unrestricted_Submarines germany
acquired = tank_school germany
</specs>
Attachments
original.jpg
original.jpg (28.78 KiB) Viewed 2182 times
specs.jpg
specs.jpg (18.38 KiB) Viewed 2182 times
adherbal
The Artistocrats
The Artistocrats
Posts: 3900
Joined: Fri Jun 24, 2005 6:42 pm
Location: Belgium

Re: data.cmp questions

Post by adherbal »

I can't really tell unless you post an error log and/or the rest of the cmp file.

Make sure it is pasted AFTER the [ALLIANCE] and BEFORE the [CORES] sections.
Image
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: data.cmp questions

Post by Erik2 »

It was pasted before the Core section, just like in the original Blitzkrieg file...
I moved it, but it didn't make any difference.
Files attached.

Hope you find out what's wrong. This campaign is just about ready to be delivered to the masses :D
Attachments
data.zip
(2.98 KiB) Downloaded 68 times
output_log.zip
(8.21 KiB) Downloaded 69 times
adherbal
The Artistocrats
The Artistocrats
Posts: 3900
Joined: Fri Jun 24, 2005 6:42 pm
Location: Belgium

Re: data.cmp questions

Post by adherbal »

That file looks 100% the same as the Blitzkrieg cmp file? Sure you sent the right one?
Image
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: data.cmp questions

Post by Erik2 »

I was comparing the two files, maybe I zipped the wrong one.
Here's the Fall Weiss file.
Attachments
data.zip
(1.84 KiB) Downloaded 67 times
adherbal
The Artistocrats
The Artistocrats
Posts: 3900
Joined: Fri Jun 24, 2005 6:42 pm
Location: Belgium

Re: data.cmp questions

Post by adherbal »

The problem is that there is less than one year in the timeframe of your campaign:
date = 1/9/1939
end = 30/10/1939

This can be solved by adding a different starting date to the specs section:
<specs>
start = 1/1/1938
...
</specs>

Eventually, when a proper campaign editor is done, these clumsy cmp files will be a thing of the past. That's why I'm also not bothering too much with their backward compatibility right now.
Image
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9633
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: data.cmp questions

Post by Erik2 »

Now that was an obscure one....

I very much look forward to a proper campaign editor/GUI. It is frustrating when your master piece stumbles on some technicality :D
Post Reply

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