Using LUA to determine extent of empire?

iamdanno

Warlord
Joined
Jan 16, 2012
Messages
196
Location
Oklahoma City, OK, USA
Has anyone used LUA to find the extents of a civ's empire? I had an idea while checking out an AI-only game. It would be nice if a MOD could be made that would start and end each turn by determining the breadth of each civ's empire, and then generating an image that incorporates the whole thing (or alternatively, a series of smaller images.).

Does that seem possible?
 
@OP, am I understanding correctly that you just want to re-draw a simplified version of the map (e.g. the civ boundaries) outside of the game (for example, in a PNG/Tiff file)?
 
@OP, am I understanding correctly that you just want to re-draw a simplified version of the map (e.g. the civ boundaries) outside of the game (for example, in a PNG/Tiff file)?

Yes (except actual in-game map imaging), like this:

1: Turn starts.
2. Find overall extents of player empire. (top left x,y to bottom right x,y).
3. Take screenshot (or make img that contains entire empire) & save to folder.
4. Player does whatever.
5. When player hits "End Turn", Repeat 2 & 3.
6. Next player's turn begins.


Basically, automatic imaging of status of empire before & after each turn.
 
Top Bottom