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.1k 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
    #64

    LeonFull Sorry my bad, i find an issue with a function and insteed of using

    maps\mp\gametypes\_globallogic_utils::registerpostroundevent(::mv_Begin);
    

    i used

    replaceFunc( maps\mp\gametypes\_killcam::finalkillcamwaiter, ::mv_finalkillcamwaiter);
    

    and i did not changed the code to make the mapvote get ignored.
    In a few minutes will be updated and fixed

    Updated, is on the same link of the 4.0.0 so press on this

    1 Reply Last reply
    0
    • A Former User? Offline
      A Former User? Offline
      A Former User
      wrote on last edited by
      #65

      Hey Sorex, nice mod 🙂

      The maps vote work well overall but I'm having trouble to make it work throught multiple gametype.
      I have try to make it work with:

      • set sv_maprotation "map mp_nuketown_2020" and set mv_gametype "gun shrp dm sas" --> the game load as tdm and the mv_gametype does not work properly

      • set sv_maprotation "exec gun.cfg map mp_nuketown_2020" and set mv_gametype "gun shrp dm sas" --> while the gametype load correctly, the mv_gametype still does not work properly

      I tryed on my own to make some tweaks to the base .gsc (implementing random gametype with the dvar gametypes, adding it to votes manager and trying to add the gametype name to server ui, adding the winner vote gametype to setrotation) but i'm not really a good c++ programmer.

      Here is what i attempted to do :
      2021_10_12_16_47_00_Window.png

      Thanks in advance for any help you are able to provide.

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

        @eryzon
        You are right, that "mv_gametype" is not a real gametype support. In fact it was made to be edited directly from the gsc code.
        The dvar "mv_gametype" represents the file to run before the map changes. Actually to do what you need you just have to edit the mapvote code and set the dvar to the name of the file plus its extension.
        In gsc it's setDvar("mv_gametype", "gun.cfg"), unfortunately I've never dedicated myself to a system integrated to mapvote but I left the possibility to make others do it either internally in my code or from an external script.

        To show the gametype on the mapvote you have to modify the mapvote script itself.

        1 Reply Last reply
        0
        • Chatmalhautundefined Offline
          Chatmalhautundefined Offline
          Chatmalhaut
          wrote on last edited by Chatmalhaut
          #67

          your script is crashing me, is there a solution?

          it crashes with the controller. and I don't have the RAID image

          1 Reply Last reply
          0
          • TheSecretDaneundefined Offline
            TheSecretDaneundefined Offline
            TheSecretDane
            wrote on last edited by
            #68

            To add to the comment above. Works fine with k+m, but with controller it crashes. Otherwise its great - its only a matter of pressing a keyboard key during final killcam.

            1 Reply Last reply
            0
            • TacTicToeundefined Offline
              TacTicToeundefined Offline
              TacTicToe
              wrote on last edited by
              #69

              Version 4.0.0 fails to load with latest Plutonium r2798

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

                TacTicToe Where did you put the file?

                TacTicToeundefined 1 Reply Last reply
                0
                • TacTicToeundefined Offline
                  TacTicToeundefined Offline
                  TacTicToe
                  replied to Sorex on last edited by
                  #71

                  Sorex mapvote.jpg

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

                    TacTicToe i hope you enable the mapvote in your cfg file. Because if you don't get any error from the gsc then it mean you did not enable it

                    1 Reply Last reply
                    0
                    • TacTicToeundefined Offline
                      TacTicToeundefined Offline
                      TacTicToe
                      wrote on last edited by
                      #73

                      servercfg.jpg

                      I assume this means it is enabled.

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

                        TacTicToe Yes, then should work as intended if files are in the correct folder and is enable

                        TacTicToeundefined 1 Reply Last reply
                        0
                        • TacTicToeundefined Offline
                          TacTicToeundefined Offline
                          TacTicToe
                          replied to Sorex on last edited by
                          #75

                          Sorex error.jpg

                          You can see in the screenshot above the script is in the right folder. It is enabled, however it does not load.

                          See attached.

                          Running latest Win2019 Server if the OS makes a difference, tho it shouldnt.

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

                            TacTicToe show where you located the script. If don't load its because its in the wrong folder, or is empty, or is not a gsc

                            TacTicToeundefined 1 Reply Last reply
                            0
                            • TacTicToeundefined Offline
                              TacTicToeundefined Offline
                              TacTicToe
                              replied to Sorex on last edited by
                              #77

                              Sorex

                              It is located here:

                              C:\Users\Administrator\AppData\Local\Plutonium\storage\t6\scripts\mp

                              mapvote.jpg

                              [0_1646339152241_mapvote.gsc](Uploading 100%)

                              The gsc came from github posted in the OP of this thread. I have not modified anything.

                              1 Reply Last reply
                              0
                              • TacTicToeundefined Offline
                                TacTicToeundefined Offline
                                TacTicToe
                                wrote on last edited by
                                #78

                                Ok, got it working. Seems to make it work you have to not be a noob and compile it first. Duh!!

                                Any news on the 5 map option?

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

                                  TacTicToe I don't have much motivation to contiunate honestly. I'm looking for ways to keep my server costs down so I'm giving priority to that.

                                  A Former User? 1 Reply Last reply
                                  0
                                  • A Former User? Offline
                                    A Former User? Offline
                                    A Former User
                                    replied to Sorex on last edited by
                                    #80

                                    Sorex What are the current specs of your current machine and how many servers are you hosting?

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

                                      Black ops II Mapvote for Zombies and Multiplayer

                                      From now on the current forum post will keep updated the code for the mapvote for both Multiplayer mode and Zombies mode. Version indicates the release version of both versions of mapvote. Official mapvote versions are written in their respective main.gsc files.

                                      • Multiplayer v1.0.2
                                        • 1.0.0:
                                          - 3 maps support
                                          - Credits, sentence and social on bottom left
                                          - Simple keyboard and controller button support
                                          - Better dvar organization
                                          - Code optimization
                                          - Reduce sharder variables to allow other mods to work as intended
                                        • 1.0.1:
                                          - Fixed client crash issue
                                          - mv_gametypes added to set g_gametype before map change
                                        • 1.0.2:
                                          - mv_gametypes now support also custom cfg files
                                      • Zombies v2.0.1
                                        • 2.0.1:
                                          - Ported new design
                                          - Timer fixed
                                          - Fixed UI animations
                                          - Removed usless functions
                                          - Fixed UI removing screen text
                                          - Added animations during vote
                                          - Fixed design issues
                                      andresito_20undefined 1 Reply Last reply
                                      1
                                      • TheRealNoobundefined Offline
                                        TheRealNoobundefined Offline
                                        TheRealNoob Contributor
                                        wrote on last edited by
                                        #82

                                        I have a big problem. Want only tdm. first round is ok but the second round is FFA without scoreboard although on the mapvote every map was with TDM.

                                        1 Reply Last reply
                                        0
                                        • andresito_20undefined Offline
                                          andresito_20undefined Offline
                                          andresito_20 Contributor
                                          replied to Sorex on last edited by
                                          #83

                                          Sorex

                                          Captura de pantalla 2022-04-29 022746.png

                                          hello sorex I have a problem in zombies, what happens is that when I vote for the corresponding map the map loads in the console and in the game but that error comes out, I tried it without totally vanilla clientids and the same thing happens. what can cause this error

                                          Sorexundefined 1 Reply Last reply
                                          0

                                          • 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