View Full Version : Wondermovies in Multiplayer for BTS


BearMan
Jul 21, 2007, 12:29 AM
Open this file...

C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Beyond the Sword\Assets\Python\CvEventManager.py

and change this...

if (((not gc.getGame().isNetworkMultiPlayer()) and pCity.getOwner() == gc.getGame().getActivePlayer())):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTT ONPOPUP_PYTHON_SCREEN)
popupInfo.setData1(iProjectType)
popupInfo.setData2(pCity.getID())
popupInfo.setData3(2)
popupInfo.setText(u"showWonderMovie")
popupInfo.addPopup(pCity.getOwner())
So it looks like this...

if ((pCity.getOwner() == gc.getGame().getActivePlayer())):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTT ONPOPUP_PYTHON_SCREEN)
popupInfo.setData1(iProjectType)
popupInfo.setData2(pCity.getID())
popupInfo.setData3(2)
popupInfo.setText(u"showWonderMovie")
popupInfo.addPopup(pCity.getOwner())

Note; there are 2 places to change this; one for projects and one for wonders. (they are close to eachother in the code, both look kinda like above).
Futher down there is also the religious splash and the tech splash, I enabled them 2.
Same thing there, just remove the ((not gc.getGame().isNetworkMultiPlayer())

JimMac99
Jul 21, 2007, 02:57 AM
Thats excellent BearMan! :goodjob:

Just what I am looking for. :)

Just wondering though, are there any downsides? I mean, why have Firaxis repeatedly omitted this as an option, are we likely to have more OOS probs do you think?

BearMan
Jul 21, 2007, 03:12 PM
Thats excellent BearMan! :goodjob:

Just what I am looking for. :)

Just wondering though, are there any downsides? I mean, why have Firaxis repeatedly omitted this as an option, are we likely to have more OOS probs do you think?

Dunno; Me and my GF will play with these changes from now on, and i will report back if there are any problems ;)

UPDATE : played one game, no problems, just post if u got problems editing it. or if I should make exact step by step for religion or tech 2...

Madd_Mugsy
Jul 24, 2007, 02:00 PM
Thanks -- I've been waiting 2 years for this! :D

I made the changes to enable all the popups in both base BTS and Next War. I should be able to check it out this week sometime and will report back if there are any issues.

turlute
Jul 30, 2007, 10:28 AM
Nice "fix".
There is a 3rd one to change if u want it for the founded religions too.

BaalRoG
Feb 15, 2008, 06:37 AM
any update for 3.13 ?

Waht do i have to do there:

if ((not gc.getGame().isNetworkMultiPlayer()) and (pCity.getOwner() == gc.getGame

().getActivePlayer()) and isWorldWonderClass(gc.getBuildingInfo(iBuildingTyp e).getBuildingClassType())):
# If this is a wonder...
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTT ONPOPUP_PYTHON_SCREEN)
popupInfo.setData1(iBuildingType)
popupInfo.setData2(pCity.getID())
popupInfo.setData3(0)
popupInfo.setText(u"showWonderMovie")
popupInfo.addPopup(pCity.getOwner())

Xenomorph
Feb 15, 2008, 11:21 AM
Firaxis likely removed it for time reasons. Those videos take time to load and play, and if turn time limit is on then that's time lost.

af_stjohn
Sep 30, 2008, 01:14 PM
Edit : forgoet it, I've just remove the isNeworkMultiplayer test and everything seems to work.