Nuclide
Software Development Kit for id Technology
|
Map cycle/rotation related APIs. More...
Map cycle/rotation related APIs.
The MapCycle system decides the next map to play on.
By default, we read from <gamedir>/mapcycle.txt
a list of sorted levels, like this:
If the map we're currently on is present, we will choose the map sorted after in the map cycle as the next map.
The server can forcefully change the map using the nextmap
console command. Players can vote for it instead.
If no valid mapcycle is present, it will keep restarting the map instead.
If the server starts with a map that is not present in the mapcycle, it will always pick the first entry in the list as the next level.
Functions | |
void | Mapcycle_Load (string) |
Can be called by the server game to override the current mapcycle with that of a custom mapcycle file. More... | |
void | Mapcycle_Init (void) |
Called by Nuclide in initents() . More... | |
void Mapcycle_Init | ( | void | ) |
Called by Nuclide in initents()
.
void Mapcycle_Load | ( | string | filename | ) |
Can be called by the server game to override the current mapcycle with that of a custom mapcycle file.