Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. WAW Server Hosting Support
  3. How to rotate CUSTOM maps in T4 zm?

How to rotate CUSTOM maps in T4 zm?

Scheduled Pinned Locked Moved WAW Server Hosting Support
5 Posts 3 Posters 392 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • amsterroterbamundefined Offline
    amsterroterbamundefined Offline
    amsterroterbam
    wrote on last edited by amsterroterbam
    #1

    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.

    Xerxesundefined 1 Reply Last reply
    0
    • Xerxesundefined Offline
      Xerxesundefined Offline
      Xerxes Plutonium Staff
      replied to amsterroterbam on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • amsterroterbamundefined Offline
        amsterroterbamundefined Offline
        amsterroterbam
        wrote on last edited by
        #3

        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_02

        If you have other suggestions, please share.
        I have a good db 100+ of custom maps and I'd like to setup rotation on them.

        1 Reply Last reply
        0
        • JezuzLizardundefined Offline
          JezuzLizardundefined Offline
          JezuzLizard Plutonium Staff
          wrote on last edited by
          #4

          You need to do something like this set sv_mapRotation "loadmod \"mods/coolweps\" map nazi_zombie_factory".

          amsterroterbamundefined 1 Reply Last reply
          3
          • amsterroterbamundefined Offline
            amsterroterbamundefined Offline
            amsterroterbam
            replied to JezuzLizard on last edited by
            #5

            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.

            1 Reply Last reply
            3
            • Resxtundefined Resxt referenced this topic on

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate