View Full Version : Preventing AI from choosing "No State Religion"


Matty R
Aug 29, 2007, 11:56 AM
Could anyone help me change the Python files to prevent AI civs from choosing "No State Religion"? As soon as 3 or 4 of the most advanced civs stop using a state religion, all hell breaks loose and its ruining my end games. I still want them to have state religions though.

Any help would be much appreciated. :)

Zebra 9
Aug 29, 2007, 02:55 PM
Well the only thing I can think of would be to change the CvEventManager.py so when a civ adopts no state it sets them to thier last state religion.

Matty R
Aug 29, 2007, 04:33 PM
Well the only thing I can think of would be to change the CvEventManager.py so when a civ adopts no state it sets them to thier last state religion.

OK thanks. I'll have a mess around with it and see what I can get. :)

Vrenir
Aug 29, 2007, 04:58 PM
Or you could just reduce the AI value for the Free Religion civic, then fewer of them would automatically choose it when it became available to them.

Matty R
Aug 30, 2007, 02:24 PM
Or you could just reduce the AI value for the Free Religion civic, then fewer of them would automatically choose it when it became available to them.

Would that be in the Python files? I've searched through but can't find anything about civics.