Can you change leader values?

Eusebius

Warlord
Joined
Feb 11, 2006
Messages
242
Location
Hopewell, NJ, USA
I'm considering a Mod where the personalities and traits of leaders change randomly whenever there is a revolution. Most of the codes I need are present in LeaderheadInfos, but I am getting the impression that those values cannot be changed from Python, only in XML for the course of an entire game.

For example, I would like to alter iMaxWarRand (chance that AI will start an unprovoked war) dymanically, rather than at the start of the game, but there is no method for doing that defined in the python reference.

Am I right about this, or is there another way?

Thanks,
Eusebius
 
I doubt there is another way, at least until the SDK, as all of the Cv*Info classes seem to be readonly.
 
Back
Top Bottom