Error323/E323AI

Remove hardcoded tech level limit

Closed this issue · 4 comments

Remove hardcoded tech level limit.

Sorry, what does that mean?
I guess that means just 'follow current techup strategy' - is it?

That means we need to analyze the hole build tree & detect top tech level value. Currently it is hardcoded to 3. But some games have 4 tech levels, some have plain techtree.

For easy implementation i think we will add 2 more tags: TECH4 & TECH5. And then we just have to detect max techlevel from categorization file & tweak config readings because of minGroupSizeTech keys. I don't want to remove techlevel flags from CUnitType::cats property. It can be useful in future.

Somewhat fixed in 3.21.2. I won't mess with dynamic tech levels. If smb with hot heart wanna fix this, then reopen this issue.