ruff_hi
Live 4ever! Or die trying
Arrggg - it seems I am initializing it multiple times and thus wiping out any stored dot maps. How do I check that I only initialize it once?
EF - thanks for your help with this. I kept on poking around the code and (according to my not very extensive testing) I have a version that works (see post 2 up).I'm out of ideas based on just this dialog. Did you add all the events from "Strategy Overlay.xml"? Post your latest code and I'll poke about. I don't have Civ4 on this computer so I cannot run it myself.
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))
for x in range(-3, 4):
for y in range(-3, 4):
if abs(x) != 3 or abs(y) != 3:
if abs(x) != 3 or abs(y) != 2:
if abs(x) != 2 or abs(y) != 3:
self.BFC_OFFSETS.append((x, y))