Page 2 of 2
Re: Panzer Corps v1.21 Update
Posted: Sat Oct 19, 2013 9:59 am
by Magic1111
ThvN wrote:
By default, the game uses the gamerules file from the main 'Data' folder. But the GC files are also used.
It seems to me that the game will also read a GCxx/Data gamerules file and will give priority to the settings from this file. But this file doesn't need all settings, just the one(s) that are different from the main game. So if nothing is set for a particular game setting, it will use the value for this setting from the main file.
...
Aah, okay! Now I understand the sense behind them!
Thx for clarify this ThvN! An also thx to Horst!
Best regards,
Magic
Re: Panzer Corps v1.21 Update
Posted: Sat Oct 19, 2013 12:20 pm
by Horst
I had more time to test now. Yep, Rudankort was busy here and actually implemented an override mechanism for 1.21 what I didn’t imagine.
It would have been clearer without thoroughly testing if he had only left the specific DLC changes in each rules-file.
For users who like to modify rules:
DLCs: edit each DLC gamerules.pzdat file and add whatever additional 1.20/21 settings you like to see there even if you use the in-game 1.14 rules switch. The game will read and use either the gamerules114.pzdat or the gamerules.pzdat data of the main Data folder and overwrite any settings with the DLC/mod’s gamerules.pzdat file(s).
Player-created custom scenario/campaign mods: check the user folder where you installed the scenario/campaign mods and change or add settings there. Whatever is missing there, settings or the whole rules-file, will be otherwise read and used either from the game’s main Data folder’s gamerules114.pzdat or the gamerules.pzdat file depending on the in-game 1.14/1.20 rules switch setting.
Re: Panzer Corps v1.21 Update
Posted: Tue Oct 22, 2013 8:01 am
by Rudankort
As you guys have already correctly determined, 1.21 now loads the default rules first (1.20+ or 1.14-, depending on your settings), and then it loads GC rules and they override whatever was loaded from default files. I could remove any settings the DLCs do not change from DLC gamerules files, but I decided not to do it, because people can use the old installers of their DLC or Megapack anyway, and also there are mods, so making it work in this configuration was top priority, and I just left it this way.
The bottom line is, you do not need to change/copy around any rules in the DLC folders, and if you did this before the release of 1.21, you better reinstall the DLCs.
Re: Panzer Corps v1.21 Update
Posted: Tue Oct 22, 2013 2:39 pm
by Magic1111
Many thx to Horst and Rudankort for the explanations!

Re: Panzer Corps v1.21 Update
Posted: Tue Oct 22, 2013 5:08 pm
by airbornemongo101
Pardon my stupidity and hard-headness,,but Mongo confused
If I just patched up to 1.21 (and never messed w/ any files) will the new rules work w/ the DLC's? without changing anything?
Thanks in advance for the clarification
( Mongo now dramatically exits stage left , to go and look for his lost brain and a candy-gram)
Re: Panzer Corps v1.21 Update
Posted: Tue Oct 22, 2013 6:37 pm
by KeldorKatarn
airbornemongo101 wrote:If I just patched up to 1.21 (and never messed w/ any files) will the new rules work w/ the DLC's? without changing anything?
Yes
Re: Panzer Corps v1.21 Update
Posted: Tue Oct 22, 2013 7:47 pm
by airbornemongo101
Thank You sir.

Re: Panzer Corps v1.21 Update
Posted: Wed Oct 23, 2013 11:01 am
by Magic1111
Philkian wrote:
...
o Disbanding 0-strength no longer gives prestige. Disbanding understrength units (e.
g. 1-strength) gives proportionally less prestige.
...
Is it possible to turn the above feature off/on (e.g. via gamerule or another file)? Or is it "hardcoded" in .exe File?
Re: Panzer Corps v1.21 Update
Posted: Wed Oct 23, 2013 11:10 am
by Rudankort
Magic1111 wrote:
Is it possible to turn the above feature off/on (e.g. via gamerule or another file)? Or is it "hardcoded" in .exe File?
It is hard-coded because I did not consider it a feature, but a bug. Thus, you are not supposed to sell 0-strength dead units for prestige, it just does not make any sense.
Re: Panzer Corps v1.21 Update
Posted: Wed Oct 23, 2013 11:15 am
by Magic1111
Rudankort wrote:it just does not make any sense.
...for my prestige-points it had made sense...LOL!
But I understand your point!

Re: Panzer Corps v1.21 Update
Posted: Wed Oct 23, 2013 11:26 am
by Magic1111
ThvN wrote:
I will give an example: I copied the main gamerules file and put it in the GC39/Data folder. Then I opened it and deleted everything except the ZOC settings, and I changed those. If I start a new GC39 campaign, it uses the settings from the main file, but the ZOC's are changed, so they must have been read from the GC file I made. Which is almost empty.
Last question for Final clarify please....
The gamerule file in data Folder from each GC-Folder might look like this for example (the change is the air zoc = 1 in this example what I want for a custom setting):
# This file configures a number of options used by Panzer Corps game engine.
FormatVersion 1
# *** Zone of Control (ZOC) rules
# The following three options specify if the three main branches of units (ground, air or naval) are effected by ZOC created by enemy units. 1=yes, 0=no.
GroundZOC 1
NavalZOC 1
AirZOC 1
And that´s it, otherwise empty. And all other settings loads the game from the Main gamerule file?
Do I understand that correct?
Re: Panzer Corps v1.21 Update
Posted: Wed Oct 23, 2013 12:08 pm
by Rudankort
Magic1111 wrote:
And that´s it, otherwise empty. And all other settings loads the game from the Main gamerule file?
Do I understand that correct?
Yes, that's correct.
Re: Panzer Corps v1.21 Update
Posted: Wed Oct 23, 2013 2:32 pm
by Magic1111
Rudankort wrote:
Yes, that's correct.
Okay, many thx!
