Questions for Grondel

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

Moderator: Panzer Corps 2 Moderators

Post Reply
charge62
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 94
Joined: Fri Nov 09, 2012 12:05 am

Questions for Grondel

Post by charge62 »

Hi Grondel,

I've been experimenting with custom heroes, repurposing existing unreal assets.

1. Umlauts don't seem to work with custom hero names. Is this correct?

2. When giving a hero a defensive bonus (hard) it shows up in the game as air. Have you run into this?
Example: hero.defense_modifiers = {{type = TargetType.Hard, mod = 2}} >> This gives +2 Air Defense.

3. Do you know why anti-aircraft units can build toward an anti-infantry veteran, but not anti-air veteran? (Anti-air veteran makes more sense to me.)

Thank you.
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1954
Joined: Mon Aug 04, 2014 10:07 pm

Re: Questions for Grondel

Post by Grondel »

charge62 wrote: Sat Dec 30, 2023 9:30 pm Hi Grondel,

I've been experimenting with custom heroes, repurposing existing unreal assets.

1. Umlauts don't seem to work with custom hero names. Is this correct?
LUA doesn´t know them, they turn into "??".
charge62 wrote: Sat Dec 30, 2023 9:30 pm 2. When giving a hero a defensive bonus (hard) it shows up in the game as air. Have you run into this?
Example: hero.defense_modifiers = {{type = TargetType.Hard, mod = 2}} >> This gives +2 Air Defense.
There is no "hard-defense" in the game. only "Ground", "Air" and "Close". Be happy this didn´t cause unreal crashes. :)
Example:hero.defense_modifiers = {{type = DefenseType.Ground, mod = 3}}
charge62 wrote: Sat Dec 30, 2023 9:30 pm 3. Do you know why anti-aircraft units can build toward an anti-infantry veteran, but not anti-air veteran? (Anti-air veteran makes more sense to me.)
Afaik only aircraft can have anti-air bonus. This is a question u need to ask the guy who was in charge of the Unit-Awards.
If u manage to get them to answer u let me know, i have some questions, too.

sers,
Thomas
charge62
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 94
Joined: Fri Nov 09, 2012 12:05 am

Re: Questions for Grondel

Post by charge62 »

Thanks Thomas.

1. Umlauts seem like an oversight as they work with non-custom heroes.
2. That is exactly what I was looking for.
3. I'll ask on the general board and hope. Will let you know if I get an answer.

Happy New Year!
Grondel
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1954
Joined: Mon Aug 04, 2014 10:07 pm

Re: Questions for Grondel

Post by Grondel »

charge62 wrote: Sun Dec 31, 2023 3:35 am 1. Umlauts seem like an oversight as they work with non-custom heroes.
none custom heros are created by unreal engine/c++, not LUA. Those know them. :)

"ß" is not know to LUA as well and has the same result.

sers,
Thomas
Post Reply

Return to “Panzer Corps 2 Scenario Design”