Not quite sure what you're aiming at...Where do i find the values to see if a plot is stable/normal/foreign/unstable?
I'm trying to make stability maps, like those in the wiki.Not quite sure what you're aiming at...![]()
But the Core Areas, Normal Areas and Broader Areas affect stability and these are defined in the Consts.py file. They're actually defined by the area's lower bottom tile coordinates, and the area's upper left tile coordinates, respectively. There are some exceptions defined in there also.
I'm still a little confused. Do the normal areas in const.py and CvRhyes.cpp cooperate in some way? The comment for 'normal area' in const says stability, but the maps are way more than a simple rectangle for some civs. On the other hand, Ukraine and southern Russia has relatively high values for Germany in CvRhyes (for the Volga Germans, which makes sense), but it's marked as unstable, which also makes sense for WWII.There are actually some different factors lumped into one final result. Either a tile is stable to you or not (this is determined by the tile's value in the maps in CvRhyes.cpp, the threshold is 90 iirc), and either it's in your core area, somebody else's core area or nobody's core area (which is in Const.py as Baldyr already said).
The colors in the stability maps are made up as follows:
Dark green: your core area, regardless if its stable for you or not (the latter is possible, for example for Russia)
Light green: tile is stable for you
Yellow: tile is stable for you, but in somebody else's core
Orange: tile is not stable for you
Red: tile is not stable for you and in somebody else's core
Normal areas are only used for respawns and a few other things that are not directly related to stability. The broader areas do something for the tile stability, but I don't know what exactly anymore ...I'm trying to make stability maps, like those in the wiki.
I'm still a little confused. Do the normal areas in const.py and CvRhyes.cpp cooperate in some way? The comment for 'normal area' in const says stability, but the maps are way more than a simple rectangle for some civs. On the other hand, Ukraine and southern Russia has relatively high values for Germany in CvRhyes (for the Volga Germans, which makes sense), but it's marked as unstable, which also makes sense for WWII.
Unless...the maps are out of date. Then i would wrack my head for nothing![]()
Don't know if the maps are outdated, but they were made before the last version of RFC. How did you find out they were wrong?
1) I'm not BaldyrI took the matrix in CvRhye.cpp, put it in a spread sheet and colored it with some conditional format (don't know the exact wording in the english open office). Yeah, boredom makes you do that.
Also, f.e. Egypt has a '3' in a lot of South America; i guess it reads that the AI should never ever settle there.