Caveman 2 Cosmos

By putting it in a file called CvEventManager you have probably broken BUG modular Python and hence all the mods. They are very explicit in their documentation that you must not have a file by that name.
They are not broken with my modmod.
There is a file of that name loaded when C2C starts regardless of it being a part of C2C or not, because all that is vanilla that is not overwritten by C2C will be loaded when C2C loads.
(There might be some exceptions as we can mod the file that loads a vanilla file to not load that vanilla file; that said, the BUGEventManager explicitly initiates the CvEventManager because a child cannot exist without a parent)
 
Last edited:
As far as I now it is overwritten by BUG when it merges all the modular Python together.
No, the BUGEventManager is a child object class of the class CvEventManager, all that is in CvEventManager is inherited by BUGEventManager.

Game event happens: e.g. onBuildingBuilt
exe, through the dll, sends the event data to the entryPoint python file called CvEventInterface.py

Then CvEventInterface pass that call on to the BUGEventManager
BUGEventManager will first run the onBuildingBuilt inside it's own class, since it inherits all the functions in CvEventManager that means that the onBuildingBuilt in CvEvenManager is run unless the function is overwritten by a onBuildingBuilt function defined in BUGEventManager.
It will first search for the onBuildingBuilt function within it's own class, if it is not found it will search for the function within its parent class.

After that It will start sending a call to all modular python that has registered the onBuildingBuilt event in the BUG event handler, to run the onBuildingBuilt function. The order in which the modular python functions are called is defined by the order they are loaded in the init.xml config file.
 
Sorry to interject
I've been playing the GEM No Custom Civ scenario and I have an issue building bison riders. I already have the required wonder. I've attached the save file. Any help?
Thanks in advance.
 

Attachments

I'm not sure. The scenario name is FIXED_GEM_preset_No_CUSTOM_CIVS.BEYONDTHE... I didn't know about UEM until I was 234 turns in, so I just played through anyways :p. It says adapted for version 35, but I thought megafauna domestication was already fully integrated by that version.

we are now pre v38 and everything in v35 has been adjusted or changed, everything.

Did you know that now only 1 Civ can now have the Bison rider, or bear or deer? Not all civs as was in v35.
 
we are now pre v38 and everything in v35 has been adjusted or changed, everything.

Did you know that now only 1 Civ can now have the Bison rider, or bear or deer? Not all civs as was in v35.
I did not know about that. It's hard for to trace the changes from v36, the last version I finished a game on. In my current game, India holds the deer rider, and another civ holds bear rider. I am playing on V37. Maybe I should start a game on the SVN, or wait until next month for V38?
 
Maybe I should start a game on the SVN, or wait until next month for V38?
The 1st is optimal. V38 is close and getting the SVN now may save you some time later on.
 
Hi, I have been trying to get c2c to work on beyond the sword but when I try to open the mod it comes up with multiple xml error screens. Can anyone help me resolve this issue? It would be greatly appreciated
 

Attachments

  • Screen Shot 2017-12-22 at 8.12.02 PM.png
    Screen Shot 2017-12-22 at 8.12.02 PM.png
    318.5 KB · Views: 149
What OS are you using? I've never seen a path that had Fireworks and FirePlace in it.

Also you need to run Caveman2Cosmos as Administrator.
 
I tried to post this from my phone earlier but it didn't want to post for some reason. Maybe a bad connection at the restaurant.

Yeah,so, sorry to say but Macs are a huge mistake. They are unable to play any mod with a modified dll, which includes C2C and every other mod I'm aware of on the site here. Someone claimed to have compiled a Mac Compatible DLL but I couldn't verify it. From what I understand, the Mac version of Civ has the dll completely bundled into the exe and there is not a difference.

Get a PC.
 
Yeah,so, sorry to say but Macs are a huge mistake. They are unable to play any mod with a modified dll, which includes C2C and every other mod I'm aware of on the site here. Someone claimed to have compiled a Mac Compatible DLL but I couldn't verify it. From what I understand, the Mac version of Civ has the dll completely bundled into the exe and there is not a difference.
Yeouch! What a bummer for Mac users. (need a grinch smilie here) :cringe:
 
From modder to modder: May I have your sources for the graphic paging option?
 
Back
Top Bottom