Zandronum Chat on our Discord Server Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001710Zandronum[All Projects] Suggestionpublic2014-02-19 15:522014-11-19 14:57
Assigned To 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version1.2 
Target VersionFixed in Version 
Summary0001710: Minimum/maximum players for MAPINFO
DescriptionHi. Something that comes up a lot in MM8BDM (I know, I know, stay with me guys) is that the sizes of the +50 maps in the mod are inconsistent. It becomes an issue when there's 32+ players and the smaller duel sized maps get put into play due to the default map rotation etc. Since it's impossible to keep track of how many people are playing a server and constantly adjust the map rotation manually, I was thinking of a way to handle this automatically.

So here's my suggestion. Two new parameters for MAPINFO's map definitions. MaxPlayers and MinPlayers (probably could use better names). Before the map changes, Zandronum would check these values to see if the current number of players is acceptable for the next map in rotation. If not, it is skipped to the next map in rotation until it finds a suitable map. Here's some examples.

// This is a very small cramped map suitable for duels and low amounts of players. Any more than 4 is too much so skip it.
   levelnum = 14
   next = "MM2QUI"
   sky1 = "BLACK", 0
   cluster = 1
   music = "FLAMUS"
   aircontrol = 0.5
   par = 2
   maxplayers = 4

// Quite possibly the biggest map in the game, therefore too little players makes for a very boring drawn out battle that can take too long.
   levelnum = 46
   next = "MM6TOM"
   sky1 = "BLACK", 0
   cluster = 1
   music = "DARMUS"
   aircontrol = 0.5
   par = 5
   minplayers = 6

Obviously this could benefit other map collections in various mods and not just limited to MM8BDM, which is why I think it's a cool idea to implement it (and not use horrible ACS hacks to achieve this).
Additional InformationCertain things need to be considered when implementing this.

* A server flag sv_allowmapinfominmaxplayers (I am bad at naming things) will probably be desired if server admins don't care for this functionality.
* Voting for a map should ignore the min/max players arguments if voting is enabled.
* What happens if it can't find a map in the rotation with a suitable amount of players? (i.e there are 4 players in the server and every map requires at least 8)
Attached Files

- Relationships
related to 0002002resolvedKaminsky Allow map rotation to have associated player counts to select when choosing. 

-  Notes
There are no notes attached to this issue.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: Leonard
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-02-19 15:52 Cutman New Issue
2014-06-15 15:25 Watermelon Status new => acknowledged
2014-07-12 09:46 Torr Samaho Product Version 2.0-beta => 1.2
2014-11-19 14:57 Dusk Relationship added related to 0002002

Questions or other issues? Contact Us.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker