Page 1 of 1
Questions for Grondel
Posted: Sat Dec 30, 2023 9:30 pm
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.
Re: Questions for Grondel
Posted: Sun Dec 31, 2023 2:46 am
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
Re: Questions for Grondel
Posted: Sun Dec 31, 2023 3:35 am
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!
Re: Questions for Grondel
Posted: Sun Dec 31, 2023 5:40 am
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