Modding Help

J. pride

King
Joined
Feb 23, 2011
Messages
788
Can somebody help with two things: (DOC and Synthesis related)

1) Is it possible to make it impossible for an Ai to settle a certain tile. If so how? ( I already tried changing CvRhyes but to no avail).

2) Is it possible to include certain regions as core area for a civ for a certain time period? Also what kind of impact would it have on the Ai if another civ or indies were on its core area? (I want to this in an attempt to make certain civs expand more effectively- Byzantine, Persia, Mongols, Arabs and Romans)

For that matter is there any way to make the AI more likely to conquer certain territories?

Thank You! Help appreciated
 
1) CvRhyes.cpp is the right place. The AI definitely doesn't settle tiles with a value of 3 (used by Rhye to block areas).

2) The variables determining the size of the core are constants (that's why they're in Consts.py), so even if you'd modify them during the game these changes wouldn't be saved. You could of course transfer the core area variables to the dictionary in StoredData.py, but that would need massive adaptations in the rest of the code (at least I can't think of a way to circumvent that).

AI civilizations are automatically at war with independents that own cities in their core. It doesn't affect their behaviour towards the proper civs as far as I know, though. Mind that every civilization gets stability penalties for cities in their core they don't own.

You can only influence how often and on whom the AI declares war (using the warmaps in AIWars.py), but not which cities they're going after.
 
1) CvRhyes.cpp is the right place. The AI definitely doesn't settle tiles with a value of 3 (used by Rhye to block areas).

Ok so whenever i change the values it wont let me save it with the same format instead it asks me to save it as.

Btw: How did you solve the problem of Arabs settling Al-Kuwait; did you also lower the values because i converted ur files in synthesis so that the Arab settlers spawn in Baghdad but they still settle in Arabia
 
It sounds like you're only changing and saving the cpp files, which isn't enough. You need to recompile the DLL after you've changed them.

The whole Arabian peninsula has settler values of 400, I've lowered that to 300 (except for important places like Oman) which seems to be sufficient to make them focus on different regions instead.
 
Back
Top Bottom