Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [MP/ZM] Black Ops II Mapvote

[MP/ZM] Black Ops II Mapvote

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
65 Posts 13 Posters 10.5k 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.
  • Ghy54-undefined Offline
    Ghy54-undefined Offline
    Ghy54-
    wrote on last edited by
    #50

    Hello, one question. How do I stop the map from appearing to vote? ..only the modes to vote appear ..the server is only "Nuketown" and I don't need "Nuketown" to appear in the vote .. I read in "notes" ..(image) .. that if there is only one mode or map hides it ..but it keeps appearing to me ..=( https://i.ibb.co/NVKySr5/2023-08-16-09-01-46-Window.jpg
    https://i.ibb.co/B2cbmrH/mpshot0015.jpg

    set mapvote_enable 1
    set mapvote_maps "Nuketown"
    set mapvote_modes "Team Deathmatch,tdm1:Domination,dom1:Capture the Flag,ctf1:Free-for-all,dm1:Kill Confirmed,conf1"
    set mapvote_colors_selected "blue"
    set mapvote_colors_unselected "white"
    set mapvote_colors_timer "blue"
    set mapvote_colors_timer_low "red"
    set mapvote_colors_help_text "white"
    set mapvote_colors_help_accent "blue"
    set mapvote_colors_help_accent_mode "standard"
    set mapvote_vote_time 15
    set mapvote_blur_level 4.5
    set mapvote_blur_fade_in_time 2
    set mapvote_horizontal_spacing 75

    Resxtundefined 1 Reply Last reply
    0
    • Resxtundefined Online
      Resxtundefined Online
      Resxt Plutonium Staff
      replied to Ghy54- on last edited by
      #51

      Ghy54- what you did is correct. The issue does not come from you.
      I tested it and it produces the result you've shown, I messed up something.
      I'll try to update that whenever I have some time, it worked last time I tried it so idk what happened

      Ghy54-undefined 1 Reply Last reply
      0
      • Ghy54-undefined Offline
        Ghy54-undefined Offline
        Ghy54-
        replied to Resxt on last edited by
        #52

        Resxt ha if imagine something like that .. well .. thank you very much! very nice your mapvote ..

        Resxtundefined 1 Reply Last reply
        0
        • Resxtundefined Online
          Resxtundefined Online
          Resxt Plutonium Staff
          replied to Ghy54- on last edited by Resxt
          #53

          Ghy54- okay so I found and fixed the issue, I implemented what we talked about for modes only and forgot to do it for when you only have one map 🤦

          I just pushed mapvote 2.1.3 which fixes this issue. Feel free to download it and let me know how it goes.
          I did a good amount of tests and everything works fine on my side with only one map or only one mode

          Thank you for your feedback which helped me fix an issue 🙂

          Ghy54-undefined 1 Reply Last reply
          1
          • Ghy54-undefined Offline
            Ghy54-undefined Offline
            Ghy54-
            replied to Resxt on last edited by
            #54

            Resxt
            brilliant ! I'm glad to see I could help someone like you .. 😃 .. we guys really enjoy being able to choose the maps we want to play .. eternally grateful .. I think I speak on behalf of all those who join my server and the they use their mapvote..!

            1 Reply Last reply
            1
            • Resxtundefined Online
              Resxtundefined Online
              Resxt Plutonium Staff
              wrote on last edited by
              #55

              Just pushed mapvote 2.1.4 that fixes a bug introduced in 2.1.2 where the very first game wouldn't have the mapvote running. This bug might not have been noticed by server owners since it only happened on the first game so I recommend updating to the latest version that fixes this

              1 Reply Last reply
              0
              • PanDaemonAeonundefined Offline
                PanDaemonAeonundefined Offline
                PanDaemonAeon
                wrote on last edited by PanDaemonAeon
                #56
                This post is deleted!
                Resxtundefined 1 Reply Last reply
                0
                • Resxtundefined Online
                  Resxtundefined Online
                  Resxt Plutonium Staff
                  replied to PanDaemonAeon on last edited by
                  #57
                  This post is deleted!
                  PanDaemonAeonundefined 1 Reply Last reply
                  0
                  • PanDaemonAeonundefined Offline
                    PanDaemonAeonundefined Offline
                    PanDaemonAeon
                    replied to Resxt on last edited by
                    #58
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • Bkilla03undefined Offline
                      Bkilla03undefined Offline
                      Bkilla03
                      wrote on last edited by
                      #59

                      Anyway to add more modes and maps?

                      Resxtundefined 1 Reply Last reply
                      0
                      • Resxtundefined Online
                        Resxtundefined Online
                        Resxt Plutonium Staff
                        replied to Bkilla03 on last edited by
                        #60

                        Bkilla03 more than what? Dvars are documented

                        1 Reply Last reply
                        0
                        • notMeksundefined notMeks referenced this topic on
                        • Resxtundefined Resxt referenced this topic on
                        • Resxtundefined Resxt referenced this topic on
                        • Smudge62undefined Offline
                          Smudge62undefined Offline
                          Smudge62
                          wrote on last edited by
                          #61

                          Awesome script, so thank you for that. Just wondered if there is any way to randomize the first map/mode? Upon loading the server, the first map under sv_maprotation in the .cfg is loaded, which for me is exec tdm.cfg map mp_hijacked.

                          Resxtundefined 1 Reply Last reply
                          0
                          • Resxtundefined Online
                            Resxtundefined Online
                            Resxt Plutonium Staff
                            replied to Smudge62 on last edited by Resxt
                            #62

                            Smudge62 thanks. Yeah that's how the game/servers handle it. I never bothered trying to override this.
                            I don't have time to look into it but it's either possible by writing a Powershell script that would replace this line and then run the .bat for you or have something in the game that detects first boot and starts the mapvote for example

                            I wrote this Powershell script for myself back when I was hosting servers for that purpose
                            It doesn't run the bat after changing the dvar but this could easily be edited to do that too

                            $modes = @('dem',
                            'dom',
                            'koth')
                            
                            $maps = @('mp_la',
                                    'mp_dockside',
                                    'mp_carrier',
                                    'mp_drone',
                                    'mp_express',
                                    'mp_hijacked',
                                    'mp_meltdown',
                                    'mp_overflow',
                                    'mp_nightclub',
                                    'mp_raid',
                                    'mp_slums',
                                    'mp_village',
                                    'mp_turbine',
                                    'mp_socotra',
                                    'mp_nuketown_2020',
                                    'mp_downhill',
                                    'mp_mirage',
                                    'mp_hydro',
                                    'mp_skate',
                                    'mp_concert',
                                    'mp_magma',
                                    'mp_vertigo',
                                    'mp_studio',
                                    'mp_uplink',
                                    'mp_bridge',
                                    'mp_castaway',
                                    'mp_paintball',
                                    'mp_dig',
                                    'mp_frostbite',
                                    'mp_pod',
                                    'mp_takeoff')
                            
                            
                            $config_file_path = 'C:\Users\Resxt\AppData\Local\Plutonium\storage\t6\dedicated.cfg'
                            
                            $random_mode = Get-Random -InputObject $modes
                            $random_map = Get-Random -InputObject $maps
                            $maprotation = 'sv_maprotation "exec '+$random_mode+'.cfg map '+$random_map+'"'
                            
                            (Get-Content $config_file_path) -replace '^(sv_maprotation.*)$', $maprotation | Out-File $config_file_path
                            
                            Smudge62undefined 1 Reply Last reply
                            0
                            • Smudge62undefined Offline
                              Smudge62undefined Offline
                              Smudge62
                              replied to Resxt on last edited by
                              #63

                              Resxt thanks for that. I'll have a play around with it and see if I can come up with something.

                              1 Reply Last reply
                              1
                              • IH8Gays05undefined Offline
                                IH8Gays05undefined Offline
                                IH8Gays05
                                wrote on last edited by
                                #64
                                This post is deleted!
                                1 Reply Last reply
                                0
                                • Resxtundefined Resxt referenced this topic on
                                • Ghy54-undefined Offline
                                  Ghy54-undefined Offline
                                  Ghy54-
                                  wrote on last edited by
                                  #65
                                  This post is deleted!
                                  1 Reply Last reply
                                  0
                                  • Resxtundefined Resxt referenced this topic on

                                  • 1
                                  • 2
                                  • 3
                                  • 4
                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Donate