Resource icon

[Open Assets] Set Maps To Use in Rotation

This content may be freely modified and/or maintained by anyone.

JJK

Member
This script can be used to set the maps that you want your server to rotate through (so the rotation is not always in the same linear order).


It is also possible to set the rotation to random so that it chooses a random map from your rotation maps.


Usage:


rotation_maps "R0 R1 R2 RX"
to set the rotation maps to MAPR0, MAPR1, MAPR2, MAPRX.


map_rotation_random On
To set map rotation to random.


shuffle_maps
To shuffle the random rotation again



Submit issues or suggestions for improvement to the corresponding git repository.


I release this mod into the public domain, so do with it whatever you want.
 

Attachments

  • VL_map_rotate-v1.lua
    1.7 KB · Views: 260
  • VL_map_rotate-v3.lua
    2.5 KB · Views: 473
Last edited:
Welcome to releases! Though, I wish it would print a message when a map rotation set has been successfully entered.
 
This will be very useful for servers. It should probably even be a vanilla option for MP.


I would also imagine seeing that for SP game to spice things up for people bored of the main campaign (I can see some speed-runs for a "randomized SRB2" category)
 
How tf do you use this? Every time i attempt to alter the map rotation, it will either not work or constantly load the same map over and over.
 
On my server I set the rotation maps at boot and it cycles through them.
I'm guessing you use the random feature?
I am aware of a bug with the random rotation where not all maps are used, however I have not been able to find the cause of the issue.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top