Page 1 of 1

questions about heroes.pzdat

Posted: Thu Feb 28, 2013 7:11 am
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

Re: questions about heroes.pzdat

Posted: Thu Feb 28, 2013 5:35 pm
by Rudankort
heroes.pzdat file is not used by the game, yet.

Re: questions about heroes.pzdat

Posted: Fri Mar 01, 2013 6:27 am
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 ?

Re: questions about heroes.pzdat

Posted: Fri Mar 01, 2013 9:37 am
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.

Re: questions about heroes.pzdat

Posted: Fri Mar 01, 2013 4:39 pm
by mautschi
Thank you ! :D

Re: questions about heroes.pzdat

Posted: Fri Oct 04, 2013 1:22 pm
by mautschi
mautschi wrote:What does "Branch" mean ?
:)

I guess:

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

?

Re: questions about heroes.pzdat

Posted: Sun Oct 06, 2013 4:40 am
by Rudankort
Your guess is right. :)

Re: questions about heroes.pzdat

Posted: Mon Oct 07, 2013 8:00 pm
by mautschi
Rudankort wrote:Your guess is right. :)
Thanks again ! :)

Re: questions about heroes.pzdat

Posted: Thu Oct 17, 2013 8:20 am
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!

Re: questions about heroes.pzdat

Posted: Thu Oct 17, 2013 11:21 am
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

Re: questions about heroes.pzdat

Posted: Thu Oct 17, 2013 1:23 pm
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!

Re: questions about heroes.pzdat

Posted: Fri Oct 18, 2013 8:55 am
by asuser
...It works!

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

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


Greetings!

Re: questions about heroes.pzdat

Posted: Sat Feb 27, 2016 11:17 pm
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.

Re: questions about heroes.pzdat

Posted: Sun Feb 28, 2016 9:48 am
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.