Page 1 of 1

How to get Hartmann in 1943. without prerequisites?

Posted: Tue Sep 26, 2023 2:30 pm
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?

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

Posted: Tue Sep 26, 2023 4:02 pm
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

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

Posted: Tue Sep 26, 2023 10:35 pm
by VirgilInTheSKY
Add 5 Me262A Prototypes for yourself in the Kummersdorf 1943 scenario.

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

Posted: Thu Sep 28, 2023 12:27 pm
by Ezell
Is there a cheat code for that or an editor?

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

Posted: Thu Sep 28, 2023 2:59 pm
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:

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

Posted: Fri Sep 29, 2023 12:23 am
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.