Tobi72 wrote: ↑Sun Aug 10, 2025 3:48 pm
I have a question—perhaps you know the answer. How can I make it so that the hero portraits of soldiers or pilots from Nationalist Spain are displayed? In other words, how should I label these hero portraits?Screenshot 2025-08-10 174606.png
To appear as a random hero, you need to add them to the list in the heroes.pzdat file (data folder)
Here is an example of the random heroes for the Polish campaign:
All in the same file, you should add first and last names
6 Jan
6 Piotr
6 Tomasz
6 Nowak
6 Kowalski
6 Wiśniewski
And then the specific photographs
6 0 -1 polish_ground1.png
6 0 -1 polish_ground10.png
6 0 -1 polish_ground2.png
6 0 -1 polish_ground3.png
6 1 -1 polish_air1.png
6 1 -1 polish_air2.png
6 1 -1 polish_air3.png
6 1 -1 polish_air4.png
It's pretty easy, in that file you can browse the make-up for all those names and pictures and army branch, faction,... initially entered for the vanilla campaigns.
If you want assign a hero to a specific unit with a historical correct name/picture: shift-left click the unit, chose heroes and fill in the required data. For example name: Nikivdd, image: Nikivdd.png and the other boxes are pretty obvious.
The pictures themselves go into the UI\heroes folder
Hope this helps.