New Custom Hero

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

Moderator: Panzer Corps 2 Moderators

SirAllan
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 285
Joined: Thu Nov 03, 2016 5:24 pm

New Custom Hero

Post by SirAllan »

Hi all your clever people making mods.

I have a question to any of you - How can I create my own custom Hero and ad him/her to any given scenario/campaign ?

Im total newbee in this so I need an in debt and detailed explanation :wink:
tpoo
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 177
Joined: Fri Dec 30, 2011 6:27 pm

Re: New Custom Hero

Post by tpoo »

You create the hero and the specs in a LUA file and a trigger in the PanzerCorp editor. If you want a custom portrait for the hero and there is none in the PanzerCorps 2 folder for that person you can create the custom portrait with Unreal Editor (an app downloadable for free) using an existing jpg, png type file.
SirAllan
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 285
Joined: Thu Nov 03, 2016 5:24 pm

Re: New Custom Hero

Post by SirAllan »

Ok and where do I find that LUA file?
tpoo
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 177
Joined: Fri Dec 30, 2011 6:27 pm

Re: New Custom Hero

Post by tpoo »

SirAllan wrote: Mon Nov 01, 2021 8:52 am Ok and where do I find that LUA file?
You have to create the LUA file with a program like Notepad++. You basically reverse engineer one of the existing LUA files from the campaigns. There are several examples of heroes that are created throughout the DLC's. If you are more specific about what you are going to do I could show you how to do it.
SirAllan
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 285
Joined: Thu Nov 03, 2016 5:24 pm

Re: New Custom Hero

Post by SirAllan »

I would like to create The Pz Hero Michael Wittmann - it could be awesome if there was some traits we could choose from like the ones in AO 1941 and 1942
tpoo
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 177
Joined: Fri Dec 30, 2011 6:27 pm

Re: New Custom Hero

Post by tpoo »

SirAllan wrote: Mon Nov 01, 2021 3:36 pm I would like to create The Pz Hero Michael Wittmann - it could be awesome if there was some traits we could choose from like the ones in AO 1941 and 1942
If you check out our Grand Campaign(1939 to 1945) mod and go to the LUA files for GC1939 we create Michael Wittman as a recon hero in the Bydgoszc scenario. We give him traits at this time to represent his function at the time. In GC1941 in the Metaxas Line scenario we retire the old Wittman hero and promote him by creating a new hero that is an artillery specialist. In GC1943 when released he will be promoted again.
SandroB
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 18
Joined: Mon Nov 01, 2021 9:26 pm

Re: New Custom Hero

Post by SandroB »

There is also a user made campaign with many new heros. Perhaps you can download it or/and take a look at posted players videos to see the details.

https://www.youtube.com/watch?v=Tb6w3Dm8tLQ&t=2101s
https://www.youtube.com/watch?v=igDXv78ljYU&t=2015s

download of this stuff I found here:
https://www.file-upload.net/download-14 ... 6.zip.html

Hopefully I could help you :) ....
SirAllan
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 285
Joined: Thu Nov 03, 2016 5:24 pm

Re: New Custom Hero

Post by SirAllan »

tpoo and Sandro thx for your help - I will certainly do that :D
SandroB
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 18
Joined: Mon Nov 01, 2021 9:26 pm

Re: New Custom Hero

Post by SandroB »

SirAllan wrote: Wed Nov 03, 2021 5:44 am tpoo and Sandro thx for your help - I will certainly do that :D
Yes - but now after v1.02.01 Update today this user campaigns no more run with the correct heros - they created a new system for the Lua heros.
Why they destroy this nice user made work ?
SirAllan
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 285
Joined: Thu Nov 03, 2016 5:24 pm

Re: New Custom Hero

Post by SirAllan »

Damn good question
jeannot le lapin
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 827
Joined: Sun Dec 10, 2017 3:29 pm

Re: New Custom Hero

Post by jeannot le lapin »

These are things that happen with the updates, so you have to update the mod to make it compatible again. This is part of the risks of the "business" of modder...
SandroB
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 18
Joined: Mon Nov 01, 2021 9:26 pm

Re: New Custom Hero

Post by SandroB »

jeannot le lapin wrote: Sat Nov 06, 2021 6:37 am These are things that happen with the updates, so you have to update the mod to make it compatible again. This is part of the risks of the "business" of modder...
Its no more possible with the new exe I think. they dont like advanced modding, we have to play only the DLCs. So actually PC2 is a game without any advanced modding community. After 1,5 years from the release PC1 had an immersive modding stuff for new units, paramenters, audio briefings, etc. In PC2 for now there is nothing.....
jeannot le lapin
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 827
Joined: Sun Dec 10, 2017 3:29 pm

Re: New Custom Hero

Post by jeannot le lapin »

PzC2 is a much more complex game than PzC1 so more difficult to modd.
SandroB
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 18
Joined: Mon Nov 01, 2021 9:26 pm

Re: New Custom Hero

Post by SandroB »

jeannot le lapin wrote: Sat Nov 06, 2021 7:25 am PzC2 is a much more complex game than PzC1 so more difficult to modd.
Thats right - but what you dont understand is, that there were some guys to mod PC2 - but the developers have locked that with the new exe. Is it ringing for you now ?
jeannot le lapin
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 827
Joined: Sun Dec 10, 2017 3:29 pm

Re: New Custom Hero

Post by jeannot le lapin »

I’m sorry, but I don’t know
SandroB
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 18
Joined: Mon Nov 01, 2021 9:26 pm

Re: New Custom Hero

Post by SandroB »

jeannot le lapin wrote: Sat Nov 06, 2021 7:50 am I’m sorry, but I don’t know
Image
jeannot le lapin
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 827
Joined: Sun Dec 10, 2017 3:29 pm

Re: New Custom Hero

Post by jeannot le lapin »

It does not seem abnormal to me that there are protection systems in commercial(or not) software.

R.png
R.png (437.69 KiB) Viewed 2148 times
Linai
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 48
Joined: Sun May 29, 2011 9:15 pm

Re: New Custom Hero

Post by Linai »

There's only one person in the entire world who makes a new acccount, immediately starts talking about modding, and also immediately starts insulting people

Get lost HBalck, you're unwanted as you have ever been
SandroB
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 18
Joined: Mon Nov 01, 2021 9:26 pm

Re: New Custom Hero

Post by SandroB »

Linai wrote: Sat Nov 06, 2021 10:31 am There's only one person in the entire world who makes a new acccount, immediately starts talking about modding, and also immediately starts insulting people

Get lost HBalck, you're unwanted as you have ever been
I am not HBalck, but I like to play his stuff - far more advanced than most in this forum !
jeannot le lapin
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 827
Joined: Sun Dec 10, 2017 3:29 pm

Re: New Custom Hero

Post by jeannot le lapin »

SandroB wrote: Thu Nov 04, 2021 5:14 pm
SirAllan wrote: Wed Nov 03, 2021 5:44 am tpoo and Sandro thx for your help - I will certainly do that :D
Yes - but now after v1.02.01 Update today this user campaigns no more run with the correct heros - they created a new system for the Lua heros.
Why they destroy this nice user made work ?
What has been "destroyed" ?
Post Reply

Return to “Panzer Corps 2 Scenario Design”