Quote:
Originally Posted by GoHAM
... EDIT: okay so i think i got it working, this is what i did, any suggestions?
Code:
"umc_mapcycle"
{
"Maps"
{
"maps_invote" "6"
"cp_gravelpit" {display}
"cp_dustbowl" {display}
"cp_granary" {display}
"cp_well" {display}
"cp_gravelpit" {display}
"cp_dustbowl" {display}
"cp_granary" {display}
"ctf_2fort" {display}
"tc_hydro" {display}
"ctf_well" {display}
"cp_badlands" {display}
"pl_goldrush" {display}
"cp_fastlane" {display}
"ctf_turbine" {display}
"pl_badwater" {display}
"cp_steel" {display}
"cp_gravelpit" {display}
"cp_dustbowl" {display}
"cp_granary" {display}
"cp_well" {display}
"cp_egypt_final" {display}
"cp_junction_final" {display}
"plr_pipeline" {display}
"pl_hoodoo_final" {display}
"koth_sawmill" {display}
"koth_nucleus" {display}
"koth_viaduct" {display}
"ctf_sawmill" {display}
"cp_yukon_final" {display}
"koth_harvest_final" {display}
"ctf_doublecross" {display}
"cp_gorge" {display}
"cp_freight_final1" {display}
"pl_upward" {display}
"plr_hightower" {display}
"pl_thundermountain" {display}
"cp_coldfront" {display}
"cp_mountainlab" {display}
"cp_degrootkeep" {display}
"cp_5gorge" {display}
"pl_frontier_final" {display}
"plr_nightfall_final" {display}
"koth_lakeside_final" {display}
"koth_badlands" {display}
"pl_barnblitz" {display}
"cp_gullywash_final1" {display}
"cp_foundry" {display}
"sd_doomsday" {display}
"koth_king" {display}
}
|
If you have it working, I'm not sure what you want suggestions on?
Regarding your mapcycle file above, your code above is definitely missing a closing brace
} at the end of the file. I don't see what the display option is doing for you there, you are using it without an operand, so I don't think it's doing anything, you could just have {} after each map name instead of {display} and get the same results. This is actually documented very well in the default umc_mapcycle.txt file.
Code:
//Text to display for this map in the vote. If left blank //
// //or omitted, the map's name will be used instead. //
// // (Default value: "{MAP}") //
// "display" "any value"
To use that option correctly, you would do something like:
"cp_dustbowl" {"display" "Dustbowl - My fave"}
Those are actually Keyvalues, which always come in pairs of data between the braces. As documented, you can use multiple supported options on maps by putting those data pairs between the braces following a map, like this:
PHP Code:
"cp_dustbowl"
{
"display" "Dustbowl"
"min_players" "10"
"weight" "1.5"
}
See the default umc_mapcycle.txt and
the configuration documentation for more information.
The default umc_mapcycle.txt file doesn't contain a map rotation because this plugin is compatible with multiple games. As far as the maps go, you can only play maps that are on your server, just print a file listing for that folder to get the list you were asking about.
__________________