Running a custom scenario with 50 civ dll

Riveraxis

Chieftain
Joined
Feb 19, 2013
Messages
13
Hello! So I've got a question, I would ask it in the 'quick modding questions' thread but it's a little more indepth than some of the other questions I've asked in there.

Backstory: I'm making a scenario within a mod. I completely my first draft of it with 18 civs and it works like a charm.
Now for round 2 I want 24 civs in the game.

So I found the 50 civ DLL and it took me awhile to get that working. In the end, I took the other DLL out of the assets folder and replaced it with the new, 50 civ dll.

I still have the old DLL on my computer. I realize you're not supposed to edit game files but I have the original if I need to revert back to that- no harm done. I haven't done anything else to the original files.

Okay, so I can start a custom game with 24 civs, no problem. I cannot start a scenario at all.

The scenario I'm working on making is a real-world replica of the 70's. So of course, I need an actual earth map- not earth 2/3 or terra. I have searched far and wide and can only find WB saves, which of course, you have to run as a scenario. WB saves don't show up in the drop-down menu for maps in custom games.

I read online that someone else had this exact same problem when they used the 50 civ dll and it was corrected when he went back to the original DLL. But doing that would mean I could only use 18 civs, and so there's no point in continuing my work on the scenario.

In a nutshell; what I'm asking is this;

Does the 50 civ dll prevent you from running scenarios or custom scenarios, and if not, can anyone tell what I'm doing wrong?

Sorry if this is very confusing, I'm very confused as well and I've been at this for a long time. I can elaborate more if something was unclear.
 
There are two separate issues here.

1. You can't just replace the mod's DLL with another and expect it to work. DLLs contain all the game logic of the game and the mod, which is much more than just the number of civs. To change the number of players in a mod, you need to edit the mod's CvGameCoreDLL source (change MAX_CIV_PLAYERS to desired number in CvDefines.h) and recompile it. This is covered by this tutorial by Asaf: http://forums.civfanatics.com/showthread.php?t=405444

If I misunderstood and you replaced the original BTS DLL, rather than the mod's DLL then skip the above and do this instead:
a. Go back to the original DLL and don't touch it again
b. Simply the copy the 50-player DLL to the Assets folder of your scenario; it will be loaded instead of the BTS one.

2. The number of players in the DLL must match exactly the number of players in the map/scenario file (WBSave). So if you have a 50-player DLL and a 18-player scenario, you need to add 32 players and teams to the WBSave (they can be empty players/teams, but they need to be there).

In other words, a 50-civ DLL will only load 50-civ scenarios, so add 32 teams (BeginTeam...EndTeam) and 32 players (BeginPlayer...Team=XX...EndPlayer).
 
If I misunderstood and you replaced the original BTS DLL, rather than the mod's DLL then skip the above and do this instead:
a. Go back to the original DLL and don't touch it again
b. Simply the copy the 50-player DLL to the Assets folder of your scenario; it will be loaded instead of the BTS one.

2. The number of players in the DLL must match exactly the number of players in the map/scenario file (WBSave). So if you have a 50-player DLL and a 18-player scenario, you need to add 32 players and teams to the WBSave (they can be empty players/teams, but they need to be there).

In other words, a 50-civ DLL will only load 50-civ scenarios, so add 32 teams (BeginTeam...EndTeam) and 32 players (BeginPlayer...Team=XX...EndPlayer).

Edit:

That worked perfectly. Thank you!
 
Back
Top Bottom