Linkman226
#anarchy
- Joined
- Sep 14, 2007
- Messages
- 2,493
Different names when civs have different capitals. For example, "Duchy of Kiev" is one I'm throwing around in my head for a Russian capital in Kiev
Russian local polities usually had the style of Principality (Principality of Vladimir-Suzdal, Principality of Ryazan for example). The medieval state centered at Kiev has no historiographic name except that for its people (Kievan Rus).Different names when civs have different capitals. For example, "Duchy of Kiev" is one I'm throwing around in my head for a Russian capital in Kiev
Linkman, Im testing something out real quick. What would be the command in Rhyesandfall.py to spawn some units randomly from a given set of tiles:
if (iGameTurn == getTurnForYear(1040)):
whats next (the units or the random mechanic thingy)
if (iGameTurn == getTurnForYear(1040) and gc.getGame().getSorenRandNum(100, "") >= [iProbability]):
utils.makeUnit([con.iUnit], [con.iCiv], [tCoordinates], [number])
Russian local polities usually had the style of Principality (Principality of Vladimir-Suzdal, Principality of Ryazan for example). The medieval state centered at Kiev has no historiographic name except that for its people (Kievan Rus).
AI barley change their capitols
But players do (founding Kiev as your first city is actually a viable Russian strategy), and it's nice to add these kinds of easter eggs for them.
.The quotes in the parameters for getSorenRandNum can have anything in them really. I left them as an empty string for now. The rest should be self-explanatory, but (obviously) don't include brackets
This is a problem that's not completely figured out, but currently I assume it has to do with the fact that the unit AI of those invaders is set to CITY_ATTACK, and apparently doesn't change after a city is conquered. So they go elsewhere to conquer a city (even if that means going to China).3) After conquest of the territories the AI seems to send the troops "home" which means that the territories get conquered by barbarians; how would i solve this problem?