AI Unit building

silverjaded

Chieftain
Joined
Jul 20, 2007
Messages
21
Hi, what tag makes the AI want to build a unit?
 
Everything in civV works off flavors. For units, this is the <Unit_Flavors> table

The best way to find these things out is to look through the game's base files, in addition to getting a good search utility such as Agent Ransack
 
Thanks, the AI now builds the unit but it's spamming it.
What is the best value to set for <Flavor>?
 
If making a Unique Unit, I usually just copy the flavours of the unit it replaces. If not, I suppose you could copy the flavours of similar units (E.g. same prereqTech, UnitCombatType, etc.)
 
Back
Top Bottom