Droid limits
Posted: 09 Dec 2012, 10:43
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?
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?