Opened 11 years ago

Last modified 7 years ago

#1834 closed enhancement

[PATCH] Add player caps for random maps by map size option to their json files handled in gamesetup.js — at Version 1

Reported by: FeXoR Owned by:
Priority: Should Have Milestone:
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description (last modified by FeXoR)

Some RMS are not working properly with many players on small maps. The same is true for some maps generated with only 1 or 2 players.

So we decided to add a maximum and minimum possible number of players for RMS:

http://www.wildfiregames.com/forum/index.php?showtopic=16242&st=120#entry262340

It's now an additional possible attribute "MaximumPlayersByMapSize" and "MinimumPlayers" in the RMS json files. This is handled in gamesetup.js that has some new global constants to handle things if the map does not define player caps.

luziferius helped by testing all the RMS if default max player caps [4, 6, 8, 8, 8, 8, 8] are still to high so he might be added to the contributor list.

Lower player caps are not set properly yet. Still testing.

Change History (1)

comment:1 by FeXoR, 11 years ago

Description: modified (diff)
Keywords: patch added
Note: See TracTickets for help on using tickets.