Cybah
Emperor
- Joined
- Jun 22, 2007
- Messages
- 1,481
We should not compare cavalry to infantry.
We should teach the AI NOT to build macemen anymore when riflemen are available or even grenadiers.
We should teach the AI NOT to build any cavalry anymore when tanks are available.
BUT
If the AI has enough gold to immediately upgrade the new built units of older types (like maceman -> rifleman) the AI may continue building of worse units.
BUT
Then the AI has to check 3 things:
1. Is it possible to upgrade the unit?
2. Do I have enough gold for upgrading?
3. and this is important: What's the "building costs/power" - unit value?
The AI should NEVER build a maceman when a grenadier or rifleman would take the same amount of time to be built in that city (like: 1 round for all units -> always the best unit should be built.)
We should teach the AI NOT to build macemen anymore when riflemen are available or even grenadiers.
We should teach the AI NOT to build any cavalry anymore when tanks are available.
BUT
If the AI has enough gold to immediately upgrade the new built units of older types (like maceman -> rifleman) the AI may continue building of worse units.
BUT
Then the AI has to check 3 things:
1. Is it possible to upgrade the unit?
2. Do I have enough gold for upgrading?
3. and this is important: What's the "building costs/power" - unit value?
The AI should NEVER build a maceman when a grenadier or rifleman would take the same amount of time to be built in that city (like: 1 round for all units -> always the best unit should be built.)