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.
  • Sosuuundefined Offline
    Sosuuundefined Offline
    Sosuu
    wrote on last edited by
    #142

    hey ! I was a little confused about the mod. Specifically, I mean im confused about how to add multiple game types. When I try to run the server it works normally for the first game. But upon the map voting section all 3 maps are in FFA, and when going into the game the scoreboard does not work.

    TL;DR,
    I just want to add FFA, Domination, TDM, and CTF to the gametype rotation pool but im unsure how to do so.

    (I think its just me specifying the gametypes wrong in the CFG, probably malformatted.

    Sorexundefined 1 Reply Last reply
    0
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex Contributor
      replied to Sosuu on last edited by
      #143

      Sosuu
      If you look at the guide is writtend how to do that there.

      To add support for multiple gametypes you need to edit the dvar like that :

      set mv_gametypes "dm;freeforall.cfg war;mycustomtdm.cfg"
      

      dm is the g_gametype and freeforall.cfg is the custom file to execute if you want set specific setting for that gamemode.

      Sosuuundefined 1 Reply Last reply
      0
      • Sosuuundefined Offline
        Sosuuundefined Offline
        Sosuu
        replied to Sorex on last edited by
        #144

        Sorex said in [Release] Black ops II Mapvote for Zombies and Multiplayer:

        dm;freeforall.cfg war;mycustomtdm.cfg

        this seemed to fix the "free for all" issue, but now it is only playing the first specified gamemode on the line

        CopgunPlaysundefined 1 Reply Last reply
        0
        • CopgunPlaysundefined Offline
          CopgunPlaysundefined Offline
          CopgunPlays
          replied to Sosuu on last edited by
          #145

          Sosuu This is the same issue I'm having currently.

          exp111undefined 1 Reply Last reply
          0
          • exp111undefined Offline
            exp111undefined Offline
            exp111
            replied to CopgunPlays on last edited by
            #146

            CopgunPlays same issue here. Managed to work around it by only giving the gamemodes („dm tdm gun“) but that fucks with some modes (like kill confirmed having 9999 points for each team and not being able to view the scoreboard)

            1 Reply Last reply
            0
            • Sasino97undefined Offline
              Sasino97undefined Offline
              Sasino97
              wrote on last edited by
              #147

              I'm unable to compile it using GSC Tool.

              [ERROR]:compiler:mapvote.gsc:177:39: local variable 'g1' not found at mapvote.gsc
              

              And before this I had another issue with encoding, but I figured it out, basically the file is UTF8 with BOM, I converted it to standard UTF8 and it is now able to at least parse it, however I have the above issue.

              The error above may be caused by the original scripters using a different compiler, if so, why doesn't the readme/description specify which compiler instead of just saying "use a gsc compiler"? However, I'd prefer to just fix these compile errors using the GSC Tool, because it seems it's the most supported one now; I have no GSC experience at all, but I have a C, Java and C# background.

              Any help is appreciated 🙏

              Resxtundefined 1 Reply Last reply
              0
              • Resxtundefined Offline
                Resxtundefined Offline
                Resxt Plutonium Staff
                replied to Sasino97 on last edited by
                #148

                Sasino97 you don't have to use any compiler

                Sasino97undefined 1 Reply Last reply
                0
                • Sasino97undefined Offline
                  Sasino97undefined Offline
                  Sasino97
                  replied to Resxt on last edited by
                  #149

                  Resxt Thanks for the info, but it's just to make sure that it still works after any customization I make, and that there are no errors.
                  Btw the issue above was solved by using the master branch instead of release 1.0.0.

                  Resxtundefined 1 Reply Last reply
                  0
                  • Resxtundefined Offline
                    Resxtundefined Offline
                    Resxt Plutonium Staff
                    replied to Sasino97 on last edited by
                    #150

                    Sasino97 the game has a compiler built-in

                    Sasino97undefined 1 Reply Last reply
                    1
                    • Sasino97undefined Offline
                      Sasino97undefined Offline
                      Sasino97
                      replied to Resxt on last edited by
                      #151

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

                      Resxtundefined 1 Reply Last reply
                      0
                      • Resxtundefined Offline
                        Resxtundefined Offline
                        Resxt Plutonium Staff
                        replied to Sasino97 on last edited by
                        #152

                        Sasino97 in the middle of your screen lol

                        1 Reply Last reply
                        0
                        • Echostarsundefined Offline
                          Echostarsundefined 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
                          • Echostarsundefined Offline
                            Echostarsundefined Offline
                            Echostars
                            replied to Sorex on last edited by
                            #154

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

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

                              Sorexundefined 1 Reply Last reply
                              0
                              • Sorexundefined Offline
                                Sorexundefined Offline
                                Sorex Contributor
                                replied to maxiking913 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

                                maxiking913undefined 1 Reply Last reply
                                0
                                • maxiking913undefined Offline
                                  maxiking913undefined Offline
                                  maxiking913
                                  replied to Sorex 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
                                  • maxiking913undefined Offline
                                    maxiking913undefined 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
                                    • ItsYekimundefined Offline
                                      ItsYekimundefined 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
                                      • Sorexundefined Offline
                                        Sorexundefined 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.

                                        ItsYekimundefined 1 Reply Last reply
                                        0
                                        • ItsYekimundefined Offline
                                          ItsYekimundefined Offline
                                          ItsYekim
                                          replied to Sorex on last edited by
                                          #161
                                          This post is deleted!
                                          1 Reply Last reply
                                          0

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