Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DoktorSAS authored Jan 21, 2021
1 parent fb76d73 commit 91e47ec
Showing 1 changed file with 154 additions and 66 deletions.
220 changes: 154 additions & 66 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,154 @@
# Black ops II Mapvote Menu
**Mapvote v1.2.0**

Developed by **DoktorSAS**

**How to add the mapvote to the server?**
1. Copy **_killcam.gsc** ( don't change the name of the file)
2. Put the file into **maps/mp/gametpyes**
3. Change the **sv_maprotation** to only one map *(exemple sv_maprotation "map mp_carrier")*
4. Add in your .cfg file **set server_name "Exemple Server Name"** to set the server name to show on the mapvote menu
5. Add in your .cfg file **set custom_gametype "exemple.cfg"** to set the the default gametype for the next map (If you do not change the gamemode you may not add it). If you want change the gamemode just overwrite the **custom_gametype** dvar (use setDvar("custom_gametype", "exemple.cfg")) in your mods and when map rotate players will play the new gamemode
6. Add in your .cfg file **set time_to_vote {number} ** to set the the time to vote like **set time_to_vote 25**

**Download v1.2.0**: https://github.com/DoktorSAS/mapvote/releases/tag/1.2.0
**Video Tutorial**: https://youtu.be/ji3BBYS1ISE

![](https://media.discordapp.net/attachments/722423683666149406/788375898151714816/1608033246340-8c10eea4-449f-4147-9e07-7ffb925649c2-image.png?width=1202&height=676)
###### V1.0.1
**Bug Fixed in v1.0.1**:
1. Fixed mapvote menu when game end with killcam and there no team winner

###### V1.0.2
**Bug Fixed in v1.0.2**:
1. Nothing

**Update in v1.0.2**:
1. Added a notification to show to the players wich map is the next
*Design 1:*
![Version 1](https://forum.plutonium.pw/assets/uploads/files/1597148314270-252d462c-9d88-4e96-b05d-a07690be4503-image.png)
*Design 2:*
![7421ac67-8df1-4a00-ade7-edbbcc3c6165-image.png](https://forum.plutonium.pw/assets/uploads/files/1608033246340-8c10eea4-449f-4147-9e07-7ffb925649c2-image.png)

###### V1.0.3
**Bug Fixed in v1.0.3**:
1. The camera no longer moves when you choose the map
2. Animation now are cleaner

###### V1.0.4
**Bug Fixed in v1.0.4**:
1. Now work on endgame with and without killcam
2. Work also on S&D, Domination or any round gamemodes
3. Text in the middle screen hide when vote end

###### V1.1.0
**Bug Fixed in v1.1.0**:
1. Now maps should load correctly everytime
2. Some optimization

**Update in v1.1.0**:
1. Deisgn Fixed
2. Configurable Server Name via dvar in .cfg
3. Configurable Gametype when map rotate

###### V1.2.0
**Update in v1.2.0**:
1. Configurable time to vote via dvar in .cfg
2. Added timer
3. Some design fix


**Copyright:** *The script was created by DoktorSAS and no one else can say they created it. The script is free and accessible to everyone, it is not possible to sell the script.*

# Social
<a href="https://twitter.com/DoktorSAS"> <img src="https://i.imgur.com/rcPkXtU.png" width="50" high = "50"/> <a href="https://twitter.com/DoktorSAS"> <img src="https://i.imgur.com/xAANm7S.png" width="50" high = "50"/> </a><a href="https://twitter.com/DoktorSAS"> <img src="https://i.imgur.com/XlctxvH.png" width="50" high = "50"/> </a><a href="https://discord.gg/nCP2y4J"> <img src="https://i.imgur.com/AoMmUW4.png" width="50" high = "50"/> </a>


# **Black ops II Mapvote Menu**
Developed by *@DoktorSAS*
Version 2.0.0

Multiple users want a mapvote, so I decided to accommodate them. This mapvote menu is very simple but you don't need programming knowledge to use it, practically everything is configurable by editing a .cfg file. Multiple users want a mapvote, so I decided to accommodate them. This mapvote menu is very simple but you don't need programming knowledge to use it, practically everything is configurable by editing a .cfg file. The menu has been tested on Sorex servers and Gunj 71rcon servers. This post is dedicated only to the released version of mapvote, if you find bugs or problems write under this post. While if you want things to be added or if you want to propose ideas go to the dedicated post for [suggestions](https://forum.plutonium.pw/topic/7426/new-black-ops-ii-mapvote).

## **Insallation Guide**
1. Download the [mapvote mod](https://forum.plutonium.pw) for github releases
2. Copy the file *_killcam.gsc* and paste in your t6r\data\maps\mp\gametypes\ folder
3. Add on your dedicated.cfg file all the this lines and configure your mapvote menu
4. Once loaded the written everything in the cfg and set everything you can start the server and play

```cfg
////////////////////////////////////////////////////////////////////////////////////////////////////
// DoktorSAS Mapvote Menu
// Twitter: @DoktorSAS
// Report any bugs under the right post on the forum
////////////////////////////////////////////////////////////////////////////////////////////////////
set isMapvoteEnable 1 // 1 for Mapvote Enable and 0 for Mapvote Disable
set more_maps 1 // 1 for 5 maps style and 0 for 3 maps style
set no_current_mp 1 // The current map will not get chosed in the mapvote
set time_to_vote 25 // Time to vote
set votes_color "5" // Color of the number inside the [ ]
set blur 1.6 // Background blur strength
set show_social 1 // 1 to show socials and 0 to don't show socials
set server_sentence "Thanks for Playing on this Server" // Sentence on bottom left screen
set social_name "Discord" // The name of the social of the server if you have it
set social_link "Discord.gg/Plutonium" // Link of the server social if you have it
/////////////////////////////////////////////////////
//
// List of valid colors:
//
/////////////////////////////////////////////////////
// 1. "red"
// 2. "orange"
// 3. "yellow"
// 4. "purple"
// 5. "pink"
// 6. "cyan"
// 7. "blue"
// 8. "light blue"
// 9. "green"
// 10. "light green"
// 11. "black"
// 12. "white"
/////////////////////////////////////////////////////
set bg_color "cyan" // Image background color
set select_color "light green" // Select color
set scroll_color "purple" // Scroll color
set arrow_color "white" // Arrows color
//////////////////////////////////////////////////
// Maps id List //
// Write the rigth map id inside the dvar //
// maps to make the mapvote working //
//////////////////////////////////////////////////
// //
// mp_la - Aftermath //
// mp_dockside - Cargo //
// mp_carrier - Carrier //
// mp_drone - Drone //
// mp_express - Express //
// mp_hijacked - Hijacked //
// mp_meltdown - Meltdown //
// mp_overflow - Overflow //
// mp_nightclub - Plaza //
// mp_raid - Raid //
// mp_slums - Slums //
// mp_village - Standoff //
// mp_turbine - Turbine //
// mp_socotra - Yemen //
// //
// Bonus Map: //
// mp_nuketown_2020 - Nuketown 2025 //
// //
//////////////////////////////////////////////////
// REVOLUTION MAP PACK 1 //
//////////////////////////////////////////////////
// //
// mp_downhill - Downhill //
// mp_mirage - Mirage //
// mp_hydro - Hydro //
// mp_skate - Grind //
// //
//////////////////////////////////////////////////
// UPRISING MAP PACK 2 //
//////////////////////////////////////////////////
// //
// mp_concert - Encore //
// mp_magma - Magma //
// mp_vertigo - Vertigo //
// mp_studio - Studio //
// //
//////////////////////////////////////////////////
// VENGEANCE MAP PACK 3 //
//////////////////////////////////////////////////
// //
// mp_uplink - Uplink //
// mp_bridge - Detour //
// mp_castaway - Cove //
// mp_paintball - Rush //
// //
//////////////////////////////////////////////////
// APOCALYPSE MAP PACK 4 //
//////////////////////////////////////////////////
// //
// mp_dig - Dig //
// mp_frostbite - Frost //
// mp_pod - Pod //
// mp_takeoff - Takeoff //
// //
//////////////////////////////////////////////////
//set maps "mp_pod mp_carrier mp_studio mp_raid mp_slums mp_nuketown_2020" // Maps list, here you can write all maps you want in the mapvote
set maps "" // if the vause is "" all maps will show in the mapvote
```
# **Preview**
Here are some previews on how the mapvote will look like, in fact their design is very simple but easy to understand. The buttons remain the usual two buttons "Aim" and "Shoot" to change selection and "jump" to select the map. There is no possibility to change selection.
### Mapvote menu with 5 Maps
In the 5-map mapvote everything is positioned so as to occupy a large part of the screen. Everything has been positioned to create a minimalist design but also very nice.

![](https://forum.plutonium.pw/assets/uploads/files/1610914931203-357e3655-3df3-458c-8d89-577c1973236b-image.png)
### **Mapvote menu with 3 Maps**
In the 3-map mapvote everything is positioned so that it occupies the center of the screen. The design is very simple but very interesting at the same time.

![](https://forum.plutonium.pw/assets/uploads/files/1610914587706-5e32d05c-33d7-4063-a045-3fb49f4752e6-image.png)

# **Download**
You can download the file by pressing [this](), it will take you to the releases section. Download the latest release and remember to keep the mapvote always updated

# **Suggestions Implemented**
All proposed feature ideas modifiable via implemented cfg will be added to this list, with the name of the person who proposed it, a description is a la dvar.

| Suggest by| Suggestion | Dvar Name |
| ----------| -------------------------------------------------------| -----------------------------------------------------------------|
| gunji | Change mapvote colors via cfg | bg_color, select_color, scroll_color,arrow_color, votes_color|
| Xerxes | Use dvar to control the strength of the background blur| blur |
| Xerxes | Use a dvar to remove the branding | show_social |
| Xerxes | Take the maps from a dvar | Approved & Implemented |
| DoktorSAS | Usa a dvar to enable the mapvote in a server | ismapvoteenable |
| gunji | Dvar to don't make vote the current map | no_current_mp |
| DoktorSAS | Get server sentence from a dvar | server_sentence |
| DoktorSAS | Add a Social Link on the mapvote | social_name, ssocial_link |

social_link
# **Copyright:**
The script was created by DoktorSAS and no one else can say they created it. The script is free and accessible to everyone, it is not possible to sell the script. The script has been created to allow everyone to use it and I would like it to be used in the proper way.

0 comments on commit 91e47ec

Please sign in to comment.