Thank you very much!
Shouldn't it be:
Quote:
if (self.Pirates or self.China)
?
You can use both variants. Doesn't matter.
Thank you very much!
Shouldn't it be:
Quote:
if (self.Pirates or self.China)
?
if (sdGetVal('komaScreens', player.getName(), 'ThisWinter') == 1) and (not (self.China)):
#screen.addDDSGFC("EuropeScreenBackgroundWinter", ArtFileMgr.getInterfaceArtInfo("INTERFACE_EUROPE_IN_BOUND_BOX").getPath(), 0, 0,
self.XResolution, self.YResolution, WidgetTypes.WIDGET_GENERAL, -1, -1 )
screen.changeDDSGFC ("EuropeScreenBackground", ArtFileMgr.getInterfaceArtInfo("INTERFACE_EUROPE_IN_BOUND_BOX").getPath())
Koma it didn't work.
... but didn't like it! So I use player.getCivilizationType() == gc.getInfoTypeForString("CIVILIZATION_CHINA"):
I don't get why this does not happen for pirates. I must have a mistake!
self.CREDITS = localText.getText("[COLOR_YELLOW]Europe Screen[COLOR_REVERT] (Release [COLOR_HIGHLIGHT_TEXT]4.1[COLOR_REVERT] AOD2)[NEWLINE]", ((),""))
self.CREDITS += localText.getText("by [COLOR_YELLOW]koma13[COLOR_REVERT], [COLOR_YELLOW]kaibayashi[COLOR_REVERT],[COLOR_YELLOW]PrinceMyshkin[COLOR_REVERT],[COLOR_YELLOW]Fankman[COLOR_REVERT] and [COLOR_YELLOW]Dale[COLOR_REVERT]", ((),""))
Can I see them anywhere, so I can make myself feel important. Will I wear the big wigs too?
Move mouse over trade log button.
You know, I didn't even know that!
I can implement that into the SDK. Shouldn't be a problem.
Okay I have done three things:
1. I have created iWestTripLength in Civ4EuropeInfos.xml to store the western nation travel times.
2. I have exposed CvEuropeInfos::getWestTripLength() to python (use the same way as getTripLength()).
3. I have exposed CvCivilizationInfos::isFromWest() to python so you can determine if a Civ is from the west and to call the right TripLength function.