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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Map voting system GSC

[Support] Map voting system GSC

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
9 Posts 4 Posters 597 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.
  • Radonundefined Offline
    Radonundefined Offline
    Radon
    wrote on last edited by Mr. Android
    #1

    Does anyone have the map voting system code?example img. And how would that work; I mean how to pause before changing maps and actually changing the map in gsc. map(map, false); does not work?

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

      yea i have it, join in Sorex server with map vote menu

      Radonundefined 1 Reply Last reply
      0
      • Radonundefined Offline
        Radonundefined Offline
        Radon
        replied to Sorex on last edited by
        #3

        Sorex I mean the source, can you help me with that?

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

          I can sell mine code ❤

          Radonundefined 1 Reply Last reply
          0
          • Radonundefined Offline
            Radonundefined Offline
            Radon
            replied to Sorex on last edited by
            #5

            Sorex Add me on discord Radon#7616

            1 Reply Last reply
            0
            • Radonundefined Offline
              Radonundefined Offline
              Radon
              wrote on last edited by
              #6

              Sorex was actually selling it, so decided to make it myself. Can anyone help with a changeMap function and I don't know how to make sure the server does not rotate after killcam?

              ImVeryTwistedundefined 1 Reply Last reply
              0
              • ImVeryTwistedundefined Offline
                ImVeryTwistedundefined Offline
                ImVeryTwisted
                replied to Radon on last edited by
                #7

                Radon LOOOL. Love this community. Try SetDvar( "sv_mapRotationCurrent", "mp_carrier" );

                Radonundefined 1 Reply Last reply
                1
                • Radonundefined Offline
                  Radonundefined Offline
                  Radon
                  replied to ImVeryTwisted on last edited by
                  #8

                  ImVeryTwisted Yeah I know, had that already. Only think I can't figure out is how to make sure to get it after the killcam. I can waittill the killcam is finished, but then shaders load incorrectly + only 4 seconds

                  1 Reply Last reply
                  0
                  • pourziyaieundefined Offline
                    pourziyaieundefined Offline
                    pourziyaie
                    wrote on last edited by
                    #9

                    As im not experienced at bo2 i cant help much but i can help with some traces:

                    1- there should be some event handler probably named endGame(its from mw2)
                    you can call your start voting script from. it may be in any of _gamelogic or _globallogic

                    2- you can use good old voting script from Cod4 Royal Soldiers HC mod(available on cfgfactory) however its not as same as design of what you just sent

                    3- and according to ImVeryTwisted if bo2 using old maprotation system (not the random one) you can easily set sv_mapRotationCurrent dvar after voting completed

                    hope i helped you. sincerely

                    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