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 39.1k 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 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
                          • 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
                            #121
                            This post is deleted!
                            hindercanrunundefined 1 Reply Last reply
                            0
                            • Ghost420_undefined Ghost420_

                              This post is deleted!

                              hindercanrunundefined Offline
                              hindercanrunundefined Offline
                              hindercanrun
                              wrote on last edited by hindercanrun
                              #122

                              @CamouflageLvCat maybe don’t post your email here
                              and somewhere safe like discord dms

                              Ghost420_undefined 2 Replies Last reply
                              0
                              • hindercanrunundefined hindercanrun

                                @CamouflageLvCat maybe don’t post your email here
                                and somewhere safe like discord dms

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

                                hindercanrun yes .. it was published .. in the same way thanks ..

                                1 Reply Last reply
                                0
                                • hindercanrunundefined hindercanrun

                                  @CamouflageLvCat maybe don’t post your email here
                                  and somewhere safe like discord dms

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

                                  hindercanrun
                                  I'm asking "Sorex"

                                  hindercanrunundefined 1 Reply Last reply
                                  0
                                  • Ghost420_undefined Ghost420_

                                    hindercanrun
                                    I'm asking "Sorex"

                                    hindercanrunundefined Offline
                                    hindercanrunundefined Offline
                                    hindercanrun
                                    wrote on last edited by
                                    #125

                                    @CamouflageLvCat doesn’t mean u have to post ur email

                                    1 Reply Last reply
                                    0
                                    • Ghost420_undefined Offline
                                      Ghost420_undefined Offline
                                      Ghost420_
                                      wrote on last edited by
                                      #126

                                      please ..could you let Sorex answer me ..thanks!

                                      1 Reply Last reply
                                      0
                                      • hindercanrunundefined Offline
                                        hindercanrunundefined Offline
                                        hindercanrun
                                        wrote on last edited by
                                        #127

                                        maybe wait abit

                                        1 Reply Last reply
                                        0
                                        • Ghost420_undefined Offline
                                          Ghost420_undefined Offline
                                          Ghost420_
                                          wrote on last edited by
                                          #128

                                          hindercanrun
                                          yes I have no problem waiting... but please... don't answer anymore... now please ask again to "Sorex" -... please don't answer here anymore...! let's hope "Sorex " responds..

                                          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
                                          • 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