Grand Campaign 1939-1945 (Custom Campaign)

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

Moderator: Panzer Corps 2 Moderators

Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

88Flak wrote: Wed Dec 07, 2022 7:40 pm Working my way through 43NH and after I finished the Stalingrad partisan hunt and clicked continue and got the following error.

Lua script compilation error: [string""]:515:')' expected near 'then'

Stopped me cold in my tracks.
some posts earlier is how to fix it if u don't won't to wait for the next update. thx for mentioning it.

sers,
Thomas
88Flak
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 131
Joined: Sat Apr 06, 2019 5:28 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by 88Flak »

Oh crap,

I didn't see it. Sorry about the double mention. Thanks for responding.
Sequester Grundleplith, MD
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 206
Joined: Thu Nov 18, 2021 2:17 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Sequester Grundleplith, MD »

Grondel wrote: Wed Dec 07, 2022 4:39 pm
Sequester Grundleplith, MD wrote: Wed Dec 07, 2022 3:01 pm Libya notes: the scenario title is missing
added, thx.
Sequester Grundleplith, MD wrote: Wed Dec 07, 2022 3:01 pm The move to reserve tile overlaps the starting airbase, so returning planes automatically get moved to reserve
moved the airfield to prevent unwanted interaction.
Sequester Grundleplith, MD wrote: Wed Dec 07, 2022 3:01 pm Also, at the end of the scenario, when attempting to hit the continue button on the victory screen, I got a:
Lua script compilation error: [string""]:650:<eof>expected near "end"
Which prevented me from going to the next scenario
in 650 and follows are some "end" too many if u remove them it will work. will be fixed with next update.

sers,
Thomas
Yeah the barracks functions all had extra "ends" in them. Works fine now
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

Sequester Grundleplith, MD wrote: Wed Dec 07, 2022 11:10 pm Yeah the barracks functions all had extra "ends" in them. Works fine now
actually it doesn't, the barracks function in it's current form will produce error as soon as one gets destroyed. will be fixed next update. ;)

sers,
Thomas
Sequester Grundleplith, MD
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 206
Joined: Thu Nov 18, 2021 2:17 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Sequester Grundleplith, MD »

Grondel wrote: Thu Dec 08, 2022 12:09 am
Sequester Grundleplith, MD wrote: Wed Dec 07, 2022 11:10 pm Yeah the barracks functions all had extra "ends" in them. Works fine now
actually it doesn't, the barracks function in it's current form will produce error as soon as one gets destroyed. will be fixed next update. ;)

sers,
Thomas
Hm, I didn't encounter any problems like that in the scenario, once I got it to load

By the way the Algeria scenario is also missing its title
Chepicoro
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 28
Joined: Thu Apr 30, 2020 11:33 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Chepicoro »

Nexus wrote: Mon Dec 05, 2022 5:21 pm Lua error on Stalingrad NH right after killing last Partisan unit.

screen2.png

Edit: fixed it as follows

Screenshot_3.png

I am sorry to ask but since I have the same problem. In what place I can fix that Lua error where I have to look??

Thanks in advance for your help
Nexus
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 66
Joined: Thu Aug 18, 2011 9:47 am

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Nexus »

open "C:\Users\XXX\Documents\my games\Panzer Corps 2\Mods\PanzerCorps1\Campaigns\NHEast1943\v4Voronezh43\Voronezh43.lua" with any texteditor and add closing paranthesis like I indicated with the arrow.
Sequester Grundleplith, MD
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 206
Joined: Thu Nov 18, 2021 2:17 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Sequester Grundleplith, MD »

Morocco notes: haven't played through it yet, but was gifted a random "Edward von mackensen: first strike" and an "ambusher" hero at the start

Edit: finished Morocco notes: the end text is the text from the first AO SCW mission
Also, is it deliberate that your forces land in Gibraltar encircled?
Last edited by Sequester Grundleplith, MD on Thu Dec 08, 2022 8:48 pm, edited 1 time in total.
88Flak
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 131
Joined: Sat Apr 06, 2019 5:28 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by 88Flak »

Thanks Nexus,

Easy peasy with your directions. My Panzers are moving east again!
88Flak
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 131
Joined: Sat Apr 06, 2019 5:28 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by 88Flak »

Just finished the Gorky raid and hit continue to finally reach the Moscow scenario and it crashes with the following error. Dang it!

