couldnt you raise the unit limit up a bit more ?
Unit Limit
Moderator: Moderators
Unit Limit
I want the unit limit to be higher than 5k not for TA mods in particular but for my mod i might have over 5000 units
and i dunno why 5000 should be the max i know that 5000 units would cause problems on most pc's but shudnt mods define a reasonable unit limit not the engine ??
couldnt you raise the unit limit up a bit more ?
couldnt you raise the unit limit up a bit more ?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Would unlimited unit numbers actually have any effect on performance until a higher number of units was reached?Tobi wrote:Making it mod defined seems like a good idea.
Making it unlimited as I have been suggesting earlier has been scrapped because it would not be smart for performance reasons.
I'm all for it being mod defined, for balance reasons (or whatever), but if there's no negative impact from making it unlimited otherwise, why not make the hard coded value unlimited?
Should be easy for the one picking this up to add an AIVAL_MAXUNITS, or a HandleEvent (or whatever it is called) extension for when the limit is dynamically increased.
If AIs then still crash it's their problem.
As for the lobby, that's max units per team. Even if the limit is removed from Spring I don't think it matters much that there's still a limit of 5000 units per player. Today's CPUs can't handle that anyway (10000 units in a 1v1, 20000 units in a 2v2 ...)
If AIs then still crash it's their problem.
As for the lobby, that's max units per team. Even if the limit is removed from Spring I don't think it matters much that there's still a limit of 5000 units per player. Today's CPUs can't handle that anyway (10000 units in a 1v1, 20000 units in a 2v2 ...)
