How to get Hartmann in 1943. without prerequisites?

A new story begins...
The sequel to a real classic: Panzer Corps is back!

Moderator: Panzer Corps 2 Moderators

Post Reply
Ezell
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Tue Sep 26, 2023 1:55 pm

How to get Hartmann in 1943. without prerequisites?

Post by Ezell »

I'm going through Axis operations doing only historical branches and I'm wondering if it's possible to cheat my way into recruiting Hartman in 1943. since I didn't complete any of the prerequisites (no invasion on UK in 1940. and no meteor/262 tokens).
Any way to make it happen?
Grondel
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1503
Joined: Mon Aug 04, 2014 10:07 pm

Re: How to get Hartmann in 1943. without prerequisites?

Post by Grondel »

Ezell wrote: Tue Sep 26, 2023 2:30 pm I'm going through Axis operations doing only historical branches and I'm wondering if it's possible to cheat my way into recruiting Hartman in 1943. since I didn't complete any of the prerequisites (no invasion on UK in 1940. and no meteor/262 tokens).
Any way to make it happen?
manipulate the trigger in the lua.

sers,
Thomas
VirgilInTheSKY
Captain - Bf 110D
Captain - Bf 110D
Posts: 892
Joined: Wed Dec 18, 2019 4:26 pm

Re: How to get Hartmann in 1943. without prerequisites?

Post by VirgilInTheSKY »

Add 5 Me262A Prototypes for yourself in the Kummersdorf 1943 scenario.
Ezell
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Tue Sep 26, 2023 1:55 pm

Re: How to get Hartmann in 1943. without prerequisites?

Post by Ezell »

Is there a cheat code for that or an editor?
Ezell
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Tue Sep 26, 2023 1:55 pm

Re: How to get Hartmann in 1943. without prerequisites?

Post by Ezell »

I managed to do it with a line of code in lua file.
Here's how if anyone needs help:
-before starting Kummersdorf scenario in 1943., open the Kummersdorf.lua file with notepad, file located at C:\Program Files (x86)\Steam\steamapps\common\Panzer Corps 2\PanzerCorps2\Content\Campaigns\AO1943East\03Kummersdorf1943
-locate this line in the file: AddEquipment(0, "Me163B", 18, Prototypes)
-add this new line below in the same format with same spacing: AddEquipment(0, "Me262A", 5, Prototypes)

What this does is that when you exchange commendations for Me163 prototype rocket fighter at the start of the scenario you also get 5 prototypes of Me262, and those Me262 will trigger everything else that's already coded in the game for this scenario and get you a squadron of Me262 and Eric Hartmann. :wink:
VirgilInTheSKY
Captain - Bf 110D
Captain - Bf 110D
Posts: 892
Joined: Wed Dec 18, 2019 4:26 pm

Re: How to get Hartmann in 1943. without prerequisites?

Post by VirgilInTheSKY »

Ezell wrote: Thu Sep 28, 2023 12:27 pm Is there a cheat code for that or an editor?
Use the editor to open the map, add "Me262A(5)" to the scenario parameter tab under Germany faction in Prototypes line, and it automatically adds 5 Me 262 Prototypes to your stock at the start of scenario, which is what it takes to trigger the event.
Post Reply

Return to “Panzer Corps 2”