Scripted Governors

gerth6000

Chieftain
Joined
May 25, 2004
Messages
13
Location
Denmark
All my cities usually get the same Improvements, so managing the build queue becomes a big time consuming (point of annoying) part of the game, so I'd like to script my own Governors.

For instance:

if (! thiscity.hasBuilding(ciGranary))
{
thiscity.build(ciGranary);
}

if ((thiscity.size>=6) && (thiscity.food.surplus>=2))
{
thiscity.build(ciAquaduct);
}

if ((thiscity.corruption>=.20) && (thiscity.tax.revenue>=6))
{
thiscity.build(ciCourtHouse);
}

if (thisciv.haswonder(gwSmithTrading))
{
thiscity.build(ciMarketPlace);
thiscity.build(ciHarbor);
thiscity.build(ciBank);
thiscity.build(ciCommercialDock);
thiscity.build(ciStockExchange);
thiscity.build(ciAirport);
}
 
I think I'll script everything and sit back and play something else while my scripts beat Civ4. Cool!

Doesn't sound like a feature that's useful for the non-programmer majority of players though.
 
warpstorm said:
I think I'll script everything and sit back and play something else while my scripts beat Civ4. Cool!

Doesn't sound like a feature that's useful for the non-programmer majority of players though.

But you could make some standard scripts (which the smart beta-testers do) and you could exchange scripts.
Could save you a lot of micro-managing time...
 
God knows I'd use this more than anyone.

But in the back of my head, I see Civ then developing into a game of who has the best scripts... and people downloading and trading the same scripts, until it's just not fun anymore.

(But people choose to do this all the time in other games. And people choose not to. Believe it or not, people actually want to have fun, and won't take it too far.)
 
You could save some scripting by making a full list of buildable improvement and allow the player to checkbox what should be built and what not - and have a couple of dropboxes to clarify when and why each should be built. Same effect but probably easier for most.

And about Civ becoming a make-the-best-script game. I wouldn't want to be able to script each and every thing in there... But on the other hand scripting those Workers might be nice too :-P
 
warpstorm said:
I think I'll script everything and sit back and play something else while my scripts beat Civ4. Cool!
Well it opens up the possibility of fan made AI scripting. So fanatic Civ player could compete in making the best AI. If Firaxis cannot make intelligent AI, some hard core gamers probably could :-)
 
yes, I ADORE the idea of scripting, as a programmer myself, I think Civ4 could have an executable programmed by the game developers and automatic-do files written by us.
I think the true power of this approach would be unleashed by the modders.
 
Back
Top Bottom