questions about heroes.pzdat

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

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Post Reply
mautschi
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 47
Joined: Sun Jan 15, 2012 10:04 am

questions about heroes.pzdat

Post by mautschi »

What does "Branch" mean ? In which column a hero appear ?

And another one:


Is it possible to change the chance of appearance of a certain bonus by editing these numbers ?

Code: Select all

Attack	Defense	Initiative	Movement	Spotting	Range
0	10	20	30	40	50
Rudankort
FlashBack Games
FlashBack Games
Posts: 3836
Joined: Sat Aug 21, 2010 2:23 pm
Contact:

Re: questions about heroes.pzdat

Post by Rudankort »

heroes.pzdat file is not used by the game, yet.
mautschi
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 47
Joined: Sun Jan 15, 2012 10:04 am

Re: questions about heroes.pzdat

Post by mautschi »

Thanks a lot :)


So the distribution of air and ground heroes is hardcoded then ?

Is an option available to change the heroes names ?
Rudankort
FlashBack Games
FlashBack Games
Posts: 3836
Joined: Sat Aug 21, 2010 2:23 pm
Contact:

Re: questions about heroes.pzdat

Post by Rudankort »

mautschi wrote: So the distribution of air and ground heroes is hardcoded then ?
For now, yes. This will change when we release the first allied campaign.
mautschi wrote: Is an option available to change the heroes names ?
Hero names are in strings.pzdat file, and can be changed there.
mautschi
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 47
Joined: Sun Jan 15, 2012 10:04 am

Re: questions about heroes.pzdat

Post by mautschi »

Thank you ! :D
mautschi
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 47
Joined: Sun Jan 15, 2012 10:04 am

Re: questions about heroes.pzdat

Post by mautschi »

mautschi wrote:What does "Branch" mean ?
:)

I guess:

0 = ground units
1 = air units
2 = naval units

?
Rudankort
FlashBack Games
FlashBack Games
Posts: 3836
Joined: Sat Aug 21, 2010 2:23 pm
Contact:

Re: questions about heroes.pzdat

Post by Rudankort »

Your guess is right. :)
mautschi
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 47
Joined: Sun Jan 15, 2012 10:04 am

Re: questions about heroes.pzdat

Post by mautschi »

Rudankort wrote:Your guess is right. :)
Thanks again ! :)
asuser
Sergeant Major - SdKfz 234/2 8Rad
Sergeant Major - SdKfz 234/2 8Rad
Posts: 628
Joined: Tue May 28, 2013 8:48 pm

Re: questions about heroes.pzdat

Post by asuser »

Hello,

does anyone know how to mark naval units with naval heroes? According to the values (class?) in the eqp file for ground and air units it should be done for the naval units (somewhere) with the "special" flag to load the images of naval heroes?

Greetings!
Horst
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1927
Joined: Mon Feb 18, 2013 1:22 pm

Re: questions about heroes.pzdat

Post by Horst »

I've added my random Captain like this in heroes.pzdat:

Code: Select all

#Flag	Branch	Class	Image File
0			2			-1		CaptainIglo.png
I haven't tested it with Class, but I guess it should work too for only carriers (13), capital ships (12), destroyers/attack-boats (11), submarines (10) and river-boats (19) if you add the class code.

Image
Last edited by Horst on Thu Oct 17, 2013 2:22 pm, edited 1 time in total.
asuser
Sergeant Major - SdKfz 234/2 8Rad
Sergeant Major - SdKfz 234/2 8Rad
Posts: 628
Joined: Tue May 28, 2013 8:48 pm

Re: questions about heroes.pzdat

Post by asuser »

Hello Horst,

thank you for the help. Funny idea with captain Ig.. (is there a copyright problem?). After updating to patch 1.20 i just wondering about the additional values for US and British heroes. That means also with version 1.20 the heroes.pzdat file is now used by the game. I will try it with my new Italian Decima MAS units (Manned Torpedo and MTM Boat - look at the latest updates in the Guille thread).

Greetings!
asuser
Sergeant Major - SdKfz 234/2 8Rad
Sergeant Major - SdKfz 234/2 8Rad
Posts: 628
Joined: Tue May 28, 2013 8:48 pm

Re: questions about heroes.pzdat

Post by asuser »

...It works!

NavalHero01.png
NavalHero01.png (135.45 KiB) Viewed 3612 times

The values 0, 2, -1 are ok, the -1 for class define that it is used for all types of naval units.


Greetings!
Kolaris
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 183
Joined: Sat Feb 27, 2016 9:02 pm

Re: questions about heroes.pzdat

Post by Kolaris »

Rudankort wrote:
mautschi wrote: So the distribution of air and ground heroes is hardcoded then ?
For now, yes. This will change when we release the first allied campaign.
Did this ever come about? heroes.pzdat seems to be only for names and portraits now, and any weights or values for the stats of heroes seems to be absent.
Horst
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1927
Joined: Mon Feb 18, 2013 1:22 pm

Re: questions about heroes.pzdat

Post by Horst »

Changing random hero bonuses is unfortunately not possible with 1.25 in any pzdat file yet. I would love to do this too since ages.
Post Reply

Return to “Panzer Corps : Scenario Design”