powerlord / sourcemod-mapchooser-extended

Extended version of the SourceMod MapChooser
Other
26 stars 28 forks source link

[Request] Mapcycle choosing #7

Open StrikerMan780 opened 7 years ago

StrikerMan780 commented 7 years ago

I originally had made an attempt to expand this plugin to support voting for a mapcycle file before voting for a map, which would also cause a config to execute when a map in that cycle is loaded... but I ran into problems because I didn't know too much about the keyvalues parser.

I had written a syntax for this file, called mce_mapcycles.cfg.

"mapcycles"
{
    "mapcycle.txt"
    {
        "name"  "Deathmatch"
        "cfg"   "config_deathmatch.cfg"
    }
    "mg_mapcycle.txt"
    {
        "name"  "Minigame"
        "cfg"   "config_minigame.cfg"
    }
    "ctf_mapcycle.txt"
    {
        "name"  "Capture the Flag"
        "cfg"   "config_ctf.cfg"
    }
}

The idea for this was to allow a cleaner implementation of what Ultimate Mapchooser could pull off, allowing one to select map cycles, and execute configs specialized for those cycles.

I was hoping maybe you could implement this feature.