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

Plutonium

  1. Home
  2. MW3 Modding Releases & Resources
  3. [MP] Modern Warfare 3 Mapvote

[MP] Modern Warfare 3 Mapvote

Scheduled Pinned Locked Moved MW3 Modding Releases & Resources
42 Posts 9 Posters 5.3k Views 1 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.
  • Farrokhundefined Offline
    Farrokhundefined Offline
    Farrokh
    wrote on last edited by
    #25

    Hello Resxt, I've tried everything but can't get it to appear, the custom game always ends and I have to change the map manually.

    I checked the path is correct, edited the values, tried setting it up using the console, even in debug mode I can't get the mapvote to show on the screen.
    Could you help me out? Let me know if there's a log file I could attach to make it easier.

    Thanks in advance!

    Resxtundefined 1 Reply Last reply
    0
    • Farrokhundefined Farrokh

      Hello Resxt, I've tried everything but can't get it to appear, the custom game always ends and I have to change the map manually.

      I checked the path is correct, edited the values, tried setting it up using the console, even in debug mode I can't get the mapvote to show on the screen.
      Could you help me out? Let me know if there's a log file I could attach to make it easier.

      Thanks in advance!

      Resxtundefined Offline
      Resxtundefined Offline
      Resxt
      Plutonium Staff
      wrote on last edited by
      #26

      Farrokh what gamemode did you test?
      Send a screenshot of yoir scripts folder
      Type mapvote_e in the console and the screenshot the console. Do the same with mapvote
      Did you modify any dvar, like the maps?

      Farrokhundefined 1 Reply Last reply
      0
      • Resxtundefined Resxt

        Farrokh what gamemode did you test?
        Send a screenshot of yoir scripts folder
        Type mapvote_e in the console and the screenshot the console. Do the same with mapvote
        Did you modify any dvar, like the maps?

        Farrokhundefined Offline
        Farrokhundefined Offline
        Farrokh
        wrote on last edited by Farrokh
        #27

        Resxt Sorry for the late reply. I typed in mapvote_e and mapvote in the console, but nothing happens when I press enter. It clears the console.

        My scripts folder only has your mapvote.gsc. The path is the following: C:\Users\diogo\AppData\Local\Plutonium\storage\iw5\scripts

        I did not change any dvar except for mapvote_debug and mapvote_enable.

        I'm trying to use this with Bot Warfare, if that's any help.

        Edit: Also, I tried it on team deathmatch and some domination.

        Thanks

        Resxtundefined 1 Reply Last reply
        0
        • Farrokhundefined Farrokh

          Resxt Sorry for the late reply. I typed in mapvote_e and mapvote in the console, but nothing happens when I press enter. It clears the console.

          My scripts folder only has your mapvote.gsc. The path is the following: C:\Users\diogo\AppData\Local\Plutonium\storage\iw5\scripts

          I did not change any dvar except for mapvote_debug and mapvote_enable.

          I'm trying to use this with Bot Warfare, if that's any help.

          Edit: Also, I tried it on team deathmatch and some domination.

          Thanks

          Resxtundefined Offline
          Resxtundefined Offline
          Resxt
          Plutonium Staff
          wrote on last edited by Resxt
          #28

          Farrokh what I meant by this is literally what I said "type blabla and screenshot" don't press enter.

          TDM and Domination are tested and work fine
          Why did you change debug? Do you know what it does?

          Debug will instantly start the mapvote at the beginning of the game and then rotate after mapvote_vote_time seconds
          So if you want to debug then that's what it does. If you want to debug longer because of slow PC loading or whatever then simply make mapvote_vote_time higher.
          If you want the mapvote to work normally then simply don't enable debug as it's meant for debug and not running normally

          I always have Bot Warfare installed and I don't see why it would conflict on TDM for example

          1 Reply Last reply
          0
          • Farrokhundefined Offline
            Farrokhundefined Offline
            Farrokh
            wrote on last edited by
            #29

            Ah, I see.
            I tried again with debug disabled but still doesn't show up after the game ends.
            I had changed the debug because I wanted to see if it worked at the start of the game.

            This time I didn't press enter and some options appeared but I don't know what they mean. I attach the screenshots.

            Yeah, I have no idea why it just won't work on my end.
            I am using Steam to launch plutonium and am using the PS5 controller, if any of that matters.

            Besides that, can't think of anything. It just seems like my IW5 or plutonium isn't locating/loading the script. Is there any way to check if it's loading/locating at least?

            mapvote.png
            mapvote_e.png

            Resxtundefined 1 Reply Last reply
            0
            • Farrokhundefined Farrokh

              Ah, I see.
              I tried again with debug disabled but still doesn't show up after the game ends.
              I had changed the debug because I wanted to see if it worked at the start of the game.

              This time I didn't press enter and some options appeared but I don't know what they mean. I attach the screenshots.

              Yeah, I have no idea why it just won't work on my end.
              I am using Steam to launch plutonium and am using the PS5 controller, if any of that matters.

              Besides that, can't think of anything. It just seems like my IW5 or plutonium isn't locating/loading the script. Is there any way to check if it's loading/locating at least?

              mapvote.png
              mapvote_e.png

              Resxtundefined Offline
              Resxtundefined Offline
              Resxt
              Plutonium Staff
              wrote on last edited by Resxt
              #30

              Farrokh take a screenshot of where you installed the script
              It should be in %localappdata%\Plutonium\storage\iw5\scripts

              There's no way to see if scripts are loaded to my knowledge but you don't need it. It's most likely a user error, the Plutonium platform is the same for everyone.

              It was hard understanding where you were coming from but I think I get it now.
              You either didn't install the script or you didn't enable the mapvote
              set mapvote_enable 1 in the console before running a game, if you're in a custom game. If you're on a server then same thing inside your CFG

              1 Reply Last reply
              0
              • Resxtundefined Offline
                Resxtundefined Offline
                Resxt
                Plutonium Staff
                wrote on last edited by
                #31

                Just pushed a small update (1.1.3):

                • Makes the mapvote enabled by default to make it easier to use for beginners. Instead of enabling the script per server you now disable it per server, if you want if off on certain servers
                • The default rotation system now has a new dvar dedicated to turning it on off which makes it clearer if it's on or off and also now allows you to have the default rotation only rotate for 0 human players
                1 Reply Last reply
                0
                • Resxtundefined Offline
                  Resxtundefined Offline
                  Resxt
                  Plutonium Staff
                  wrote on last edited by
                  #32

                  Just pushed mapvote 1.1.4 which fixes an issue where having one map would still display it instead of displaying modes only

                  1 Reply Last reply
                  0
                  • Resxtundefined Resxt referenced this topic on
                  • Farrokhundefined Offline
                    Farrokhundefined Offline
                    Farrokh
                    wrote on last edited by
                    #33

                    Hi Resxt, completely forgot about the thread.

                    In the meantime, I got it working by enabling via console.
                    I appreciate that you updated the script to enable it by default.

                    I have two questions if you don't mind:

                    • Whenever I choose domination, the score is set to 500 instead of 200. Is there any way to make the default score limit 200 for dom?

                    • Also, I'm having trouble setting the modes. Is it something I have to change via console too, or is there a way I can permanently change to (all or some, if there's a limit) my favorite modes (TDM, Kill Confirmed, Domination, Infected, S&D, Hardpoint)

                    I tried editing the .gsc and it did not change the modes. I'm setting it up for private match with bots, not on a server. Here's the part I changed in the script to test:

                    SetDvarIfNotInitialized("mapvote_modes", "Team Deathmatch,TDM_default:Domination,DOM_default:Kill Confirmed,KC_default:Search & Destroy,SD_default");
                    

                    I know I'm doing something wrong here, sorry xD

                    Thanks for your time.

                    Resxtundefined 1 Reply Last reply
                    0
                    • Farrokhundefined Farrokh

                      Hi Resxt, completely forgot about the thread.

                      In the meantime, I got it working by enabling via console.
                      I appreciate that you updated the script to enable it by default.

                      I have two questions if you don't mind:

                      • Whenever I choose domination, the score is set to 500 instead of 200. Is there any way to make the default score limit 200 for dom?

                      • Also, I'm having trouble setting the modes. Is it something I have to change via console too, or is there a way I can permanently change to (all or some, if there's a limit) my favorite modes (TDM, Kill Confirmed, Domination, Infected, S&D, Hardpoint)

                      I tried editing the .gsc and it did not change the modes. I'm setting it up for private match with bots, not on a server. Here's the part I changed in the script to test:

                      SetDvarIfNotInitialized("mapvote_modes", "Team Deathmatch,TDM_default:Domination,DOM_default:Kill Confirmed,KC_default:Search & Destroy,SD_default");
                      

                      I know I'm doing something wrong here, sorry xD

                      Thanks for your time.

                      Resxtundefined Offline
                      Resxtundefined Offline
                      Resxt
                      Plutonium Staff
                      wrote on last edited by
                      #34

                      Farrokh

                      Domination's score is 200. If you get 500 this probably means you have a script/mod editing it or you edited the value in the mode's DSR file


                      The modes, like most other things on my mapvotes, are configured through dvars which are variables.
                      I would recommend not editing the script to make getting updates not conflict etc

                      The easiest way for you to change the modes permanently imo would be to edit your player's CFG to have the modes dvar set on game startup automatically, as if you entered the command yourself in the console. The script will then not override it because as you can see it says "SetDvarIfNotInitialized"

                      To do that go to %localappdata%\Plutonium\storage\iw5\players
                      Open the config_mp file with the notepad
                      Find seta monkeytoy "0"
                      You will insert the dvar(s) you want above this by typing seta dvar_name "dvar_value"
                      Example:
                      55789946-dab4-45f7-bcbb-4628d6c481b9-image.png

                      1 Reply Last reply
                      0
                      • Resxtundefined Resxt referenced this topic on
                      • abaddonbalbanundefined Offline
                        abaddonbalbanundefined Offline
                        abaddonbalban
                        wrote on last edited by
                        #35
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • abaddonbalbanundefined Offline
                          abaddonbalbanundefined Offline
                          abaddonbalban
                          wrote on last edited by
                          #36

                          One question... Is it normal for domination mode to reach 500 points? I haven't changed anything; I don't have any mods or scripts other than the one you created. I've also tried changing the values ​​you put in "config_mp.cfg," but it's still the same...
                          sorry for the poor english

                          gunmd0wnundefined Resxtundefined 2 Replies Last reply
                          0
                          • abaddonbalbanundefined abaddonbalban

                            One question... Is it normal for domination mode to reach 500 points? I haven't changed anything; I don't have any mods or scripts other than the one you created. I've also tried changing the values ​​you put in "config_mp.cfg," but it's still the same...
                            sorry for the poor english

                            gunmd0wnundefined Offline
                            gunmd0wnundefined Offline
                            gunmd0wn
                            wrote on last edited by
                            #37

                            abaddonbalban I had the same issues using several different map rotation scripts so I just added my own scripted fix for it by adding a gsc file to my scripts directory and had it set the score value to 200 for domination and koth. Here is a link to my script that sets these up: https://github.com/bblack16/plutonium-waypoints/blob/main/iw5/scripts/bb_settings.gsc#L29

                            abaddonbalbanundefined 1 Reply Last reply
                            0
                            • abaddonbalbanundefined abaddonbalban

                              One question... Is it normal for domination mode to reach 500 points? I haven't changed anything; I don't have any mods or scripts other than the one you created. I've also tried changing the values ​​you put in "config_mp.cfg," but it's still the same...
                              sorry for the poor english

                              Resxtundefined Offline
                              Resxtundefined Offline
                              Resxt
                              Plutonium Staff
                              wrote on last edited by Resxt
                              #38

                              abaddonbalban gunmd0wn I don't see how a mapvote script that simply sets the built-in rotation dvar to the built-in default Domination mode DSR would do that

                              What is gameOpt commonOption.scoreLimit set to in DOM_default.dsr in Call of Duty Modern Warfare 3\admin?
                              Also are you 100% sure you don't have a script or a mod that sets the score limit?

                              I tried it on a clean dedicated server and it loaded 200 points domination just as expected

                              • Untouched server files
                              • Untouched modes DSR files
                              • Untouched mapvote dvars
                              • No scripts other than the mapvote
                              gunmd0wnundefined 1 Reply Last reply
                              0
                              • gunmd0wnundefined gunmd0wn

                                abaddonbalban I had the same issues using several different map rotation scripts so I just added my own scripted fix for it by adding a gsc file to my scripts directory and had it set the score value to 200 for domination and koth. Here is a link to my script that sets these up: https://github.com/bblack16/plutonium-waypoints/blob/main/iw5/scripts/bb_settings.gsc#L29

                                abaddonbalbanundefined Offline
                                abaddonbalbanundefined Offline
                                abaddonbalban
                                wrote on last edited by
                                #39
                                This post is deleted!
                                1 Reply Last reply
                                0
                                • abaddonbalbanundefined Offline
                                  abaddonbalbanundefined Offline
                                  abaddonbalban
                                  wrote on last edited by
                                  #40

                                  Thank you both very much, I was able to solve it with gunmd0wn's setting.

                                  1 Reply Last reply
                                  0
                                  • Resxtundefined Resxt

                                    abaddonbalban gunmd0wn I don't see how a mapvote script that simply sets the built-in rotation dvar to the built-in default Domination mode DSR would do that

                                    What is gameOpt commonOption.scoreLimit set to in DOM_default.dsr in Call of Duty Modern Warfare 3\admin?
                                    Also are you 100% sure you don't have a script or a mod that sets the score limit?

                                    I tried it on a clean dedicated server and it loaded 200 points domination just as expected

                                    • Untouched server files
                                    • Untouched modes DSR files
                                    • Untouched mapvote dvars
                                    • No scripts other than the mapvote
                                    gunmd0wnundefined Offline
                                    gunmd0wnundefined Offline
                                    gunmd0wn
                                    wrote on last edited by
                                    #41

                                    Resxt I found it odd as well, but I did find posts from others saying they experienced the same issues with map rotation back when I started using it and there were no solutions posted at the time that seemed to fix things or get the settings to stick (until I scripted it).

                                    I did check the DOM dsr file on my system and the score limit is set to 500 there. I'm not entirely sure what set it to 500 though the file appears to be unchanged from what Steam installed (same modified time as all other files) and a verify via Steam found no changes.

                                    I think the reason this gets linked with map rotation is that starting DOM from the UI works fine and defaults to 200, but once a map rotation script is used, any of them, not just this one, it starts to pick up that 500 value. I have no idea if it is relevant, but I am running on Linux so it could be possible that Steam has differing files for some reason.

                                    As always, thanks for all your support here!

                                    Resxtundefined 1 Reply Last reply
                                    1
                                    • gunmd0wnundefined gunmd0wn

                                      Resxt I found it odd as well, but I did find posts from others saying they experienced the same issues with map rotation back when I started using it and there were no solutions posted at the time that seemed to fix things or get the settings to stick (until I scripted it).

                                      I did check the DOM dsr file on my system and the score limit is set to 500 there. I'm not entirely sure what set it to 500 though the file appears to be unchanged from what Steam installed (same modified time as all other files) and a verify via Steam found no changes.

                                      I think the reason this gets linked with map rotation is that starting DOM from the UI works fine and defaults to 200, but once a map rotation script is used, any of them, not just this one, it starts to pick up that 500 value. I have no idea if it is relevant, but I am running on Linux so it could be possible that Steam has differing files for some reason.

                                      As always, thanks for all your support here!

                                      Resxtundefined Offline
                                      Resxtundefined Offline
                                      Resxt
                                      Plutonium Staff
                                      wrote on last edited by
                                      #42

                                      gunmd0wn if the file is set to 500 then setting the value to 200 should fix the issue

                                      My guess is UI loads a built-in config while rotation loads the DSR file so if you tell it to have 500 score then it will have 500. Nothing that seems too weird there to me

                                      Curious why you'd have a file set to 500 too unless you both downloaded some mod at some point or some game files etc whatever 👍

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


                                      • 1
                                      • 2
                                      • 3
                                      • Login

                                      • Don't have an account? Register

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