Wondermovies in Multiplayer for BTS

BearMan

One More Turn...
Joined
Nov 8, 2003
Messages
288
Location
The Northpole in Civ4.
Open this file...

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

and change this...

Spoiler :
if (((not gc.getGame().isNetworkMultiPlayer()) and pCity.getOwner() == gc.getGame().getActivePlayer())):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_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...

Spoiler :
if ((pCity.getOwner() == gc.getGame().getActivePlayer())):
popupInfo = CyPopupInfo()
popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_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())
 
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?
 
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...
 
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.
 
Nice "fix".
There is a 3rd one to change if u want it for the founded religions too.
 
any update for 3.13 ?

Waht do i have to do there:

Code:
		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())
 
Edit : forgoet it, I've just remove the isNeworkMultiplayer test and everything seems to work.
 
Back
Top Bottom