Arian
No more ghostbusting!!
Don't panic, Wolf
I've gone through this also and I found the solution in GIR's post about the Forbidden Palace. That national wonder triggered a movie while others did not. Well, the trick is in the Python!!
Look in the CvEventManager.py for this entry:
If yours looks like this:
then add the following lines for each national wonder movie you want to display:
This works fine for me. Good luck!
Thanks to GIR for the code.
I've gone through this also and I found the solution in GIR's post about the Forbidden Palace. That national wonder triggered a movie while others did not. Well, the trick is in the Python!!
Look in the CvEventManager.py for this entry:
Code:
def onBuildingBuilt(self, argsList):
If yours looks like this:
Code:
def onBuildingBuilt(self, argsList):
'Building Completed'
pCity, iBuildingType = argsList
game = gc.getGame()
if ((not gc.getGame().isNetworkMultiPlayer()) and (pCity.getOwner() == gc.getGame().getActivePlayer()) and isWorldWonderClass(gc.getBuildingInfo(iBuildingType).getBuildingClassType())):
# If this is a wonder...
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_PYTHON_SCREEN)
popupInfo.setData1(iBuildingType)
popupInfo.setData2(pCity.getID())
popupInfo.setData3(0)
popupInfo.setText(u"showWonderMovie")
popupInfo.addPopup(pCity.getOwner())
then add the following lines for each national wonder movie you want to display:
Code:
if ( iBuildingType==gc.getInfoTypeForString("BUILDING_NATIONAL_WONDER") ):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_PYTHON_SCREEN)
popupInfo.setData1(iBuildingType)
popupInfo.setData2(pCity.getID())
popupInfo.setData3(0)
popupInfo.setText(u"showWonderMovie")
popupInfo.addPopup(pCity.getOwner())
This works fine for me. Good luck!
Thanks to GIR for the code.