Setting Amount of Advanced Start Points

deanej

Deity
Joined
Apr 8, 2006
Messages
4,859
Location
New York State
I'm making a mod where advanced start is the default option. However, when I use the "Play Now" button, I start the game with no advanced start points and can't do anything except found a city (where I then go negative). The game hangs after that. Is there a way where I can get around that with python?

EDIT: I also noticed that NONE of my code in onGameStart is working. Why is that? I don't want the modern era starting in 3800 BC!
 
you can try CyGame().setNumAdvancedStartPoints(nbPoints) (just read this function in CvPythonExtensions.hlp.txt and not tested) . i can't help you with the onGameStart , but i think i've done some changes with advanced start that have been taken in count .

Tcho !
 
Hmm... when I tried to see what would happen if I tried a standard game with no settings changes, I discovered that the Dawn of Man screen isn't being displayed! How could this be? There's nothing in my code that should be visible to the end user - or, for that matter, anyone, as the actual code isn't written yet - all I've done is declare the methods and put a pass statement in them!
 
Back
Top Bottom