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 34.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
    #101

    @CamouflageLvCat
    Just set mv_gametypes to "war" or don't enable random gametypes

    Ghost420_undefined 1 Reply Last reply
    1
    • Sorexundefined Sorex

      @CamouflageLvCat
      Just set mv_gametypes to "war" or don't enable random gametypes

      Ghost420_undefined Offline
      Ghost420_undefined Offline
      Ghost420_
      wrote on last edited by
      #102

      Sorex
      thanks for your quick response! ..but yes ..that is what I am doing ..I have tried in different ways ..for example ..
      "set mv_gametypes "war;tdm.cfg"
      "set mv_gametypes "tdm.cfg"
      set mv_gametypes "war"
      but none of these work for me.
      Always when starting a map starts "free for all"
      could it be that it is badly compiled .. ?

      this is my map rotate ..

      sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid"

      and this is the config that I copied into my "dedicated.cfg"

      set mv_enable 1 // Enable/Disable the mapvote
      set mv_maps "mp_nuketown_2020 mp_hijacked mp_raid" // List of maps that can be voted on the mapvote, leave empty for all maps
      set mv_excludedmaps "" // List of maps you don't want to show in the mapvote
      set mv_time 10 // Time to vote
      set mv_socialname "" // Name of the social server such as Discord, Twitter, Website, etc
      set mv_sentence "" // Thankfull sentence
      set mv_votecolor "5" // Color of the Vote Number
      set mv_arrowcolor "white" // RGB Color of the arrows
      set mv_selectcolor "lightgreen" // RGB Color when map get voted
      set mv_backgroundcolor "grey" // RGB Color of map background
      set mv_blur "3" // Blur effect power
      set mv_gametypes "" // This dvar can be used to have multiple gametypes with different maps, with this dvar you can load gamemode cfg files

      Sorexundefined 1 Reply Last reply
      0
      • Ghost420_undefined Ghost420_

        Sorex
        thanks for your quick response! ..but yes ..that is what I am doing ..I have tried in different ways ..for example ..
        "set mv_gametypes "war;tdm.cfg"
        "set mv_gametypes "tdm.cfg"
        set mv_gametypes "war"
        but none of these work for me.
        Always when starting a map starts "free for all"
        could it be that it is badly compiled .. ?

        this is my map rotate ..

        sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid"

        and this is the config that I copied into my "dedicated.cfg"

        set mv_enable 1 // Enable/Disable the mapvote
        set mv_maps "mp_nuketown_2020 mp_hijacked mp_raid" // List of maps that can be voted on the mapvote, leave empty for all maps
        set mv_excludedmaps "" // List of maps you don't want to show in the mapvote
        set mv_time 10 // Time to vote
        set mv_socialname "" // Name of the social server such as Discord, Twitter, Website, etc
        set mv_sentence "" // Thankfull sentence
        set mv_votecolor "5" // Color of the Vote Number
        set mv_arrowcolor "white" // RGB Color of the arrows
        set mv_selectcolor "lightgreen" // RGB Color when map get voted
        set mv_backgroundcolor "grey" // RGB Color of map background
        set mv_blur "3" // Blur effect power
        set mv_gametypes "" // This dvar can be used to have multiple gametypes with different maps, with this dvar you can load gamemode cfg files

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

        @CamouflageLvCat

        Try set mv_gametypes "war war"
        Without the mapvote screenshot i can't guess the issue. But if you want just tdm just disable randomgametypes (I forgot to add that on BO2 mapvote. IW5 have it, i'll patch it).

        From what i see "in your copy of dedicated.cfg" you are not event setting that dvar

        Ghost420_undefined 2 Replies Last reply
        1
        • Sorexundefined Sorex

          @CamouflageLvCat

          Try set mv_gametypes "war war"
          Without the mapvote screenshot i can't guess the issue. But if you want just tdm just disable randomgametypes (I forgot to add that on BO2 mapvote. IW5 have it, i'll patch it).

          From what i see "in your copy of dedicated.cfg" you are not event setting that dvar

          Ghost420_undefined Offline
          Ghost420_undefined Offline
          Ghost420_
          wrote on last edited by
          #104

          Sorex
          Thanks for the answer.. i was busy..
          the screenshot of what..?
          my problem is that it starts in "freeforall", it is not visual..
          I have the server in bo2MP..
          the solution that you provide me _"WAR WAR" .. did not help me .. when changing the map it is set to "freeforall" ..

          1 Reply Last reply
          0
          • Sorexundefined Sorex

            @CamouflageLvCat

            Try set mv_gametypes "war war"
            Without the mapvote screenshot i can't guess the issue. But if you want just tdm just disable randomgametypes (I forgot to add that on BO2 mapvote. IW5 have it, i'll patch it).

            From what i see "in your copy of dedicated.cfg" you are not event setting that dvar

            Ghost420_undefined Offline
            Ghost420_undefined Offline
            Ghost420_
            wrote on last edited by Ghost420_
            #105

            Sorex !plutonium-bootstrapper-win32_2022_09_07_21_31_53_815.jpg

            that dvar was configured .. I just deleted it to put it here .. 😃 I tried several configurations there ..

            Sorexundefined 1 Reply Last reply
            0
            • Ghost420_undefined Ghost420_

              Sorex !plutonium-bootstrapper-win32_2022_09_07_21_31_53_815.jpg

              that dvar was configured .. I just deleted it to put it here .. 😃 I tried several configurations there ..

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

              @CamouflageLvCat
              If start on free for all it mean that the issue is on your sv_maprotation if you execute dm.cfg it will start on ffa. The mapvote will not change the first gamemode.

              set the sv_maprotation to something like "exec war.cfg map mp_carriere" for exemple

              Ghost420_undefined 1 Reply Last reply
              1
              • Sorexundefined Sorex

                @CamouflageLvCat
                If start on free for all it mean that the issue is on your sv_maprotation if you execute dm.cfg it will start on ffa. The mapvote will not change the first gamemode.

                set the sv_maprotation to something like "exec war.cfg map mp_carriere" for exemple

                Ghost420_undefined Offline
                Ghost420_undefined Offline
                Ghost420_
                wrote on last edited by
                #107

                Sorex hey .. thanks for your support brother .. but .. it's weird .. because I have like this .. I mean "war" .it doesn't exist .. I have "tdm" and for freforall .."dm"
                this is my map rotation..
                sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid"

                2022-09-08 06_39_08-C__Users_Windows8.1_AppData_Local_Plutonium_storage_t6_gamesettings.jpg

                Sorexundefined 1 Reply Last reply
                0
                • Ghost420_undefined Ghost420_

                  Sorex hey .. thanks for your support brother .. but .. it's weird .. because I have like this .. I mean "war" .it doesn't exist .. I have "tdm" and for freforall .."dm"
                  this is my map rotation..
                  sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid"

                  2022-09-08 06_39_08-C__Users_Windows8.1_AppData_Local_Plutonium_storage_t6_gamesettings.jpg

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

                  @CamouflageLvCat
                  Then "exec tdm.cfg map mp_nuketown_2020" its fine. You don't need anything else. If the server start with another gamemode its not mapvote issue is your issue.

                  If you keep have the issue ask on public chat on the discord or make a forum post related to that.

                  Ghost420_undefined 1 Reply Last reply
                  1
                  • Sorexundefined Sorex

                    @CamouflageLvCat
                    Then "exec tdm.cfg map mp_nuketown_2020" its fine. You don't need anything else. If the server start with another gamemode its not mapvote issue is your issue.

                    If you keep have the issue ask on public chat on the discord or make a forum post related to that.

                    Ghost420_undefined Offline
                    Ghost420_undefined Offline
                    Ghost420_
                    wrote on last edited by Ghost420_
                    #109

                    Sorex great friend! i followed your logic but with my cfg filenames... and it worked.. i just typed "tdm tdm"

                    only that "invalid" appears where it should say "teamdeathmatch"

                    plutonium-bootstrapper-win32_2022_09_08_07_08_57_694.jpg

                    Sorexundefined 1 Reply Last reply
                    1
                    • Ghost420_undefined Ghost420_

                      Sorex great friend! i followed your logic but with my cfg filenames... and it worked.. i just typed "tdm tdm"

                      only that "invalid" appears where it should say "teamdeathmatch"

                      plutonium-bootstrapper-win32_2022_09_08_07_08_57_694.jpg

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

                      @CamouflageLvCat
                      Because tdm is not a g_gametype valid name you need to have war for tdm. g_gametype don't need to match your .cfg files

                      Ghost420_undefined 1 Reply Last reply
                      0
                      • Sorexundefined Sorex

                        @CamouflageLvCat
                        Because tdm is not a g_gametype valid name you need to have war for tdm. g_gametype don't need to match your .cfg files

                        Ghost420_undefined Offline
                        Ghost420_undefined Offline
                        Ghost420_
                        wrote on last edited by
                        #111

                        Sorex The truth is that it works well this way.. I'm going to try some things and if it continues like this, it doesn't matter.. it performs the function perfectly.. thank you very much sir..

                        1 Reply Last reply
                        0
                        • hindercanrunundefined hindercanrun

                          @CamouflageLvCat put the compiler on ur desktop

                          Ghost420_undefined Offline
                          Ghost420_undefined Offline
                          Ghost420_
                          wrote on last edited by
                          #112

                          hindercanrun
                          thank you very much for your answer 😃 .. if it was on the desktop 😃

                          1 Reply Last reply
                          0
                          • Shinaiiundefined Offline
                            Shinaiiundefined Offline
                            Shinaii
                            Contributor
                            wrote on last edited by
                            #113

                            Maybe i am just confused due to lack of sleep but my mv_gametypes looks something like this right now for my Party mode Server

                            set mv_gametypes "gun;gun.cfg oic;oic.cfg sas;sas.cfg shrp;shrp.cfg"
                            

                            For some reason it just has Gungame in Rotation but when i do something like this

                            set mv_gametypes "war;gun.cfg war;oic.cfg war;sas.cfg war;shrp.cfg"
                            

                            Everything shows as Invalid (Expected TDM in Mapvote) but with rotation of Gungame, One in the Chamber etc.

                            So Basically its loading all Gamemodes in a rotation.

                            Can anyone maybe explain me the logic behind the Gametype rotation with specific Config file? because i can't get it running with it.

                            Sorexundefined 1 Reply Last reply
                            0
                            • Shinaiiundefined Shinaii

                              Maybe i am just confused due to lack of sleep but my mv_gametypes looks something like this right now for my Party mode Server

                              set mv_gametypes "gun;gun.cfg oic;oic.cfg sas;sas.cfg shrp;shrp.cfg"
                              

                              For some reason it just has Gungame in Rotation but when i do something like this

                              set mv_gametypes "war;gun.cfg war;oic.cfg war;sas.cfg war;shrp.cfg"
                              

                              Everything shows as Invalid (Expected TDM in Mapvote) but with rotation of Gungame, One in the Chamber etc.

                              So Basically its loading all Gamemodes in a rotation.

                              Can anyone maybe explain me the logic behind the Gametype rotation with specific Config file? because i can't get it running with it.

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

                              Shinaii

                              The gametype things is a little bit complicated. I'll probably work on an update to make it easier to understand.

                              If you use the version in releases the ';' it the symbol to split g_gametypes and his respective file. In the source code version there is an error that i need to fix. I use the '@' symbol to split the dvar but the ui still use the ';' symbol.
                              What happened problably is caused by an error on the code.

                              I'll take a look into it and patch it.

                              Update

                              Now the symbol used to split gametype is the ';'. Everything should work fine. Download the mod from the github and not the release section.
                              Test the code and let me know if you find any other issues to patch.

                              Shinaiiundefined 1 Reply Last reply
                              0
                              • Sorexundefined Sorex

                                Shinaii

                                The gametype things is a little bit complicated. I'll probably work on an update to make it easier to understand.

                                If you use the version in releases the ';' it the symbol to split g_gametypes and his respective file. In the source code version there is an error that i need to fix. I use the '@' symbol to split the dvar but the ui still use the ';' symbol.
                                What happened problably is caused by an error on the code.

                                I'll take a look into it and patch it.

                                Update

                                Now the symbol used to split gametype is the ';'. Everything should work fine. Download the mod from the github and not the release section.
                                Test the code and let me know if you find any other issues to patch.

                                Shinaiiundefined Offline
                                Shinaiiundefined Offline
                                Shinaii
                                Contributor
                                wrote on last edited by Shinaii
                                #115

                                Sorex So i tested the Code a little and the biggest problem now is that it basically says what mode could be voted for but for some reason the sv_maprotation overrides it now and puts up the config that is in exec.

                                Plus after the first vote its stuck, so i choose for a test Downhill - TDM no matter what i vote after wards it stays Downhill but not TDM its stuck on Free for all but the scoreboard is broken

                                Bild Text

                                And to end all of it Mode Rotation still doesn't work its only TDM even tho i've put several Modes down.

                                Sorexundefined 1 Reply Last reply
                                0
                                • Shinaiiundefined Shinaii

                                  Sorex So i tested the Code a little and the biggest problem now is that it basically says what mode could be voted for but for some reason the sv_maprotation overrides it now and puts up the config that is in exec.

                                  Plus after the first vote its stuck, so i choose for a test Downhill - TDM no matter what i vote after wards it stays Downhill but not TDM its stuck on Free for all but the scoreboard is broken

                                  Bild Text

                                  And to end all of it Mode Rotation still doesn't work its only TDM even tho i've put several Modes down.

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

                                  Shinaii dm me on discord/twitter or join my discord server
                                  Discord: DoktorSAS#1141
                                  Twitter: DoktorSAS

                                  Note:
                                  I can't reproduce your issue. Could be something wrong in your code.

                                  Shinaiiundefined 1 Reply Last reply
                                  0
                                  • Sorexundefined Sorex

                                    Shinaii dm me on discord/twitter or join my discord server
                                    Discord: DoktorSAS#1141
                                    Twitter: DoktorSAS

                                    Note:
                                    I can't reproduce your issue. Could be something wrong in your code.

                                    Shinaiiundefined Offline
                                    Shinaiiundefined Offline
                                    Shinaii
                                    Contributor
                                    wrote on last edited by
                                    #117

                                    Sorex I've added you

                                    Sorexundefined 1 Reply Last reply
                                    0
                                    • Shinaiiundefined Shinaii

                                      Sorex I've added you

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

                                      Shinaii
                                      I have 46 unaccepted request whats your username?

                                      Shinaiiundefined 1 Reply Last reply
                                      0
                                      • Sorexundefined Sorex

                                        Shinaii
                                        I have 46 unaccepted request whats your username?

                                        Shinaiiundefined Offline
                                        Shinaiiundefined Offline
                                        Shinaii
                                        Contributor
                                        wrote on last edited by
                                        #119

                                        Sorex Same as here. I'll write you if you don't have blocked DM's with Mutual Servers.

                                        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

                                          Ghost420_undefined Offline
                                          Ghost420_undefined Offline
                                          Ghost420_
                                          wrote on last edited by
                                          #120
                                          This post is deleted!
                                          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