To add more slots edit the CvDefines.h in the DLL folder and change the number 18 to whatever you want.@The_J How do I add more slots via texteditor? And where in the coding do I add more slots? I have the 50 civs .dll but I want to run scenarios. Please respond. If you do I will be so impressed because I came 10 years late
#define MAX_CIV_PLAYERS (18)
EndGame
BeginPlayer
LeaderType=NONE
CivType=NONE
Team=0
RandomStartLocation=false
EndPlayer
BeginPlayer
LeaderType=NONE
CivType=NONE
Team=1
RandomStartLocation=false
Maybe 128?I tried this method to do a 200 civ dll and it didn't really work so I think I might be missing something or there is simply a limit as to how many max civs you can put.
Also don't forget to recompile the DLL after you finish.
But don't forget that the index goes only till 49. (I did once when converting a map )If you added 50 civs in the DLL you will have to make 50 teams.
Doubtful. I am looking at the source for the game and nowhere is the define used to fill anything but an integer. So unless the game is compiled in 8 bit mode 128 won't be the limit. Not that there might not be a 128 limit anyway but if so it's hardcoded in the exe.Maybe 128?
Ah yes I forgot that 0 counts as a teamMaybe 128?
But don't forget that the index goes only till 49. (I did once when converting a map )
Till now the record is 100 with Merkava's 100 CIV DLL.Hm... I wonder if you could turn that define into a global variable and have it be read from the XML.
Doubtful. I am looking at the source for the game and nowhere is the define used to fill anything but an integer. So unless the game is compiled in 8 bit mode 128 won't be the limit. Not that there might not be a 128 limit anyway but if so it's hardcoded in the exe.