Coder Social home page Coder Social logo

h1mapvote's Introduction

Call of Duty: Modern Warfare Remastered Mapvote

Preview Build Badge License

Requirements

  • The script only works on servers and does not function in private games.
  • The server must be hosted on the H1-MOD client.

Installation

Setting up the mapvote for your Call of Duty: Modern Warfare Remastered server is a straightforward process. Follow these steps to ensure a smooth installation:

  1. File Placement: Copy the downloaded file into your server's script directory, typically located at %localappdata%\h1-mod\scripts\.

  2. Configuration Integration: Open your server configuration file (e.g., server.cfg, dedicated_mp.cfg, dedicated.cfg, etc.) using a text editor of your choice. Paste the contents of the mapvote.cfg file into this configuration file. This step ensures that the mapvote script is properly integrated into your server settings.

  3. Customizing Server Parameters: Edit the provided Dvars in the configuration file to tailor the mapvote experience according to your preferences. Key parameters include:

    • mv_maps: Specify the maps that will appear in the mapvote.
      set mv_maps "mp_convoy mp_backlot mp_bog"
      
    • mv_enable: Activate the mapvote by setting this Dvar to 1.
    • mv_gametypes: For random gametypes, define gametype IDs and associated files.
  4. Save Changes: Save the modifications to your configuration file.

  5. Server Restart or Script Reload: Restart your Call of Duty: Modern Warfare Remastered server if was on during the installation to apply the changes (map_restart or fast_restart will load or re-load the gsc script).!

Configuration Variables

Dvar Default Value Description
mv_enable 1 Enable/Disable the mapvote (1 for enable, 0 for disable).
mv_maps "" List of maps that can be voted on the mapvote; leave empty for all maps.
mv_excludedmaps "" List of maps you don't want to show in the mapvote.
mv_time 20 Time (in seconds) allotted for voting.
mv_credits 1 Enable/Disable credits of the mod creator.
mv_socialname "Discord" Name of the server's social platform (Discord, Twitter, Website, etc.).
mv_sociallink "discord.gg/^3xlabs^7" Link to the server's social platform.
mv_sentence "Thanks for playing" Thankful sentence displayed.
mv_votecolor "5" Color of the vote number.
mv_arrowcolor "white" RGB color of the arrows.
mv_selectcolor "lighgreen" RGB color when a map gets voted.
mv_backgroundcolor "grey" RGB color of the map background.
mv_blur 3 Blur effect power.
mv_gametypes "" Dvar to have multiple gametypes with different maps. Specify gametype IDs and associated files.
mv_allowchangevote 1 Enable/Disable the possibility to change the vote while the time is still running (1 for enable, 0 for disable).

h1mapvote's People

Contributors

doktorsas avatar

Stargazers

 avatar  avatar Synx. avatar  avatar

Watchers

 avatar dellmas avatar

Forkers

warkingous ia-2

h1mapvote's Issues

Map images

When the mapvote comes up none of the map loadscreen images are present. Is there a way to make it so the images load and not a black cube? Also selecting the 6 maps to choose form does not seem to work either. It only shows 3 maps.

Map Repeats on the Mapvote

When I finish a game and the map vote appears, I often get one named map invalid. This has always been the map I just played. This itself is not an issue, however I do have two issues appearing.

One, I can have map invalid appear 2-3 times taking all the votes, something I would prefer to avoid.

Two, I can have map invalid appear 1-2 times alongside the vote for the map we just played with the proper name.

Is there any way to solve this issue?

As a side note, every map name is followed by invalid when I have a vote.

map vote issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.