Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • Donate
Collapse
Home Docs Stats Discord Donate
Download
  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
66 Posts 13 Posters 27.3k Views 2 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.
  • PanDaemonAeon PanDaemonAeon
    [[topic:post-is-deleted]]
    Resxt
    Resxt
    Resxt
    Plutonium Staff
    wrote on last edited by
    #57
    This post is deleted!
    PanDaemonAeon 1 Reply Last reply
    0
    • Resxt Resxt
      [[topic:post-is-deleted]]
      PanDaemonAeon
      PanDaemonAeon
      PanDaemonAeon
      wrote on last edited by
      #58
      This post is deleted!
      1 Reply Last reply
      0
      • Bkilla03
        Bkilla03
        Bkilla03
        wrote on last edited by
        #59

        Anyway to add more modes and maps?

        Resxt 1 Reply Last reply
        0
        • Bkilla03 Bkilla03

          Anyway to add more modes and maps?

          Resxt
          Resxt
          Resxt
          Plutonium Staff
          wrote on last edited by
          #60

          Bkilla03 more than what? Dvars are documented

          1 Reply Last reply
          0
          • notMeks notMeks referenced this topic on
          • Resxt Resxt referenced this topic on
          • Resxt Resxt referenced this topic on
          • Smudge62
            Smudge62
            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.

            Resxt 1 Reply Last reply
            0
            • Smudge62 Smudge62

              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.

              Resxt
              Resxt
              Resxt
              Plutonium Staff
              wrote 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
              
              Smudge62 1 Reply Last reply
              0
              • Resxt Resxt

                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
                
                Smudge62
                Smudge62
                Smudge62
                wrote 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
                • BigBeanflicker69
                  BigBeanflicker69
                  BigBeanflicker69
                  wrote on last edited by
                  #64
                  This post is deleted!
                  1 Reply Last reply
                  0
                  • Resxt Resxt referenced this topic on
                  • Ghy54-
                    Ghy54-
                    Ghy54-
                    Banned
                    wrote on last edited by
                    #65
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • Resxt Resxt referenced this topic on
                    • Resxt
                      Resxt
                      Resxt
                      Plutonium Staff
                      wrote last edited by
                      #66

                      Just pushed mapvote 2.2.0 which adds support for custom games, given that you server files installed
                      (explained at the top of the instructions on the Github)

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

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