With the new functions that allow setting / getting of droid limits, how do they deal with the difference between single player and multiplayer games?
The old hard-coded constants were:
#define MAX_MP_DROIDS 150
#define MAX_SP_DROIDS 100
#define MAX_SP_AI_DROIDS 999
I wasn't sure if SP = campaign only, or also included skirmish and challenges?
EDIT: Also, what happens with the overall game limit of 999 droids (across all players)?
Maybe setDroidLimit(player, limit, droidType) could accept ALL_PLAYERS as it's first parameter (forcing droidType to default to DROID_ANY) thus allowing the overall game limit to be set? And getDroidLimit() could work in a similar way?
Droid limits
Droid limits
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: Droid limits
There is no hard upper limit anymore.
Re: Droid limits
Ah, nice!
Also I noticed that the data/base/script/rules.js sets 100 droids and data/mp/multiplay/skirmish/rules.js sets 150 droids (so 100 droids max in campaign, 150 droids max in all other modes).
Also I noticed that the data/base/script/rules.js sets 100 droids and data/mp/multiplay/skirmish/rules.js sets 150 droids (so 100 droids max in campaign, 150 droids max in all other modes).
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO