Skip to content
This repository was archived by the owner on May 26, 2025. It is now read-only.

Mapcycle Manager - v1.0.7

Latest
Compare
Choose a tag to compare
@Chalwk Chalwk released this 12 Oct 03:39
· 110 commits to master since this release

The Mapcycle Manager script enables server administrators to manage map rotations efficiently and facilitates seamless switching between classic and custom map rotations using simple commands.

Upon loading, the script initializes with a predefined set of classic maps and their corresponding
game types and placeholders for custom maps. Administrators can easily switch between five modes:

  • Classic Mode: Loads a predefined rotation of classic Halo maps.
  • Custom Mode: Loads a rotation of user-defined custom maps.
  • Small Mode: Loads a rotation of small maps.
  • Medium Mode: Loads a rotation of medium maps.
  • Large Mode: Loads a rotation of large maps.

Map cycle randomization:

The shuffling feature is applied to map cycles marked as shufflable, randomizing their order each time the script is loaded. This ensures a fresh experience for players every time a shuffled cycle is used. If the current cycle is not shuffled, the index is set using the predefined order. Otherwise, the cycle starts on the first map.

Automatic Map Cycle Adjustments:

The script includes an optional feature that allows for automatic adjustments of the map cycle based on the current player count. When enabled, the script will dynamically change the map cycle to small, medium, or large maps based on the number of players in the game. This feature can be toggled on or off by the server administrator.

The commands for toggling the map cycles are simple and can be issued by admins:

COMMAND DESCRIPTION
/custom Set the map cycle to all custom maps.
/classic Set the map cycle to all classic maps.
/small Set the map cycle to small maps only.
/medium Set the map cycle to medium maps only.
/large Set the map cycle to large maps only.
/nextmap Load the next map in the current cycle.
/prev Load the previous map in the current cycle.
/whatis Provide information about the next map in the current cycle.
/loadmap <map_name> <gametype_name> <mapcycle_type> Load a specific map and gametype from defined cycle.

Prerequisites:

  1. Disable SAPP's built-in map cycle feature for this script to function correctly.
  2. Remove any commands that load maps from SAPP to avoid conflicts; this script is a drop-in replacement
    for SAPP's built-in map cycle feature.

Copyright (c) 2024, Jericho Crosby jericho.crosby227@gmail.com