Civup v2.3.1 & Gem v1.12.1 - SHOW_CITY_LIMITS not working

biship

Warlord
Joined
Dec 7, 2003
Messages
187
I have this enabled in options.sql, and started a new game.
Between turns the city 3 tile radius briefly flashes on the screen, but does not stay there.
 
Confirmed, I have this problem as well. If I pass a turn, the 3 tile radius appears until I move my mouse cursor on to a new tile (from the one it was sitting on when I pressed ENTER to pass the turn). If you are moving your mouse a great deal, the 3 tile border can appear to "flicker."

I could theorize that this has something to do with the code which intercepts mouseovers of cities to reveal the worked tiles (i.e. HIGHLIGHT_WORKED_CITY_TILES level 1), but I haven't examined the code to check.

edit:

CivUP 2.3.2
GEM 1.12.1
 
I have this enabled in options.sql, and started a new game.
Between turns the city 3 tile radius briefly flashes on the screen, but does not stay there.

sorry, I also have this problem and for someone like me who is a complete noob and has brain disability can you explain what this options.sql thing is... am I suppose to enable that somehow, and where do I find this thing....

any help would be appreciated... I just really am OCD and anal about trying to keep things within the 3 tile border and this helps, especially helps when I dont waste turns improving tiles the city cannot even work anyway....
 
Pretty sure the issue stems from the added checks to see if the selected unit is a settler. I didn't look that closely, but that seemed to be what was changed in the GEM version of CityLimits. I copy/pasted everything from the original CityLimits from below

cityPlots = {};
borderColor = Vector4( 0.98, 0.9, 0.55, 0.5 )

to the end of the file into the GEM version and it went back to working the way it used to. It shows the city limits when you select ANY unit now, of course, but I'm fine with that.
 
Welcome to the forums picklehead! :goodjob:

I'm investigating this right now.

Edit: I didn't notice anything strange with the file, and I'm not sure what the problem might be. I suspect there's a mistake with the way it places hex borders. I attempted to improve the citylimits mod last week, but moved on to other priorities after a few hours of work, which is why the file looks somewhat different.

The Civup version did not add checks for settlers; I changed the settler reference to a name instead of a hardcoded numeric unit ID (0). The problem is the CityLimits mod will break if the game ever inserts a unit before the settler in the unit table. The settler won't have the 0 ID anymore. This should not cause any problems with the current version of the game, but might have caused issues in the future.

I returned these tests back to the original code for Civup v2.4, and placed a SEP field around it. :crazyeye:
 
I was going to post a new thread to ask why the City Limits mod does not work with the latest CivUP, then came across this thread. (The CityLimits mod shows city boarders, and highlights intersecting tiles when a settler is selected).

City Limits works with civup v2.0.45, but not with v2.3.2 (I am running with Steam on Mac OSX).

I guess CityLimits is redundant with SHOW_CITY_LIMITS set to 1.
 
Back
Top Bottom