Page 1 of 1

Spec Dates

Posted: Thu Apr 11, 2019 6:37 pm
by Horst
Another undocumented fix in 7.1.6 seems to be following one: in the past, the game read rather the campaign start and then last played campaign scenario date to display the current spec-tree line which specs you can purchase on the campaign screen. Now, it seems to be on track with the upcoming scenario date.
I've first noticed it during Endsieg but also tested it with US-Pacific. I'm very sure the dates lingered behind in the past as I have made quite some adjustments there that I have to change again.

Re: Spec Dates

Posted: Thu Apr 11, 2019 8:14 pm
by Horst
Now I get it what's going on: in earlier days, the campaign scenarios had no dates defined, so the game just used the campaign start and previously played one to progress the spec-tree. Now, these scen-dates were added via campaign editor.
I still used some old data.cmp campaign files from 4.1.1 to convert them to the new campaign.cmz format.
Maybe someone else here has also noticed that the spec-start dates are missing in the campaign-editor for certain campaigns. This defines where the spec-tree starts and not necessarily the first campaign scenario. With the old data.cmp files in txt-format, you can still add these dates like

Code: Select all

<specs>
start = 1/1/1941
available = usa boot_camp, Tank_School, Field_Medics, Naval_Academy
</specs>
The game converts these data.cmp files into the new format since 5.1.6. My only trouble was that these converted ones still had 1/1/0 date for each scenario set, so the game now couldn't progress the spec-tree anymore what broke three vanilla campaigns of mine.

Ergo, it's very important now that in particular old (custom) campaigns have all dates correctly set via campaign-editor, so the spec-tree progression won't break.

Re: Spec Dates

Posted: Fri Apr 12, 2019 9:26 am
by Erik2
Nice findings, Horst.
There's a date field related to specs missing in the current campaign editor (when you start a new campaign).
I'll check my own custom campaigns and add branch dates.

Re: Spec Dates

Posted: Fri Apr 12, 2019 5:24 pm
by Horst
3SinoJapWar, 6WinterWar, and 7Blitzkrieg are the ones which lack a spec start-date.

I've added the spec start-dates to the old data files, converted them to campaign.cmz and added all the scenario dates.
Maybe someone has use for these, for example as template with the campaign map.
Give a damn if something doesn't look right compared to the original files which still lack a start-date. I've played with these converted files through the campaigns all fine in the past, but I had to correct some available specs back to vanilla state. Hopefully, I did all fine there.

Re: Spec Dates

Posted: Sat Apr 13, 2019 9:54 am
by Erik2
Downloaded.
Thanks for fixing these campaigns.