All scenarios in one big campaign

A forum to discuss custom scenarios, campaigns and modding in general.

Moderator: Panzer Corps 2 Moderators

Post Reply
jmacnamara
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 132
Joined: Mon Nov 28, 2011 9:27 am

All scenarios in one big campaign

Post by jmacnamara »

I know, it is completely retarded and it does not make sense in any way, historically or game wise, but if you, like me, enjoy playing long campaigns with plenty of opportunities to slowly upgrade your core, try this:

Open
C:\Program Files (x86)\Steam\steamapps\common\Panzer Corps 2\PanzerCorps2\Content\Campaigns\Main\script.lua
in a text editor. (The path may be different on your computer, but for Steam this seems like the place).

Goto line 11 (The blank line between 'end' and '-- Poland')

Copy/Paste the following onto line 11:

Code: Select all

::everything::
PlayScenario("PolandSouth1")
PlayScenario("PolandNorth1")
PlayScenario("PolandSouth2")
PlayScenario("PolandNorth2")
PlayScenario("NorwaySouth")
PlayScenario("NorwayNorth")
PlayScenario("LCSouth1")
PlayScenario("LCNorth1")
PlayScenario("LCSouth2")
PlayScenario("LCNorth2")
PlayScenario("FranceParis")
PlayScenario("FranceDijon")
PlayScenario("Libya")
PlayScenario("Battleaxe")
PlayScenario("AGNorth")
PlayScenario("AGCenter")
PlayScenario("AGSouth")
PlayScenario("Leningrad")
PlayScenario("Kiev")
PlayScenario("Rostov")
PlayScenario("Moscow_1")
PlayScenario("Moscow_2")
PlayScenario("Crusader")
PlayScenario("Kharkov42")
PlayScenario("Gazala")
PlayScenario("Sevastopol")
PlayScenario("OperationBlue")
PlayScenario("Egypt")
PlayScenario("Levant")
PlayScenario("Stalingrad")
PlayScenario("MiddleEast")
PlayScenario("ElAlamein")
PlayScenario("Persia")
PlayScenario("Caucasus")
PlayScenario("6thArmyVOLGA")
PlayScenario("6thArmyESCAPE")
PlayScenario("Kasserine")
PlayScenario("NewCapital")
PlayScenario("Kharkov43")
PlayScenario("Tunisia")
PlayScenario("Moscow43")
PlayScenario("Sealion43_1")
PlayScenario("Sicily")
PlayScenario("Kursk")
PlayScenario("Sealion43_2")
PlayScenario("Smolensk43")
PlayScenario("Sealion43_3")
PlayScenario("Salerno")
PlayScenario("Korsun")
PlayScenario("GustavLine")
PlayScenario("USA1")
PlayScenario("Normandy")
PlayScenario("Bagration")
PlayScenario("Cobra")
PlayScenario("USA2")
PlayScenario("Baltic")
PlayScenario("Ardennes")
PlayScenario("Balaton")
PlayScenario("Rhine")
PlayScenario("Berlin")
PlayScenario("USA3")
goto done
Save. Start a new Poland campaign. Scenarios are in chronological order. It just doesn't make sense. Best not to think about it.Enjoy.
jaywalker32
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Thu Mar 04, 2010 7:14 pm
Location: British Columbia, Canada

Re: All scenarios in one big campaign

Post by jaywalker32 »

LOL :D . You're right. This is totally rad and ridiculous, but a really long campaign looks like hilariously good fun. I love the idea, and will definitely try it out when my current campaign is finished. Thanks for coming up with this.
Stormchaser
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 263
Joined: Mon Sep 07, 2020 1:38 am

Re: All scenarios in one big campaign

Post by Stormchaser »

The concempt of Germany simultaneously invading the USA while being invaded by the Allies and Soviets and having conquered Great Britain already is hilarious.
jmacnamara
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 132
Joined: Mon Nov 28, 2011 9:27 am

Re: All scenarios in one big campaign

Post by jmacnamara »

It doesn't work. After finishing Poland South, it starts Poland North on turn 1. :-(

When I have some time, I'll dive into it a little.
jaywalker32
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Thu Mar 04, 2010 7:14 pm
Location: British Columbia, Canada

Re: All scenarios in one big campaign

Post by jaywalker32 »

But that's how it's supposed to work, no? The scenarios play in the order that you have them listed in your coding.

I've started playing the campaign and I just go through one scenario after another, regardless of anything whatsoever. Just ignore the briefings, and suspend your disbelief! I've just finished the "Battleaxe" scenario of the North Africa campaign, and have jumped to the beginning of "Barbarossa"! That really threw me for a while, but meh... it's just a game.

I suppose that if you wanted some rationality in the sequence of scenarios, you could try changing their order in your list. For example, you could group all the USA scenarios, instead of having your core force jump back and forth to Europe. I might actually do some editing of your original coding, now that I've seen how the campaign works. But I'd want to do some research first to compare dates, and "what if" time frames.

Your original idea is nonetheless much appreciated. There's nothing I like more than being able to customize a core force, build it up over an extended period of time, and use it in a variety of battle environments.
jmacnamara
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 132
Joined: Mon Nov 28, 2011 9:27 am

