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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Pause endgame for map vote?

[Support] Pause endgame for map vote?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
7 Posts 5 Posters 572 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Bradundefined Offline
    Bradundefined Offline
    Brad
    wrote on last edited by
    #1

    I know how to how to add map voting after final killcam by utilizing:

    level waittill( "final_killcam_done" );
    

    However, that only gives me like 4 seconds before the game ends to vote for a map.

    Is there a way to "pause" the endgame sequence so that I can let players vote for the next map and then resume it after a certain time passes?

    Kalitosundefined 1 Reply Last reply
    0
    • Bradundefined Brad

      I know how to how to add map voting after final killcam by utilizing:

      level waittill( "final_killcam_done" );
      

      However, that only gives me like 4 seconds before the game ends to vote for a map.

      Is there a way to "pause" the endgame sequence so that I can let players vote for the next map and then resume it after a certain time passes?

      Kalitosundefined Offline
      Kalitosundefined Offline
      Kalitos
      wrote on last edited by
      #2

      Brad just this I speak in this link. check ii Here

      Bradundefined 1 Reply Last reply
      0
      • Kalitosundefined Kalitos

        Brad just this I speak in this link. check ii Here

        Bradundefined Offline
        Bradundefined Offline
        Brad
        wrote on last edited by
        #3

        Kalitos I've tried changing timescale which kinda works but it's not ideal. I was looking for a more robust solution. Kinda how Matrix does it on the Shakin' servers. I just don't know how. Thanks for the reply though 👍

        mikzyundefined 1 Reply Last reply
        0
        • Sorexundefined Offline
          Sorexundefined Offline
          Sorex
          Contributor
          wrote on last edited by Sorex
          #4

          nothings, its mine menu edited the Brad vote menu. Missing credits, i'll wait credits

          1 Reply Last reply
          0
          • Bradundefined Brad

            Kalitos I've tried changing timescale which kinda works but it's not ideal. I was looking for a more robust solution. Kinda how Matrix does it on the Shakin' servers. I just don't know how. Thanks for the reply though 👍

            mikzyundefined Offline
            mikzyundefined Offline
            mikzy
            Banned
            wrote on last edited by
            #5

            Brad So, if you didnt have a voting system or any GSC, it would normally rotate map from server config or send you back to lobby. I think what Matrix did is make it so it doesn't call the maprotation command from the server config and basically nothing happens. So, without the voting system and (maybe Matrix's changes), the game would be paused like that forever. Adding the voting system might call the maprotate command instead and make it all work. I have no clue.

            1 Reply Last reply
            0
            • mikzyundefined Offline
              mikzyundefined Offline
              mikzy
              Banned
              wrote on last edited by
              #6

              Brad If this helps, you could maybe look here: https://github.com/JezuzLizard/Recompilable-gscs-for-BO2-zombies-and-multiplayer/blob/master/patch_mp/maps/mp/gametypes/_killcam.gsc

              1 Reply Last reply
              0
              • alejandrodarzundefined Offline
                alejandrodarzundefined Offline
                alejandrodarz
                wrote on last edited by alejandrodarz
                #7

                I think I managed to pause the game with this command map_restart (false); in init()

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

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