LoginId:af85230747e9b2f263b18cb3fd81accf
EpicAccountId:ed3fc50fbb6f427aa0c1f5166cd7572b

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff

PanzerCorps2_Win64_Shipping!FText::operator=()
PanzerCorps2_Win64_Shipping!Hero::Generate() [C:\Projects\PanzerCorps2\SVN\trunk\Source\GameCore\Hero.cpp:252]
PanzerCorps2_Win64_Shipping!GameWorld::StartGameActions() [C:\Projects\PanzerCorps2\SVN\trunk\Source\GameCore\GameWorld.cpp:2294]
PanzerCorps2_Win64_Shipping!GameEngine::StartGame() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\GameEngine.cpp:219]
PanzerCorps2_Win64_Shipping!GameEngine::StartPlay() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\GameEngine.cpp:248]
PanzerCorps2_Win64_Shipping!AGame::BeginPlay() [C:\Projects\PanzerCorps2\SVN\trunk\Source\PanzerCorps2\Game.cpp:156]
PanzerCorps2_Win64_Shipping!AActor::DispatchBeginPlay()
PanzerCorps2_Win64_Shipping!AWorldSettings::NotifyBeginPlay()
PanzerCorps2_Win64_Shipping!AGameMode::HandleMatchHasStarted()
PanzerCorps2_Win64_Shipping!AGameMode::SetMatchState()
PanzerCorps2_Win64_Shipping!UWorld::BeginPlay()
PanzerCorps2_Win64_Shipping!UEngine::LoadMap()
PanzerCorps2_Win64_Shipping!UEngine::Browse()
PanzerCorps2_Win64_Shipping!UEngine::TickWorldTravel()
PanzerCorps2_Win64_Shipping!UGameEngine::Tick()
PanzerCorps2_Win64_Shipping!FEngineLoop::Tick()
PanzerCorps2_Win64_Shipping!GuardedMain()
PanzerCorps2_Win64_Shipping!GuardedMainWrapper()
PanzerCorps2_Win64_Shipping!WinMain()
PanzerCorps2_Win64_Shipping!__scrt_common_main_seh() [d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

88Flak wrote: Fri Dec 09, 2022 8:03 pm Just finished the Gorky raid and hit continue to finally reach the Moscow scenario and it crashes with the following error. Dang it!
Gorky to moskow works fine for me. can u reproduce the error?

sers,
Thomas
88Flak
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 131
Joined: Sat Apr 06, 2019 5:28 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by 88Flak »

Yes, it seems to load almost completely and then dumps to the same error every time.
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

88Flak wrote: Fri Dec 09, 2022 11:25 pm Yes, it seems to load almost completely and then dumps to the same error every time.
from the error discription i would guess its a hero causing ur trouble. since it's working fine for me i have no way of helping u there.
u could test if it will load if u discard all ur heros and then narrow it down till u know who`s the culprit.

sorry but i'm very limited here.

sers,
Thomas
Nexus
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 66
Joined: Thu Aug 18, 2011 9:47 am

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Nexus »

Not sure if it has been mentioned before: In El Alamein (flanking) there is not enough deploy hexes to deploy all core ships. Is this intended?
DefiantXYX
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 588
Joined: Fri Aug 27, 2021 8:29 am

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by DefiantXYX »

Playing 1943 NH these days, amazing stuff I must say!

I am just wondering about some stuff. Looks like it is not made for limited stock feature. First time when I could upgrade tanks I no longer had any Panther D, so it did not work.
Later you can upgrade all your panther to E75 (?!), but it is not really an improvement. Tbh I changed them back to Tiger I / Panther A/D later.
In the first "air only" scenario vs the western allies I somehow feel that i might have missed some events. Could I got some early ME 262, like in AO 1943?
I can remember 1 or 2 script errors during some missions. What I mean is I got only FW 190a to fight against meteores and other stuff. This fighters can easily kill the Me163 you got there and the reinforcements (2x 109k) is kind of ridiculous :)

Right now I am in Sicilia. Looks like I cant put E75/E100 into ships, not sure if this is intended.
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

Nexus wrote: Sat Dec 10, 2022 8:42 am Not sure if it has been mentioned before: In El Alamein (flanking) there is not enough deploy hexes to deploy all core ships. Is this intended?
u should be able to deploy ur sups, the carrier and the capital ships plus 2 destroyers.

sers,
Thomas
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

DefiantXYX wrote: Sat Dec 10, 2022 4:39 pm Playing 1943 NH these days, amazing stuff I must say!

I am just wondering about some stuff. Looks like it is not made for limited stock feature. First time when I could upgrade tanks I no longer had any Panther D, so it did not work.
Later you can upgrade all your panther to E75 (?!), but it is not really an improvement. Tbh I changed them back to Tiger I / Panther A/D later.
u can upgrade the panther to E50, the tigers can become E75. If u want to switch them back, thats fine. maybe u noticed the (P) behind their names. they will upgrade to better versions later when the campaign continues.
Stats wise all E-Series tanks have superior fire power to the tank they upgrade from, but less ground defense. Do not understimate the Evasive trade. It's like a 6th star when it comes to defense.
DefiantXYX wrote: Sat Dec 10, 2022 4:39 pm In the first "air only" scenario vs the western allies I somehow feel that i might have missed some events. Could I got some early ME 262, like in AO 1943?
I can remember 1 or 2 script errors during some missions.
During Voronezh u can get up to 3 Me262. 1 for free and the other 2 with pilots.
DefiantXYX wrote: Sat Dec 10, 2022 4:39 pm What I mean is I got only FW 190a to fight against meteores and other stuff. This fighters can easily kill the Me163 you got there and the reinforcements (2x 109k) is kind of ridiculous :)
ur job is not to shoot down enemy fighters over Rome. ur job is to protect the depots. Shooting down planes will do u no good, since they instant repop all the time.
DefiantXYX wrote: Sat Dec 10, 2022 4:39 pm Right now I am in Sicilia. Looks like I cant put E75/E100 into ships, not sure if this is intended.
Both are superheavy vehicles. they can't be put on sea transports.

sers,
Thomas
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

update 10.12.22:
please use this link until tpoo updated the first post.
https://www.mediafire.com/file/ja3fqdgs ... 2.zip/file

changes:
General
Kradschützen43 are available from 01.01.43

Preludes
fuel has been removed and set to unlimited since it is causing too many issues
Limit stock has been set for all scenarios

1939
Warschau north
italiens have been replaced by polish infantrie

Warschau south
italiens have been replaced by polish infantrie

Lillehammer
If u find Oberleutnant Horstman and repair his tank for 500 prestige they will join your core

1940
TheHague
Objectives pop up corrected


Sedan
error message removed


reims
Bürger portrait fixed

AC
Mareth Line
US and British units will no longer fight each other

1941
Smolenks
on turn 2 2 Battalions Blaue Division will join your core

1943NH
novo1
unlimited amounts of brigata paragutisti, iraq kava and azuls can be upgraded to 43 version

Lybia
airfield moved to prevent unwanted interaction with reserve hex

Tunesia
script error fixed

Operation Avalanche
Schleiple script fixed
Objective script fixed

Operation Hinterhalt
new grenadier/schützenpanzer-unit will have fuel when switching from grenadier to tank

please keep reporting any issues u encounter, this helps alot. thx.

If u have the time, please play the preludes and let me know how u like the changes with limited supplies and stock.

This is the last update for this year unless something mayor broke.

sers,
Thomas
88Flak
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 131
Joined: Sat Apr 06, 2019 5:28 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by 88Flak »

I'll do some testing to see if I can find the issue. Doesn't sound good though.

Another odd thing happened during my game. The Me 262's did not show up in the Voronezh scenario. Didn't get the script that they were coming either. Plenty of prestige, but don't remember how many commendation points I had. The first one is free so it shouldn't matter. I made sure to have 3 openings at the airfield.

I'll replay through turn 4 and if it happens again, I'll go back and replay Stalingrad and then try it again.
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1919
Joined: Mon Aug 04, 2014 10:07 pm

Re: Grand Campaign 1939-1945 (Custom Campaign)

Post by Grondel »

88Flak wrote: Sat Dec 10, 2022 5:52 pm I'll do some testing to see if I can find the issue. Doesn't sound good though.

Another odd thing happened during my game. The Me 262's did not show up in the Voronezh scenario. Didn't get the script that they were coming either. Plenty of prestige, but don't remember how many commendation points I had. The first one is free so it shouldn't matter. I made sure to have 3 openings at the airfield.

I'll replay through turn 4 and if it happens again, I'll go back and replay Stalingrad and then try it again.
in any case on turn 2 u should get the opportunits to get at least 1 Me262. i just checked the script and it works fine for me.

sers,
Thomas
Post Reply

Return to “Panzer Corps 2 Scenario Design”