Register666666
Warlord
- Joined
- Jun 1, 2006
- Messages
- 131
The latest: Version 2.08.
At least I still think its the latest version.
At least I still think its the latest version.
Btw I get a
TXT_KEY_WW2_EVENT_VICTORY
TXT_KEY_WW2_EVENT_DEFEAT_CIV
error.
That's exactly the same problem I have. I'm also using Vista. I tried the latest version of the Genetics Era Mod (0.8) and it wouldn't even load. I tried the same mod on my XP hard drive and it worked just fine. I haven't tried this scenario on XP, but I suspect it will work fine there as well. I think Windows Vista is the prime suspect. I've never had problems in the past with mods, though. Maybe one of the latest Vista updates broke something...
That's exactly the same problem I have. I'm also using Vista. I tried the latest version of the Genetics Era Mod (0.8) and it wouldn't even load. I tried the same mod on my XP hard drive and it worked just fine. I haven't tried this scenario on XP, but I suspect it will work fine there as well. I think Windows Vista is the prime suspect. I've never had problems in the past with mods, though. Maybe one of the latest Vista updates broke something...
I plopped my old XP hard drive back into my notebook and fired up this scenario because I really wanted to try it. And I'm glad I did! My fear was that it would be like so many other scenarios with 100's of units and cities to start with and no idea with what to do with them all. Kudos for not doing that.
def displayVictoryPopup( self, strText ):
"""Displays a pop-up message with strText as message."""
popup = PyPopup.PyPopup()
popup.setHeaderString( localText.getText("TXT_KEY_WW2_EVENT_VICTORY", ()) )
popup.setBodyString( localText.getText(strText, ()) )
popup.launch()
def defeatCheck(self, iPlayer):
"""Display a message if a human player has been defeated."""
if gc.getGame().getActivePlayer() == iPlayer:
strPlayerAdj = gc.getPlayer(iPlayer).getCivilizationAdjective(2)
strAllies = ''
if self.isPlayerAxis(iPlayer):
if ( iPlayer != iJapanese and gc.getPlayer(iJapanese).isAlive() ):
strAllies += gc.getPlayer(iJapanese).getCivilizationShortDescription(2)
if self.isPlayerAllies(iPlayer):
if ( iPlayer != iBritish and gc.getPlayer(iBritish).isAlive() ):
strAllies += gc.getPlayer(iBritish).getCivilizationShortDescription(2)
if ( iPlayer != iAmericans and gc.getPlayer(iAmericans).isAlive() ):
if strAllies == '':
strAllies += gc.getPlayer(iAmericans).getCivilizationShortDescription(2)
else:
strAllies += ' ' + localText.getText("TXT_KEY_AND", ()) + gc.getPlayer(iAmericans).getCivilizationShortDescription(2)
if ( iPlayer != iChinese and gc.getPlayer(iChinese).isAlive() ):
if strAllies == '':
strAllies += gc.getPlayer(iChinese).getCivilizationShortDescription(2)
else:
strAllies += ' ' + localText.getText("TXT_KEY_AND", ()) + gc.getPlayer(iChinese).getCivilizationShortDescription(2)
popup = PyPopup.PyPopup()
popup.setHeaderString( localText.getText("TXT_KEY_WW2_EVENT_VICTORY", ()) )
popup.setBodyString( localText.getText("TXT_KEY_WW2_EVENT_DEFEAT_CIV", (strPlayerAdj, strAllies)) )
popup.launch()