tchristensen
Emperor
OK this may seem a bit silly, but with my new mod (which is not based on another mod) I am not seeing the start up "Dawn of Man" screen.
I am almost completely clueless about Python, even with the help of a number of people here.
I can look into CvEventManager.py and see references to the "Dawn of Man" popup but wonder why it doesn't appear on new games?
Is there some sort of switch somewhere in a xml to show or hide this? Isn't the popup a standard screen in the game?
Any help would be appreciated.
This is what I see in the .py:
Note: I think the reason the screen is not showing is because the game starts in the Renaissance Era?
Troy
I am almost completely clueless about Python, even with the help of a number of people here.
I can look into CvEventManager.py and see references to the "Dawn of Man" popup but wonder why it doesn't appear on new games?
Is there some sort of switch somewhere in a xml to show or hide this? Isn't the popup a standard screen in the game?
Any help would be appreciated.
This is what I see in the .py:
PHP:
def onGameStart(self, argsList):
'Called at the start of the game'
if (gc.getGame().getGameTurnYear() == gc.getDefineINT("START_YEAR") and not gc.getGame().isOption(GameOptionTypes.GAMEOPTION_ADVANCED_START)):
for iPlayer in range(gc.getMAX_PLAYERS()):
player = gc.getPlayer(iPlayer)
if (player.isAlive() and player.isHuman()):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_PYTHON_SCREEN)
popupInfo.setText(u"showDawnOfMan")
popupInfo.addPopup(iPlayer)
else:
CyInterface().setSoundSelectionReady(true)
Note: I think the reason the screen is not showing is because the game starts in the Renaissance Era?
Troy