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 18.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.
  • Sorexundefined Offline
    Sorexundefined Offline
    Sorex Contributor
    wrote on last edited by Sorex
    #1

    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

    ox0badErr0rundefined Starmannundefined Ch00chinat0rundefined Ghost420_undefined Echostarsundefined 10 Replies Last reply
    16
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex Contributor
      wrote on last edited by
      #2

      Report bugs in the comment of this post
      Report all problems and i'll fix it, everytime i'll fix a problem i'll change the version on the Post

      alejandrodarzundefined 4 Replies Last reply
      0
      • alejandrodarzundefined Offline
        alejandrodarzundefined Offline
        alejandrodarz
        replied to Sorex on last edited by
        #3

        Sorex Thank you so so so much. Any bugs you find will be reported

        1 Reply Last reply
        0
        • alejandrodarzundefined Offline
          alejandrodarzundefined Offline
          alejandrodarz
          replied to Sorex on last edited by
          #4

          Sorex I found something, it is nothing serious, I already managed and ended up solving it, the problem is basically when the game does not end and none of the teams get the maximum points but there were deaths and therefore there is finalkillcam so what happens is that when the game ends, the mapvote is loaded and when the killcam also ends, there are many solutions, I solved it that when a team obtains points, the mapvote is not executed in ontimelimit

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

            Sorex And well something that maybe you already realized but that maybe is difficult to solve is that in ontimelimit the wait at the end if you put 20 or 10 it does not finish 10 or 20 seconds and the game ends, that is, when there is no killcam.

            alejandrodarzundefined 1 Reply Last reply
            0
            • alejandrodarzundefined Offline
              alejandrodarzundefined Offline
              alejandrodarz
              replied to alejandrodarz on last edited by
              #6

              alejandrodarz Although as long as there is even one death, the killcam will come out and it is almost always there will be, since as the only one there will not be, there is only 1 player

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

                alejandrodarz i'll fix this bugs, i have to make more test on all gamemode. When i can i solve all

                alejandrodarzundefined 1 Reply Last reply
                1
                • alejandrodarzundefined Offline
                  alejandrodarzundefined Offline
                  alejandrodarz
                  replied to Sorex on last edited by alejandrodarz
                  #8

                  Sorex Look at how I solved the problem of when the game ends and there is no killcam, and well I also modified the mapvote a bit. I have tested it for the following TDM, GUN, SHRP, KOTH, DM, OIC, and SAS modes:

                  https://www.youtube.com/watch?v=X6zK7RygEHU

                  And well here is another video of how the mapvote was modified:
                  https://www.youtube.com/watch?v=29sZ7zYjpNU

                  RayAUSundefined 1 Reply Last reply
                  2
                  • alejandrodarzundefined Offline
                    alejandrodarzundefined Offline
                    alejandrodarz
                    wrote on last edited by
                    #9
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • Sorexundefined Offline
                      Sorexundefined Offline
                      Sorex Contributor
                      wrote on last edited by Sorex
                      #10

                      alejandrodarz i solved this bug, i made i tiny update, i did not check if there a players with kills. I did not att getkills() for team gamemodes, now all work fine. Can you leave the credits somewhere? I mean, you can keep my signature. Because i worked hard and i want the credits

                      alejandrodarzundefined 1 Reply Last reply
                      0
                      • alejandrodarzundefined Offline
                        alejandrodarzundefined Offline
                        alejandrodarz
                        replied to Sorex on last edited by
                        #11

                        Sorex Of course bro you deserve it, that will be there, don't worry what I taught above is my test server

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

                          alejandrodarz i added the notification before the game end, on next update i'll fix the text in mid i'll made something better then a normal text

                          alejandrodarzundefined 3 Replies Last reply
                          0
                          • alejandrodarzundefined Offline
                            alejandrodarzundefined Offline
                            alejandrodarz
                            replied to Sorex on last edited by
                            #13

                            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 Meckzundefined 1 Reply Last reply
                            0
                            • alejandrodarzundefined Offline
                              alejandrodarzundefined Offline
                              alejandrodarz
                              replied to Sorex on last edited by
                              #14

                              Sorex okok if you need something of what you saw in my video without problem you can tell me, that is to say from my point of view it would not be bad to add the sounds when changing the map or when choosing the map

                              1 Reply Last reply
                              0
                              • alejandrodarzundefined Offline
                                alejandrodarzundefined Offline
                                alejandrodarz
                                replied to Sorex on last edited by
                                #15

                                Sorex you can put a fadein and a saclefont so that it is not so rough

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

                                  Sorex I had to put the precacheshader of the gradient in init () below where it was I did not want to load

                                  1 Reply Last reply
                                  0
                                  • alejandrodarzundefined Offline
                                    alejandrodarzundefined Offline
                                    alejandrodarz
                                    replied to Sorex on last edited by
                                    #17

                                    Sorex camera keeps moving when changing map

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

                                      alejandrodarz Have you start the thread to block the angles?

                                      alejandrodarzundefined 2 Replies Last reply
                                      0
                                      • alejandrodarzundefined Offline
                                        alejandrodarzundefined Offline
                                        alejandrodarz
                                        replied to Sorex on last edited by
                                        #19

                                        Sorex I copied exactly the file you uploaded and it does too

                                        1 Reply Last reply
                                        0
                                        • alejandrodarzundefined Offline
                                          alejandrodarzundefined Offline
                                          alejandrodarz
                                          replied to Sorex on last edited by
                                          #20

                                          Sorex https://youtu.be/wN5mXpbwgBU

                                          1 Reply Last reply
                                          0

                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 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