(Civ 5) Modding personality of city states

Mr_Wii

Chieftain
Joined
Apr 5, 2017
Messages
2
In the civ wiki, it says that the city states' personality (friendly hostile etc) are chosen randomly, but to my knowledge the vanilla CS have a scripted personality

Is there a way to code which personality my modded city states in advance aswell?

Moderator Action: Moved to main C&C forum as that is where questions go. leif
 
Last edited by a moderator:
MinorCivTrait defines whether they are Militaristic, Religious, Cultured, Maritime, or Mercantile.

Whether they are Friendly, Hostile, Insane (Erratic as I recall), etc., is a different issue so far as I am aware and not directly pre-determinable via Database code.
 
and not directly pre-determinable via Database code.

It's randomly generated within the DLL. I added a SetPersonality() Lua method.

It's also not used a great deal - the AI uses it when determining if the CS should be chosen for a gold gift, and it affects the types of quest the CS chooses, but that's pretty much it.
 
Top Bottom