Re: All scenarios in one big campaign

Post by jmacnamara »

It should have started on turn 0. You can't deploy worth a damn from turn 1. Luckily, it was only Poland North, which is easy anyway, cause Poland South 2 started on turn 0 as it should. Sorry, I'm a stickler for details like that.
There's nothing I like more than being able to customize a core force, build it up over an extended period of time, and use it in a variety of battle environments.
Couldn't agree more.
jaywalker32
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Thu Mar 04, 2010 7:14 pm
Location: British Columbia, Canada

Re: All scenarios in one big campaign

Post by jaywalker32 »

Ah yes, I see what you mean. I noticed that happening, but I just deployed what I could at the start of that scenario, and then deployed the remainder of my force in subsequent turns. But I don't think that happened with all the subsequent scenarios I've played so far.

Do you think that could be resolved by switching around those first two Poland scenarios, i.e. play "Poland North 1" first, and then "Poland South 1"? I might try that when I edit the list order.
dalfrede
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1498
Joined: Wed Mar 15, 2017 7:48 pm

Re: All scenarios in one big campaign

Post by dalfrede »

The two Poland start scenarios start with assumed deployment, Default Army.
The game may not 'know' that it is a second scenario.
Did you click the 'Custom Army' box at the start. It might just work for the 'two' scenarios here, but you will have to test.
There comes a time on every project when it is time to shoot the engineer and ship the damn thing.
jaywalker32
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Thu Mar 04, 2010 7:14 pm
Location: British Columbia, Canada

Re: All scenarios in one big campaign

Post by jaywalker32 »

I did click 'Custom Army' at the start. And I've switched Poland North 1 and Poland South 1 with no success. The second scenario still has very few deployment hexes (even worse than when Poland North 1 was the second scenario). You are probably right that the game doesn't know that the second scenario is actually a second scenario. If that's the case I can't see any way of making the game think otherwise. I'm going to switch back the two scenarios and start again. I'll do what I did with my first play through, and simply stagger the deployment of my forces.

I've also reviewed the dates of all the scenarios, and the sequence of events is chronologically sound. Like I said, one could group certain scenarios by theatre of operations, but chronological sequencing seems more consistent (if not entirely rational) for a "fantastical" campaign like this.
CaesarCzech
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 122
Joined: Wed Dec 30, 2015 10:27 am

Re: All scenarios in one big campaign

Post by CaesarCzech »

honestly all this needs is some editing of briefings and debriefings and you can make it mod all of its own

::everything::
PlayScenario("PolandSouth1")
PlayScenario("PolandNorth1")
PlayScenario("PolandSouth2")
PlayScenario("PolandNorth2")
PlayScenario("NorwaySouth")
PlayScenario("NorwayNorth")
PlayScenario("LCSouth1")
PlayScenario("LCNorth1")
PlayScenario("LCSouth2")
PlayScenario("LCNorth2")
PlayScenario("FranceDijon")
PlayScenario("FranceParis")
PlayScenario("Libya")
PlayScenario("Battleaxe")
PlayScenario("AGNorth")
PlayScenario("AGCenter")
PlayScenario("AGSouth")
PlayScenario("Leningrad")
PlayScenario("Kiev")
PlayScenario("Rostov")
PlayScenario("Moscow_1")
PlayScenario("Moscow_2")
PlayScenario("Kharkov42")
PlayScenario("Crusader")
PlayScenario("Gazala")
PlayScenario("Sevastopol")
PlayScenario("OperationBlue")
PlayScenario("Stalingrad")
PlayScenario("ElAlamein")
PlayScenario("Persia")
PlayScenario("Caucasus")
PlayScenario("6thArmyESCAPE")
PlayScenario("Kasserine")
PlayScenario("Tunisia")
PlayScenario("Bagration")
PlayScenario("Balaton")
PlayScenario("Berlin")
PlayScenario("Baltic")
PlayScenario("Smolensk43")
PlayScenario("Korsun")
PlayScenario("Sicily")
PlayScenario("Salerno")
PlayScenario("GustavLine")
PlayScenario("Kharkov43")
PlayScenario("Kursk")
PlayScenario("6thArmyVOLGA")
PlayScenario("Moscow43")
PlayScenario("NewCapital")
PlayScenario("Egypt")
PlayScenario("Levant")
PlayScenario("MiddleEast")
PlayScenario("Normandy")
PlayScenario("Cobra")
PlayScenario("Rhine")
PlayScenario("Ardennes")
PlayScenario("Sealion43_1")
PlayScenario("Sealion43_2")
PlayScenario("Sealion43_3")
PlayScenario("USA1")
PlayScenario("USA2")
PlayScenario("USA3")
goto done
TJLionheart
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 60
Joined: Sun Oct 09, 2011 10:48 pm

Re: All scenarios in one big campaign

Post by TJLionheart »

Cool idea, I am waiting for someone to put all of these together with the AO campaigns and the coverted PC1 Campaigns.
Post Reply

Return to “Panzer Corps 2 Scenario Design”