Chalwk / HALO-SCRIPT-PROJECTS

:white_check_mark: Halo PC|CE - Add-ons for Phasor V2+ and SAPP :new_zealand:
Other
32 stars 13 forks source link

New (optional) features for map votes system #139

Closed edgardanielgd closed 2 years ago

edgardanielgd commented 2 years ago

Changes made to Map vote system script:

Added two optional settings for each map option:

Minimal and maximum player count required in order to display a certain option next time a game ends. NOTE: Both options can be ommited, in that case, minimal and maximum count will be considered as the default one: 0 and 16, respectively.

Added map streak feature:

If enabled, options which have been winners in a row ( by a certain count of repetitions ) will be disabled for the next vote time, they will be enabled again as soon another options is chosen.

Additional notes:

Since some maps will be discarded by any of the pre-conditions mentioned above, a circular iteration over maps list should be made in order to try displaying always the required amount of maps.

Chalwk commented 2 years ago

Awesome stuff. Thank you for your contribution. Incidentally, I have been planning on rewriting this mod from scratch (and my still do this).