Kael
Deity
Could you not use the def cannotTrain function in CvGameInterface.py to limit unit production to a certain number, depending on map size?
Definitly, if I did that I would need to set the unitclass limit to the size for the largest map and then constrict in the cannotTrain function. That would leave the pedia showing a max count of 6 (or whatever) and confuse players when they could only make 3 (or whatever). Players would spend a lot of time trying to find their other 3 units.
The change I was alluding to would have to be set in the SDK with a new function that returned unit build limits based on the map size and was refered to by the internal cannot train and the game text function. I would probably also need to add a schema change to user objects to determine if they should be using the new function or the old hard limit.