Page 1 of 1

data.cmp questions

Posted: Tue Nov 22, 2016 11:46 am
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

Re: data.cmp questions

Posted: Fri Nov 25, 2016 10:34 pm
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.

Specializations blank page

Posted: Sat Nov 26, 2016 11:38 am
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>

Re: data.cmp questions

Posted: Sun Nov 27, 2016 6:39 pm
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.

Re: data.cmp questions

Posted: Sun Nov 27, 2016 9:14 pm
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

Re: data.cmp questions

Posted: Mon Nov 28, 2016 2:13 am
by adherbal
That file looks 100% the same as the Blitzkrieg cmp file? Sure you sent the right one?

Re: data.cmp questions

Posted: Mon Nov 28, 2016 9:19 am
by Erik2
I was comparing the two files, maybe I zipped the wrong one.
Here's the Fall Weiss file.

Re: data.cmp questions

Posted: Tue Nov 29, 2016 12:32 am
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.

Re: data.cmp questions

Posted: Tue Nov 29, 2016 9:35 am
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