Skip to content
  • 0 Unread 0
  • 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 95.5k 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.
  • Resxt Resxt

    Sasino97 the game has a compiler built-in

    Sasino97 Offline
    Sasino97 Offline
    Sasino97
    wrote on last edited by
    #151

    Resxt Gotcha, but in case of errors where will the error messages show?

    Resxt 1 Reply Last reply
    0
    • Sasino97 Sasino97

      Resxt Gotcha, but in case of errors where will the error messages show?

      Resxt Offline
      Resxt Offline
      Resxt
      Plutonium Staff
      wrote on last edited by
      #152

      Sasino97 in the middle of your screen lol

      1 Reply Last reply
      0
      • Echostars Offline
        Echostars Offline
        Echostars
        wrote on last edited by
        #153

        I'm having trouble setting this up for zombies. I got transit to show on the vote thing but no other maps. I am also curious how I could run a custom cfg for a map

        1 Reply Last reply
        0
        • Sorex 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

          Echostars Offline
          Echostars Offline
          Echostars
          wrote on last edited by
          #154

          Sorex Hi i'm still having issues getting this to work on zombies

          1 Reply Last reply
          0
          • maxiking913 Offline
            maxiking913 Offline
            maxiking913
            wrote on last edited by maxiking913
            #155

            anyone know why its not working? every time when the rounds end you get the connection interrupted after killcam and idk why that is so. server doesnt give an error. using master branch ofc

            Sorex 1 Reply Last reply
            0
            • maxiking913 maxiking913

              anyone know why its not working? every time when the rounds end you get the connection interrupted after killcam and idk why that is so. server doesnt give an error. using master branch ofc

              Sorex Offline
              Sorex Offline
              Sorex
              Contributor
              wrote on last edited by
              #156

              maxiking913 Could you detail the issue?

              1. Do the mapvote load?
              2. Do you have any other scripts? If yes try to remove all the other scripts and leave the mapvote and see if still crash
              3. Is your server cfg configurated as intended?

              Check everything and let me know

              maxiking913 1 Reply Last reply
              0
              • Sorex Sorex

                maxiking913 Could you detail the issue?

                1. Do the mapvote load?
                2. Do you have any other scripts? If yes try to remove all the other scripts and leave the mapvote and see if still crash
                3. Is your server cfg configurated as intended?

                Check everything and let me know

                maxiking913 Offline
                maxiking913 Offline
                maxiking913
                wrote on last edited by
                #157

                Sorex 1. no the round end and after the scoreboard it says the connection issue as if server is down.
                2. i tried with just the mapvote script and same issue. removed the warfare bot script and renaked script just the mapvote file.
                3. yes. tried it in many ways. default settings - putting maps in - putting gamemodes in and combinations. doesnt work.

                1 Reply Last reply
                0
                • maxiking913 Offline
                  maxiking913 Offline
                  maxiking913
                  wrote on last edited by maxiking913
                  #158

                  Screenshot 2023-07-27 075353.png
                  this is after last killcam and after the game scoreboard. you get dced and cant reconnect to the server anymore but server still running and sending hearthbeat

                  this is my last lines in the server config. i leave it simple for now since "debugging" the problem

                  //////////////////////////////////////////////////
                  // Current Rotation (Edit to your liking)       //
                  //////////////////////////////////////////////////
                  
                  set sv_maprotation "exec tdm.cfg map mp_dockside"
                  
                  //////////////////////////////////////////////////////////////////
                  // Black ops II Multiplayer mapvote                             //
                  //                                      Developed by @DoktorSAS //
                  //////////////////////////////////////////////////////////////////
                  set mv_enable           1                     // Enable/Disable the mapvote
                  set mv_maps             "mp_carrier mp_dig mp_drone mp_express"                    // Lits of maps that can be voted on the mapvote, leave empty for all maps
                  set mv_excludedmaps     ""                    // Lis of maps you don't want to show in the mapvote
                  set mv_time             20                    // Time to vote
                  set mv_credits          1                     // Enable/Disable credits of the mod creator
                  set mv_socialname       "SocialName"          // Name of the server social such as Discord, Twitter, Website, etc
                  set mv_sentence         "Thanks for playing"  // Thankfull sentence
                  set mv_votecolor        "5"                   // Color of the Vote Number
                  set mv_arrowcolor       "white"               // RGB Color of the arrows
                  set mv_selectcolor      "lighgreen"           // RGB Color when map get voted
                  set mv_backgroundcolor  "grey"                // RGB Color of map background
                  set mv_blur             "3"                   // Blur effect power
                  set mv_gametype         ""                    // This dvar can be used to have multiple gametypes with different maps, with this dvar you can load gamemode
                  set mv_extramaps        0                     // Enable 6 maps mapvote when set to 1 
                  
                  
                  //Congratulations. You reached the end of this file. Leave map_rotate down below or else the server will not start after launch...
                  map_rotate
                  

                  Sorex

                  1 Reply Last reply
                  0
                  • ItsYekim Offline
                    ItsYekim Offline
                    ItsYekim
                    wrote on last edited by
                    #159

                    Sorex Hey bro I did everything right and it got added in zombies but im not sure what to do since it keeps going back to the map I have enabled in the dedicated_zm.cfg. Is there something specific I need to do in for the sv_maprotation

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

                      ItsYekim & maxiking913
                      Plutonium should have reverted the compiler issue. Idk if the issue is related to that but i don't think so.

                      Check better your cfg files.
                      Do some checks, like:

                      1. Check if the gsc file load
                      2. Check if the dvar mv_enable is set to one
                      3. Check if mv_maps is set to the value you intended to set

                      Once I have some free time i'll do an investigation. But others use it so it should work fine.
                      Mess with the config and play with it. See what happen and report the results.

                      Thanks.

                      ItsYekim 1 Reply Last reply
                      0
                      • Sorex Sorex

                        ItsYekim & maxiking913
                        Plutonium should have reverted the compiler issue. Idk if the issue is related to that but i don't think so.

                        Check better your cfg files.
                        Do some checks, like:

                        1. Check if the gsc file load
                        2. Check if the dvar mv_enable is set to one
                        3. Check if mv_maps is set to the value you intended to set

                        Once I have some free time i'll do an investigation. But others use it so it should work fine.
                        Mess with the config and play with it. See what happen and report the results.

                        Thanks.

                        ItsYekim Offline
                        ItsYekim Offline
                        ItsYekim
                        wrote on last edited by
                        #161
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • maxiking913 Offline
                          maxiking913 Offline
                          maxiking913
                          wrote on last edited by
                          #162

                          idk what happend but seemd it has sth to do with plutonium. update today and worked. didnt change anythin

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

                            Update

                            Version 1.1.1

                            • Implemented mv_allowchangevote dvar to allow or not the player to change his vote when time is still running
                              • Massive code reorganization for better readability
                              • Optimized of resources
                              • Implemented mv_minplayerstovote dvar to set the minimum number of players required to start the mapvote

                            Version 1.1.2

                            • Implemented LUA/LUI UI support for mod support with controller support
                              • Implemented mv_randomoption dvar that will not display which map and which gametype the last option will be (Random)
                              • Implemented mv_minplayerstovote dvar to set the minimum number of players required to start the mapvote
                            1 Reply Last reply
                            0
                            • alejandrodarz alejandrodarz

                              Sorex I was going to tell you about another bug but with the notification you solved it and it was that at the end after the killcam the iprint does not appear, that is, it does not appear the maps that the players vote

                              YouTube Meckz Offline
                              YouTube Meckz Offline
                              YouTube Meckz
                              wrote on last edited by
                              #164

                              alejandrodarz i was wondering if you ever found the fix to this because im having the same problem currently

                              1 Reply Last reply
                              0
                              • Sdji Offline
                                Sdji Offline
                                Sdji
                                wrote on last edited by
                                #165

                                supercalifragilisticexpialidocious

                                1 Reply Last reply
                                0
                                • TheRussianPo Offline
                                  TheRussianPo Offline
                                  TheRussianPo
                                  wrote on last edited by
                                  #166

                                  yo whats goodie my gang

                                  NikoNikoNiiiiii 1 Reply Last reply
                                  0
                                  • TheRussianPo TheRussianPo

                                    yo whats goodie my gang

                                    NikoNikoNiiiiii Offline
                                    NikoNikoNiiiiii Offline
                                    NikoNikoNiiiiii
                                    wrote on last edited by
                                    #167

                                    TheRussianPo can i be part of your gang🕶 😎

                                    1 Reply Last reply
                                    0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


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

                                    • Don't have an account? Register

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