Strategy Overlay: AND flavor

martix

Chieftain
Joined
Mar 14, 2010
Messages
49
Might be worthwhile to update this component in some future release - what with the larger cities and all.
Also, I think it's supposed to be able to do much more than just place city outlines(at least in some versions I've been looking at) - like drawing while zoomed in, placing all sorts of makers and signs around, etc.

In the mean time, here's a quick fix for AND's larger cities:

Find your CvStrategyOverlay.py file and open it up and change this:
Code:
self.BFC_OFFSETS = []
		for x in range(-2, 3):
			for y in range(-2, 3):
				if abs(x) != 2 or abs(y) != 2:
					self.BFC_OFFSETS.append((x, y))
to this:
Code:
self.BFC_OFFSETS = []
		for x in range(-3, 4):
			for y in range(-3, 4):
				if abs(x) < 2 or abs(y) < 2 or (abs(x) == abs(y) and abs(x) != 3):
					self.BFC_OFFSETS.append((x, y))
 
Top Bottom