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.
  • alejandrodarzundefined Offline
    alejandrodarzundefined Offline
    alejandrodarz
    wrote on last edited by
    #35

    Sorex Estoy utilizando esta función para que el mapvote se ejecute cuando no hay kills.

    ontimelimit(){
    level waittill("game_ended");

    if(!getKills() && waslastround()){
    wait 7;
         level notify( "play_final_killcam" );
    //llamar el mapvote aqui
     level notify( "final_killcam_done" );
    }
    

    }

    alejandrodarzundefined 1 Reply Last reply
    0
    • alejandrodarzundefined alejandrodarz

      Sorex Estoy utilizando esta función para que el mapvote se ejecute cuando no hay kills.

      ontimelimit(){
      level waittill("game_ended");

      if(!getKills() && waslastround()){
      wait 7;
           level notify( "play_final_killcam" );
      //llamar el mapvote aqui
       level notify( "final_killcam_done" );
      }
      

      }

      alejandrodarzundefined Offline
      alejandrodarzundefined Offline
      alejandrodarz
      wrote on last edited by
      #36

      alejandrodarz es por si lo deseas implementar en el mapvote. saludos

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

        alejandrodarz i fixed all now i release the new version with fix

        alejandrodarzundefined 1 Reply Last reply
        0
        • Sorexundefined Sorex

          alejandrodarz i fixed all now i release the new version with fix

          alejandrodarzundefined Offline
          alejandrodarzundefined Offline
          alejandrodarz
          wrote on last edited by
          #38

          Sorex discúlpame me equivoqué escribiendo el código el level notify( "play_final_killcam" ); va antes de wait porque en shearch and destroy se termina antes de los 7 segundos y no da tiempo a pausar el juego para votar y el wait lo modifiqué para 10 segundos para que el mapvote no tuviera conflicto con ningun mensaje del juego al final. Saludos

          alejandrodarzundefined 1 Reply Last reply
          0
          • alejandrodarzundefined alejandrodarz

            Sorex discúlpame me equivoqué escribiendo el código el level notify( "play_final_killcam" ); va antes de wait porque en shearch and destroy se termina antes de los 7 segundos y no da tiempo a pausar el juego para votar y el wait lo modifiqué para 10 segundos para que el mapvote no tuviera conflicto con ningun mensaje del juego al final. Saludos

            alejandrodarzundefined Offline
            alejandrodarzundefined Offline
            alejandrodarz
            wrote on last edited by
            #39

            alejandrodarz Por todo lo demas todo ok, me funcionó en todos los modos de juego.

            1 Reply Last reply
            0
            • chacha18undefined Offline
              chacha18undefined Offline
              chacha18
              wrote on last edited by
              #40

              Hi Sorex !

              Thank you for this super-useful-mod !

              I have a problem getting it to work...
              I think I did everything you ask, I even follow the YouTube tutorial.
              Now I have the map vote menu at the end of the game but:

              • its really very fast, I have like 1 or maybe 2 sec to choose the map...
              • there are some glitches after I choose the map: map strikers became purple / blue flickering
              • the next map is still the same

              Other things:

              • if I remove "exec blabla.cfg" from my map list, the gametype keep being TDM, so I let exec gun.exe in front of the only map I let
              • my cfg(s) are in Gamedir\main, I put your file in Gamedir\t6r\data\maps\mp\gametypes. Is it right ? (my gamesettings dir is in Gamedir\main dir)
              chacha18undefined 1 Reply Last reply
              0
              • chacha18undefined chacha18

                Hi Sorex !

                Thank you for this super-useful-mod !

                I have a problem getting it to work...
                I think I did everything you ask, I even follow the YouTube tutorial.
                Now I have the map vote menu at the end of the game but:

                • its really very fast, I have like 1 or maybe 2 sec to choose the map...
                • there are some glitches after I choose the map: map strikers became purple / blue flickering
                • the next map is still the same

                Other things:

                • if I remove "exec blabla.cfg" from my map list, the gametype keep being TDM, so I let exec gun.exe in front of the only map I let
                • my cfg(s) are in Gamedir\main, I put your file in Gamedir\t6r\data\maps\mp\gametypes. Is it right ? (my gamesettings dir is in Gamedir\main dir)
                chacha18undefined Offline
                chacha18undefined Offline
                chacha18
                wrote on last edited by
                #41

                chacha18

                as an example, I just tryied in my gungame server.
                At the end I quickly chose mp_frostbite, then I saw a message like "frost won vote.." but then the server reload the same map...

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

                  chacha18

                  1. For the time there 10 seconds to vote now i make it customizable time with a dvar in the config file ( i'll release a tiny update today )
                  2. Is werid everything should work fine, have you set sv_mapRotation correctly? Like sv_mapRotatoion "map mp_raid"
                  3. gun.exe ? the game mode are .cfg files, and you need to have this .cfg files in your game folder
                  chacha18undefined 1 Reply Last reply
                  0
                  • Sorexundefined Sorex

                    chacha18

                    1. For the time there 10 seconds to vote now i make it customizable time with a dvar in the config file ( i'll release a tiny update today )
                    2. Is werid everything should work fine, have you set sv_mapRotation correctly? Like sv_mapRotatoion "map mp_raid"
                    3. gun.exe ? the game mode are .cfg files, and you need to have this .cfg files in your game folder
                    chacha18undefined Offline
                    chacha18undefined Offline
                    chacha18
                    wrote on last edited by
                    #43

                    Sorex

                    • cool for the new update ! In the version I download its not 10 sec... maybe I didnt download the right one ?
                    • I think I set it up correctly... my map rotation was working well before, I just remove everything except the first map and then the server start with this map but not in the correct gametype, so I at to put back "exec gun.cfg" (not .exe, I misswrite it in my previous post).
                    • read previous line;)
                    1 Reply Last reply
                    0
                    • Sorexundefined Offline
                      Sorexundefined Offline
                      Sorex
                      Contributor
                      wrote on last edited by
                      #44

                      chacha18
                      New version has been pushed, everything work fine. Remeber you need to have the .cfg files in your server folder. 👍 😊

                      chacha18undefined 1 Reply Last reply
                      0
                      • Sorexundefined Sorex

                        chacha18
                        New version has been pushed, everything work fine. Remeber you need to have the .cfg files in your server folder. 👍 😊

                        chacha18undefined Offline
                        chacha18undefined Offline
                        chacha18
                        wrote on last edited by
                        #45

                        Sorex

                        Thx ! Ill try that in hours 😉
                        But, what do you mean by "you need to have the .cfg files in your server folder." ?
                        Mines are in the main folder, its not good ?

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

                          chacha18
                          You need this Server Config, inside this folders there gamesetings folder and inside this there all the gamemode files you can call. There no default files for the gamemode

                          chacha18undefined 1 Reply Last reply
                          0
                          • Sorexundefined Sorex

                            chacha18
                            You need this Server Config, inside this folders there gamesetings folder and inside this there all the gamemode files you can call. There no default files for the gamemode

                            chacha18undefined Offline
                            chacha18undefined Offline
                            chacha18
                            wrote on last edited by
                            #47

                            Sorex
                            that's what I have except GameSetting was in main/.
                            I tested again with putting everything at the right place.
                            Its better ! I was able to use the menu one time, the second time the server crashed…

                            But I'm on Linux/Wine, maybe it is the reason, my server used to crash once / twice a day those time...

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

                              chacha18
                              Can be wine, wine use a lot of CPU. You can ask on the forum if someone have any hint to host on linux in a better way.
                              I used windows and everything work fine

                              chacha18undefined 1 Reply Last reply
                              0
                              • Sorexundefined Sorex

                                chacha18
                                Can be wine, wine use a lot of CPU. You can ask on the forum if someone have any hint to host on linux in a better way.
                                I used windows and everything work fine

                                chacha18undefined Offline
                                chacha18undefined Offline
                                chacha18
                                wrote on last edited by
                                #49

                                Sorex

                                Yes.. A lot is even not enough to describe how much it consumes 🙂
                                Thats annoying .. But virtualized windows consume more RAM, so I had to make a choice... !

                                1 Reply Last reply
                                0
                                • JezuzLizardundefined Offline
                                  JezuzLizardundefined Offline
                                  JezuzLizard
                                  Plutonium Staff
                                  wrote on last edited by
                                  #50

                                  Nice to see this is complete. Is it possible for you to make a zombies version in a similar way?

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

                                    JezuzLizard Yes it is possibile, make it when game start is easier but make when the game end is a little bit harder. But i will make it 🙂

                                    1 Reply Last reply
                                    0
                                    • TTV_WIZEQCundefined Offline
                                      TTV_WIZEQCundefined Offline
                                      TTV_WIZEQC
                                      Contributor
                                      wrote on last edited by
                                      #52

                                      hi i put your mod on my server for now all working good but i have aonly one problem when exemple we vote hijacked the server will put an other map why ? here is my sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_la map mp_dockside map mp_carrier map mp_drone map mp_express map mp_hijacked map mp_meltdown map mp_overflow map mp_nightclub map mp_raid map mp_slums map mp_village map mp_turbine map mp_socotra"

                                      i need to put only one map in ?

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

                                        TTV_WIZEQC Yes, you have to put only one map. My bad. I did not make this step on the video and i did not added this on the guide. Now i add this information.

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

                                          New Update

                                          I made a big update, I recommend anyone who was using my mapvote to upgrade to the new version. I fixied some issues and optimizied the code. I added the Mapselection. In case of testing you can use map selection to change the map. I find mapselection very useful when testing things on specific maps.
                                          I am doing this replay to highlight the new update and that if any bugs occur it would be very helpful to report the issue under this post. Unfortunately, I don't have the opportunity to test it sufficiently.
                                          Thanks for reading

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 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