Enabling Tech Screen on Multi-Player

Python:
Remove the multiplayer check onTechAcquired in CvEventManager.

P.S.
I don't play MP so never check it out, but I guess that should work.
 
I'm not sure if this is a good idea.
I might be wrong, but if I remember it correctly, for screens the game checks the active player.
And the active player is always the human.
No matter how many humans are in the game.
So this might screw up some things.

And there has to be a reason why this stuff is deactived in MP. I'd guess that Firaxis just had this messy system, and didn't bother to adapt it properly to MP.
 
I had it working on Mulitiverse and ExtremeMod. I was told that the reason it was disabled was because of the lag and latency they believed sometimes occurring on large Multiplayer games. I also enabled the movies too, so it can work rather well. computers today are so much faster than when they wrote the game, so I don't think that is an issue any longer (i.e. I play it on a 1gig video card, 8 core, 8 gigabyte, 64-bit OS -- nothing that they could even dream of then).

I think Civ4 is so much better than Civ5, mostly when it comes to modding and Multiplayer, that's why I keep playing around with it.

I remember it was such an easy change, like 1 line in a python file. But for the life of me I can't remember how to do it.

If anyone knows, I would be indebted. I know that History Rewritten also got it to work too, as he helped me with my Conquest mod but that uses BUG and this mod I am working on doesn't.
 
I finally figure it out. I had to go to the CVEventManager and change 1 line of code:

if iPlayer == gc.getGame().getActivePlayer():

Seems to work work.

hi, im not modder, but i also wish to see tech splash popup in mp
can u tell me how i do that thing
Code:
if iPlayer == gc.getGame().getActivePlayer():
? (noob friendly way pls)

ps im using latest bug mod
 
As I said, remove the MP check onTechAcquired...
Code:
if ((not gc.getGame().isNetworkMultiPlayer()) and (iPlayer == gc.getGame().getActivePlayer())):

The first part is checking MP, remove it and you are done.
 
ty so much
but removing first part didnt worked, but removing all that line worked
 
Remove just the first part so that you are left with
Code:
if iPlayer == gc.getGame().getActivePlayer():
 
Back
Top Bottom