How to rotate CUSTOM maps in T4 zm?
-
According to this topic, there is no way to cycle between custom maps.
BUT, it was posted in 2021 and now I can see that Optimus X managed to do it with some OP GOLD servers; rotate between 3 custom maps without clients being disconnected in between. Does it mean it's a simple map_rotate without the need to shutdown and start a new .bat ? I would contact them but can't find their dc anywhere.
I can setup a server with vanilla maps rotation and Votify plugin to skip maps but I want to try doing the same thing with multiple custom maps.
-
amsterroterbam said in How to rotate CUSTOM maps in T4 zm?:
but I want to try doing the same thing with multiple custom maps
Then go ahead and try it out, no need to ask us for permission. The thread you have linked is quite old too.
You could check if exec is a valid token for the maprotation on T4 and if so you could leverage that to change all needed dvars.
-
Xerxes said in How to rotate CUSTOM maps in T4 zm?:
You could check if exec is a valid token for the maprotation on T4 and if so you could leverage that to change all needed dvars.
Ty, I tried with exec but I'm getting "Unknown keyword 'exec' in sv_mapRotation" in the console logs so ig it's not valid on T4SP.
I'm getting a successful heartbeat with this command (.bat):
cd C:\Users\Administrator\AppData\Local\Plutonium && start /wait /abovenormal bin\plutonium-bootstrapper-win32.exe t4sp C:\server\t4 -dedicated +set zombiemode 1 +set key <server_key> +exec server_zm.cfg +set net_port 28961 +map_rotate +set fs_game mods/custom_01
But I get this after trying to rotate:
]map_rotate map_rotate... "sv_mapRotation" is:"map custom_01 map custom_02" "sv_mapRotationCurrent" is:" map custom_02" Setting map: custom_02. Error: Can't find map "custom_02". A mod is required for custom maps
It has something to do with the last part of my command (set fs_game mods/custom_01).
Tested several variations by playing with it, no success.
+set fs_game mods/
+set fs_game mods/*
+set fs_game "mods/custom_01" "mods/custom_02"
+set fs_game "mods/custom_01" & "mods/custom_02"
+set fs_game mods/custom_01 +set fs_game mods/custom_02If you have other suggestions, please share.
I have a good db 100+ of custom maps and I'd like to setup rotation on them. -
You need to do something like this
set sv_mapRotation "loadmod \"mods/coolweps\" map nazi_zombie_factory"
. -
JezuzLizard said in How to rotate CUSTOM maps in T4 zm?:
You need to do something like this
set sv_mapRotation "loadmod \"mods/coolweps\" map nazi_zombie_factory"
.Idk where you found this but that's it. Thank you!
If someone else needs, here is the rotation part inside .cfg file:
// Map_rotation set sv_mapRotation "loadmod custom_01 map custom_01 loadmod custom_02 map custom_02 loadmod custom_03 map custom_03" set sv_maprotationcurrent ""
And you don't need
set mod="mods/custom_01"
&+set fs_game %mod%
from .bat anymore.