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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Release] Black ops II Mapvote for Zombies and Multiplayer

[Release] Black ops II Mapvote for Zombies and Multiplayer

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
gscgsc scriptmapvote
167 Posts 41 Posters 38.8k Views 5 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.
  • Sorexundefined Offline
    Sorexundefined Offline
    Sorex
    Contributor
    wrote on last edited by
    #74

    TacTicToe Yes, then should work as intended if files are in the correct folder and is enable

    TacTicToeundefined 1 Reply Last reply
    0
    • Sorexundefined Sorex

      TacTicToe Yes, then should work as intended if files are in the correct folder and is enable

      TacTicToeundefined Offline
      TacTicToeundefined Offline
      TacTicToe
      wrote on last edited by
      #75

      Sorex error.jpg

      You can see in the screenshot above the script is in the right folder. It is enabled, however it does not load.

      See attached.

      Running latest Win2019 Server if the OS makes a difference, tho it shouldnt.

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

        TacTicToe show where you located the script. If don't load its because its in the wrong folder, or is empty, or is not a gsc

        TacTicToeundefined 1 Reply Last reply
        0
        • Sorexundefined Sorex

          TacTicToe show where you located the script. If don't load its because its in the wrong folder, or is empty, or is not a gsc

          TacTicToeundefined Offline
          TacTicToeundefined Offline
          TacTicToe
          wrote on last edited by
          #77

          Sorex

          It is located here:

          C:\Users\Administrator\AppData\Local\Plutonium\storage\t6\scripts\mp

          mapvote.jpg

          [0_1646339152241_mapvote.gsc](Uploading 100%)

          The gsc came from github posted in the OP of this thread. I have not modified anything.

          1 Reply Last reply
          0
          • TacTicToeundefined Offline
            TacTicToeundefined Offline
            TacTicToe
            wrote on last edited by
            #78

            Ok, got it working. Seems to make it work you have to not be a noob and compile it first. Duh!!

            Any news on the 5 map option?

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

              TacTicToe I don't have much motivation to contiunate honestly. I'm looking for ways to keep my server costs down so I'm giving priority to that.

              A Former User? 1 Reply Last reply
              0
              • Sorexundefined Sorex

                TacTicToe I don't have much motivation to contiunate honestly. I'm looking for ways to keep my server costs down so I'm giving priority to that.

                A Former User? Offline
                A Former User? Offline
                A Former User
                wrote on last edited by
                #80

                Sorex What are the current specs of your current machine and how many servers are you hosting?

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

                  Black ops II Mapvote for Zombies and Multiplayer

                  From now on the current forum post will keep updated the code for the mapvote for both Multiplayer mode and Zombies mode. Version indicates the release version of both versions of mapvote. Official mapvote versions are written in their respective main.gsc files.

                  • Multiplayer v1.0.2
                    • 1.0.0:
                      - 3 maps support
                      - Credits, sentence and social on bottom left
                      - Simple keyboard and controller button support
                      - Better dvar organization
                      - Code optimization
                      - Reduce sharder variables to allow other mods to work as intended
                    • 1.0.1:
                      - Fixed client crash issue
                      - mv_gametypes added to set g_gametype before map change
                    • 1.0.2:
                      - mv_gametypes now support also custom cfg files
                  • Zombies v2.0.1
                    • 2.0.1:
                      - Ported new design
                      - Timer fixed
                      - Fixed UI animations
                      - Removed usless functions
                      - Fixed UI removing screen text
                      - Added animations during vote
                      - Fixed design issues
                  andresito_20undefined 1 Reply Last reply
                  1
                  • TheRealNoobundefined Offline
                    TheRealNoobundefined Offline
                    TheRealNoob
                    Contributor
                    wrote on last edited by
                    #82

                    I have a big problem. Want only tdm. first round is ok but the second round is FFA without scoreboard although on the mapvote every map was with TDM.

                    1 Reply Last reply
                    0
                    • Sorexundefined Sorex

                      Black ops II Mapvote for Zombies and Multiplayer

                      From now on the current forum post will keep updated the code for the mapvote for both Multiplayer mode and Zombies mode. Version indicates the release version of both versions of mapvote. Official mapvote versions are written in their respective main.gsc files.

                      • Multiplayer v1.0.2
                        • 1.0.0:
                          - 3 maps support
                          - Credits, sentence and social on bottom left
                          - Simple keyboard and controller button support
                          - Better dvar organization
                          - Code optimization
                          - Reduce sharder variables to allow other mods to work as intended
                        • 1.0.1:
                          - Fixed client crash issue
                          - mv_gametypes added to set g_gametype before map change
                        • 1.0.2:
                          - mv_gametypes now support also custom cfg files
                      • Zombies v2.0.1
                        • 2.0.1:
                          - Ported new design
                          - Timer fixed
                          - Fixed UI animations
                          - Removed usless functions
                          - Fixed UI removing screen text
                          - Added animations during vote
                          - Fixed design issues
                      andresito_20undefined Offline
                      andresito_20undefined Offline
                      andresito_20
                      Contributor
                      wrote on last edited by
                      #83

                      Sorex

                      Captura de pantalla 2022-04-29 022746.png

                      hello sorex I have a problem in zombies, what happens is that when I vote for the corresponding map the map loads in the console and in the game but that error comes out, I tried it without totally vanilla clientids and the same thing happens. what can cause this error

                      Sorexundefined 1 Reply Last reply
                      0
                      • andresito_20undefined andresito_20

                        Sorex

                        Captura de pantalla 2022-04-29 022746.png

                        hello sorex I have a problem in zombies, what happens is that when I vote for the corresponding map the map loads in the console and in the game but that error comes out, I tried it without totally vanilla clientids and the same thing happens. what can cause this error

                        Sorexundefined Offline
                        Sorexundefined Offline
                        Sorex
                        Contributor
                        wrote on last edited by
                        #84

                        andresito_20

                        1. Do you have all the .cfg in your server folder?
                        2. Idk what do you mean with "totally vanilla clientids" you just have to compile the script and put it in your scripts folder named with a whatever name
                        andresito_20undefined 1 Reply Last reply
                        0
                        • Sorexundefined Sorex

                          andresito_20

                          1. Do you have all the .cfg in your server folder?
                          2. Idk what do you mean with "totally vanilla clientids" you just have to compile the script and put it in your scripts folder named with a whatever name
                          andresito_20undefined Offline
                          andresito_20undefined Offline
                          andresito_20
                          Contributor
                          wrote on last edited by
                          #85

                          Sorex

                          umm I think that's it I don't have the cfg of the maps. How do I get it?

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

                            andresito_20
                            Its all provided once you download the files

                            andresito_20undefined 1 Reply Last reply
                            0
                            • Sorexundefined Sorex

                              andresito_20
                              Its all provided once you download the files

                              andresito_20undefined Offline
                              andresito_20undefined Offline
                              andresito_20
                              Contributor
                              wrote on last edited by
                              #87

                              Sorex

                              Thank you very much sorex, I think I managed to get the voting to work, it was just that inconvenience, a very good plugin.

                              Can I use it on my dedicated server? with developer signature

                              Captura de pantalla 2022-04-29 155401.png

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

                                As long as you keep the credits you can use it

                                1 Reply Last reply
                                0
                                • GamerActualundefined Offline
                                  GamerActualundefined Offline
                                  GamerActual
                                  wrote on last edited by
                                  #89
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • GamerActualundefined Offline
                                    GamerActualundefined Offline
                                    GamerActual
                                    wrote on last edited by
                                    #90

                                    The problem I had was just my own stupidity, Awesome mod great work.

                                    1 Reply Last reply
                                    0
                                    • FantasticLokiundefined Offline
                                      FantasticLokiundefined Offline
                                      FantasticLoki
                                      wrote on last edited by
                                      #91

                                      Hey how can I use 5 vote slots like I saw in the suggestion post for this script?

                                      1 Reply Last reply
                                      0
                                      • Sorexundefined Sorex

                                        Black ops II Mapvote for Zombies and Multiplayer

                                        Developed by DoktorSAS

                                        Special thanks to @ZECxR3ap3r & @JezuzLizard for their contributions to the development. Additional thanks to @John Kramer for image editing and birchy for the LUI starting point.

                                        Introduction

                                        This project, initiated in March 2020, enables players to vote for the next map and/or game mode in upcoming matches. The project does not provide compiled files; if needed, compile the file using the gsc-tool.

                                        Black Ops II: multiplayer

                                        Preview

                                        How to setup the mapvote step by step

                                        1. Compile the Script:
                                          Compile the mapvote.gsc file using a GSC Compiler. This step is not required if you are working with the plutonium client.

                                        2. Place the Compiled File:
                                          Copy the compiled file into your directory %localappdata%\Plutonium\storage\t6\scripts\mp\.

                                        3. Configure Server File:
                                          Copy the content of mapvote.cfg into your server configuration file (e.g., server.cfg, dedicated_mp.cfg, dedicated.cfg, etc.) that manages the Multiplayer server.

                                        4. Edit Dvars for Aesthetic Parameters:

                                          • Set the Dvar mv_maps to specify the maps shown in the mapvote. For example:
                                            set mv_maps "mp_studio mp_nuketown_2020 mp_carrier mp_drone mp_slums"
                                            
                                          • Set the Dvar mv_enable to 1 to activate the mapvote on your Multiplayer server.
                                          • For random gametypes, set the Dvar mv_gametypes specifying the gametype ID (dm, war, sd, etc.) and the file to run if necessary. For example:
                                            set mv_gametypes "[email protected] [email protected]"
                                            
                                        5. (Plutonium ONLY) LUI UI with mod support:

                                          • Take the content of the folder T6Mapvote and place it in your folder %localappdata%\Plutonium\storage\t6\mods\
                                          • Set the dvar fs_game in your server configuration file (e.g., server.cfg, dedicated_zm.cfg, dedicated.cfg, etc.)
                                          • Set the dvar mv_lui to in your server configuration file (e.g., server.cfg, dedicated_zm.cfg, dedicated.cfg, etc.)
                                        6. Run the Server:
                                          Start the server and immerse yourself in the map voting experience. You're done!

                                        Settings: dvars

                                        Dvar Default Value Description
                                        mv_enable 1 Enable/Disable the mapvote (1 for enable, 0 for disable).
                                        mv_maps "" List of maps that can be voted on the mapvote; leave empty for all maps.
                                        mv_time 20 Time (in seconds) allotted for voting.
                                        mv_credits 1 Enable/Disable credits of the mod creator.
                                        mv_socialname "SocialName" Name of the server's social platform (Discord, Twitter, Website, etc.).
                                        mv_sentence "Thanks for playing" Thankful sentence displayed.
                                        mv_votecolor "5" Color of the vote number.
                                        mv_arrowcolor "white" RGB color of the arrows.
                                        mv_selectcolor "lighgreen" RGB color when a map gets voted.
                                        mv_backgroundcolor "grey" RGB color of the map background.
                                        mv_blur "3" Blur effect power.
                                        mv_gametypes "" Dvar to have multiple gametypes with different maps. Specify gametype IDs and associated files.
                                        mv_extramaps 0 Enable 6 maps mapvote when set to 1.
                                        mv_allowchangevote 1 Enable/Disable the possibility to change vote while the time is still running (1 for enable, 0 for disable).
                                        mv_randomoption 1 If set to 1 it will not display which map and which gametype the last option will be (Random)
                                        mv_minplayerstovote 1 Set the minimum number of players required to start the mapvote
                                        mv_lui 1 If set to 1 it will use the LUA/LUI ui interface (It required the mod support and the lua files)

                                        Black ops II: zombies

                                        Preview

                                        How to setup the mapvote step by step

                                        1. Compile the Script:
                                          Compile the mapvote.gsc file using a GSC Compiler. This step is not required if you are working with the plutonium client.

                                        2. Place the Compiled File:
                                          Copy the file into your directory %localappdata%\Plutonium\storage\t6\scripts\zm\.

                                        3. Configure Server File:
                                          Copy the content of mapvote.cfg into your server configuration file (e.g., server.cfg, dedicated_zm.cfg, dedicated.cfg, etc.) that manages the Zombies server.

                                        4. Edit Dvars on your configuration file:

                                          • Set the Dvar mv_maps to specify the maps shown in the mapvote. For example:
                                            set mv_maps "zm_tomb zm_buried zm_town zm_busdepot zm_farm zm_transit zm_prison zm_highrise zm_nuked"
                                            
                                          • Set the Dvar mv_enable to 1 to activate the mapvote on your Zombies server.
                                        5. Run the Server:
                                          Start the server and enjoy the map voting experience. You're done!

                                        Download

                                        It is possbile to download either the source code or the released code. The source code is not fully test and could run into issue that need to be reported while the release is tested code that could have some bug not fixed but working as intended.

                                        I highly recommend using the unreleased version and keeping it up to date for implementing features and patching reported bugs.
                                        The following buttons will direct you to the corresponding pages:

                                        Download from release

                                        Download from git

                                        Starmannundefined Offline
                                        Starmannundefined Offline
                                        Starmann
                                        wrote on last edited by Starmann
                                        #92

                                        Sorex

                                        error line 34, can help? is for zm server

                                        Sorexundefined 1 Reply Last reply
                                        0
                                        • Starmannundefined Starmann

                                          Sorex

                                          error line 34, can help? is for zm server

                                          Sorexundefined Offline
                                          Sorexundefined Offline
                                          Sorex
                                          Contributor
                                          wrote on last edited by
                                          #93

                                          Starmann

                                          1. Do not paste the entire code in the post, it will not help at all
                                          2. The error is caused by your translation of everything without knowing anyhing about gsc scripting. If you don't know what something do then do not edit anything.
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • Login

                                          • Don't have an account? Register

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