maybe change mesh level and add transparency to texture?
P.S. good idea I will see on
###Tiefsee start###
for i in range(CyMap().numPlots()):
iPlot = CyMap().plotByIndex(i)
if iPlot.getTerrainType() == gc.getInfoTypeForString("TERRAIN_OCEAN"):
StartX=iPlot.getX()-1
EndX=iPlot.getX()+2
StartY=iPlot.getY()-1
EndY=iPlot.getY()+2
bTrue = True
for j in range(StartX, EndX):
for k in range(StartY,EndY):
lPlot = CyMap().plot(j,k)
if lPlot.isNone():continue
if lPlot.getTerrainType() == gc.getInfoTypeForString("TERRAIN_COAST"):
bTrue = False
break
if (bTrue == True):
iPlot.setTerrainType(gc.getInfoTypeForString("TERRAIN_TIEFSEE"),False,False)
###Tiefsee end###
def onGameStart(self, argsList):
'Called at the start of the game'
if (gc.getGame().getGameTurnYear() == gc.getDefineINT("START_YEAR")):
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)
if gc.getGame().isPbem():
for iPlayer in range(gc.getMAX_PLAYERS()):
player = gc.getPlayer(iPlayer)
if (player.isAlive() and player.isHuman()):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_DETAILS)
popupInfo.setOption1(true)
popupInfo.addPopup(iPlayer)
; Set to 1 for no python exception popups
HidePythonExceptions = 1
def onGameStart(self, argsList):
'Called at the start of the game'
if (CyGame().getGameTurnYear() == gc.getDefineINT("START_YEAR")):
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)
if CyGame().isPbem():
for iPlayer in range(gc.getMAX_PLAYERS()):
player = gc.getPlayer(iPlayer)
if (player.isAlive() and player.isHuman()):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_DETAILS)
popupInfo.setOption1(true)
popupInfo.addPopup(iPlayer)