Formulapower
Warlord
- Joined
- Nov 5, 2007
- Messages
- 148
I was doing some modding of the XML files and came across this Default_UnitAI parameter in the civ4unitinfos file. Most of these make since....city defense...attack city....etc etc but I have a question about the meaning of a few
UNITAI_CITY_SPEICAL???
UNITAI_CITY_COUNTER???
UNITAI_RESERVE/UNITAI_RESERVE_SEA???
2
Also....what is the difference between the UNITAI_Assault_Sea and the UNITAI_Attack_Sea??
3
Their is also an entry in this same file that reads UnitsAIs and then it may list several of these AI options with a command allowing the AI to use different settings based on what is needed....If I change the bUnitAI from 1 to 0 does that mean the AI will never use the coresponding AI Setting?
For example...lets say units that don't get defensive bonuses like tanks and cavalry get bUnitAI=0 for UNITAT_CITY_DEFENCE Does that mean they will NEVER go into a city to defend it??
thanks for any help I can get
UNITAI_CITY_SPEICAL???
UNITAI_CITY_COUNTER???
UNITAI_RESERVE/UNITAI_RESERVE_SEA???
2
Also....what is the difference between the UNITAI_Assault_Sea and the UNITAI_Attack_Sea??
3
Their is also an entry in this same file that reads UnitsAIs and then it may list several of these AI options with a command allowing the AI to use different settings based on what is needed....If I change the bUnitAI from 1 to 0 does that mean the AI will never use the coresponding AI Setting?
For example...lets say units that don't get defensive bonuses like tanks and cavalry get bUnitAI=0 for UNITAT_CITY_DEFENCE Does that mean they will NEVER go into a city to defend it??
thanks for any help I can get