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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Pausing zombies game

[Support] Pausing zombies game

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
13 Posts 6 Posters 3.8k 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.
  • Xerxesundefined Online
    Xerxesundefined Online
    Xerxes Plutonium Staff
    wrote on last edited by
    #2

    Have you tried setting sv_paused through gsc?

    HasjBlokundefined 2 Replies Last reply
    0
    • HasjBlokundefined Offline
      HasjBlokundefined Offline
      HasjBlok
      replied to Xerxes on last edited by
      #3

      Xerxes I'll try that once I figure out how to listen for chat commands!

      1 Reply Last reply
      0
      • Xerxesundefined Online
        Xerxesundefined Online
        Xerxes Plutonium Staff
        wrote on last edited by
        #4

        On PlutoT6 you can use notifyOnPlayerCommand which allows you to define custom commands for the ingame console via gsc. Should in theory also work with say and sayteam..

        HasjBlokundefined 1 Reply Last reply
        0
        • HasjBlokundefined Offline
          HasjBlokundefined Offline
          HasjBlok
          replied to Xerxes on last edited by
          #5

          Xerxes are there any docs for gsc online still? I can only find 404 pages -_-

          1 Reply Last reply
          0
          • Xerxesundefined Online
            Xerxesundefined Online
            Xerxes Plutonium Staff
            wrote on last edited by
            #6

            For BO2 or GSC in general?

            HasjBlokundefined 1 Reply Last reply
            0
            • HasjBlokundefined Offline
              HasjBlokundefined Offline
              HasjBlok
              replied to Xerxes on last edited by
              #7

              Xerxes preferable bo2

              1 Reply Last reply
              0
              • Xerxesundefined Online
                Xerxesundefined Online
                Xerxes Plutonium Staff
                wrote on last edited by Xerxes
                #8

                Well, there is basically none, go take a GSC dump and your favorite search tool to search through the dump.

                Most of GSC has not changed since CoD1 anyways..

                1 Reply Last reply
                0
                • mikzyundefined Offline
                  mikzyundefined Offline
                  mikzy Banned
                  replied to HasjBlok on last edited by
                  #9

                  HasjBlok Want to listen for chat commands? Example: if someone says "hi" in chat, you can check it in gsc?

                  Use this repository here: https://github.com/fedddddd/t6-gsc-utils
                  (This is meant to be a server plugin. It compiles as a dll, and goes into t6r/data/plugins. Do not inject this clientside)

                  Made by fed, it adds IO functions and chat listeners into GSC with waittills.

                  1 Reply Last reply
                  1
                  • HasjBlokundefined Offline
                    HasjBlokundefined Offline
                    HasjBlok
                    replied to Xerxes on last edited by
                    #10

                    Xerxes said in [Support] Pausing zombies game:

                    Have you tried setting sv_paused through gsc?

                    I can't find anywhere how to set sv_paused through gsc, could you point me in the right direction for figuring that out?

                    birchyundefined 1 Reply Last reply
                    0
                    • birchyundefined Offline
                      birchyundefined Offline
                      birchy
                      replied to HasjBlok on last edited by
                      #11

                      HasjBlok It depends how you want to achieve a paused state for how you want to go about doing it. You can try looking in to the functionality of a zombies host migration as that was required to pause the game for online matches to some degree.

                      1 Reply Last reply
                      0
                      • JezuzLizardundefined Offline
                        JezuzLizardundefined Offline
                        JezuzLizard Plutonium Staff
                        replied to HasjBlok on last edited by
                        #12

                        HasjBlok I think I have a way to pause a zombies game with just setting dvars. After some testing I have good reason to believe this method will work in a multiplayer game. First what you need to do is have each client set "cl_timeout 3600" in the console. Double check to make sure its set to 3600. The method of pausing the game requires you to set "sv_running" to 0 on the server, this will cause all clients to have a connection interrupted to appear on their screen but thats because the server isn't running anymore. The dvar "cl_timeout" is how long the client will wait for the server to come back if its down in seconds. This means you have 3600 seconds to set "sv_running" back to 1 before the clients will disconnect. If you can set "timescale" on the server the length of time you can have is affected so setting "timescale 0.1" would give 10x the time.

                        I haven't done too much testing so I'm not sure if its a 100% sure fire solution so I recommend testing it a bit before using this method in a real game.

                        MeLIoDsundefined 1 Reply Last reply
                        1
                        • MeLIoDsundefined Offline
                          MeLIoDsundefined Offline
                          MeLIoDs
                          replied to JezuzLizard on last edited by
                          #13

                          JezuzLizard Hi, I hope you notice this reply since I have recently started playing cod2 with a friend and I'm looking for a way to pause the lobby. We are playing on a private server, but the thing is in your reply you said set "sv_running" to 0 and I have been searching for a while now and can't find how to change it nor where to find it.

                          1 Reply Last reply
                          0

                          • Login

                          • Don't have an account? Register

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