Change the maximum number of civilizations in the game

Camix87

Chieftain
Joined
May 6, 2020
Messages
8
How can I increase max number of civilizations in the game?
I would like to increase this to 100.
 
You can't - source code is on github only.
Also even 40 civs means >5 minute long turns past Medieval era.
 
I was planning to put civis on the world map like in reality. I was a little afraid about dynamic in later eras, but I'd like to try.

As I understand there is no possible to get source files?
 
Thank you very much.
I don't know much about programming. I would be grateful for some help.
1. I copied source file to C2C file
2. In CvDefines I changed the numer in #define MAX_PC_PLAYERS
3. I'm stuck
 
Thank you very much.
I don't know much about programming. I would be grateful for some help.
1. I copied source file to C2C file
2. In CvDefines I changed the numer in #define MAX_PC_PLAYERS
3. I'm stuck
Download entire source folder and git tools archive (separate thing in repository).
 
Thank you very much.
I don't know much about programming. I would be grateful for some help.
1. I copied source file to C2C file
2. In CvDefines I changed the numer in #define MAX_PC_PLAYERS
3. I'm stuck
Changing the max number of pc players is not enough. You have to change the ID of all the NPC players as well so that they are, in the same order they are now, the ending selections. Then there may be some other areas... honestly this is more complicated than you probably want to do if you're not able to work past this intuitively and I'm not wanting to take the time to explain how. I actually reduced it to 50 a while back because 100 is simply too taxing on our limited memory archaic game engine that we cannot improve to the point where so many players becomes a valid prospect for much of a game length. We've made grand strides in improving memory costs but we still cannot increase how much memory the game will crash at so it's all just economizing - like this.
 
Changing the max number of pc players is not enough. You have to change the ID of all the NPC players as well so that they are, in the same order they are now, the ending selections. Then there may be some other areas... honestly this is more complicated than you probably want to do if you're not able to work past this intuitively and I'm not wanting to take the time to explain how. I actually reduced it to 50 a while back because 100 is simply too taxing on our limited memory archaic game engine that we cannot improve to the point where so many players becomes a valid prospect for much of a game length. We've made grand strides in improving memory costs but we still cannot increase how much memory the game will crash at so it's all just economizing - like this.
OK. I understand. I think I won't be able to do it alone. Maybe first check how my map will work with 50 civilians. Anyway, I would like to thank everyone for their help.

BTW. I would like to say that I really appreciate your work and commitment in creating C2C. It's an amazing project, so extended. I can't imagine how much work and heart you have devoted to this fashion. Many thanks to the whole team.
 
Back
Top Bottom