[Release] Black ops II Mapvote
Black ops II Mapvote Menu
Developed by @DoktorSAS
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.
- Download the mapvote mod for github releases
- Copy the file _killcam.gsc and paste in your t6r\data\maps\mp\gametypes\ folder
- Add on your dedicated.cfg file all the this lines and configure your mapvote menu
- You must have one map in your map rotation like
sv_mapRotation "exec tdm.cfg map mp_raid"
- Once loaded the written everything in the cfg and set everything you can start the server and play
//////////////////////////////////////////////////////////////////////////////////////////////////// // 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
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 after a player vote.
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.
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.
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
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 maps 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, social_link
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.
Report bugs in the comment of this post
Report all problems and i'll fix it, everytime i'll fix a problem i'll change the version on the Post
@Sorex Thank you so so so much. Any bugs you find will be reported
@Sorex I found something, it is nothing serious, I already managed and ended up solving it, the problem is basically when the game does not end and none of the teams get the maximum points but there were deaths and therefore there is finalkillcam so what happens is that when the game ends, the mapvote is loaded and when the killcam also ends, there are many solutions, I solved it that when a team obtains points, the mapvote is not executed in ontimelimit
@Sorex And well something that maybe you already realized but that maybe is difficult to solve is that in ontimelimit the wait at the end if you put 20 or 10 it does not finish 10 or 20 seconds and the game ends, that is, when there is no killcam.
@alejandrodarz Although as long as there is even one death, the killcam will come out and it is almost always there will be, since as the only one there will not be, there is only 1 player
@alejandrodarz i'll fix this bugs, i have to make more test on all gamemode. When i can i solve all
@Sorex Look at how I solved the problem of when the game ends and there is no killcam, and well I also modified the mapvote a bit. I have tested it for the following TDM, GUN, SHRP, KOTH, DM, OIC, and SAS modes:
And well here is another video of how the mapvote was modified:
This post is deleted!
@alejandrodarz i solved this bug, i made i tiny update, i did not check if there a players with kills. I did not att getkills() for team gamemodes, now all work fine. Can you leave the credits somewhere? I mean, you can keep my signature. Because i worked hard and i want the credits
@Sorex Of course bro you deserve it, that will be there, don't worry what I taught above is my test server
@alejandrodarz i added the notification before the game end, on next update i'll fix the text in mid i'll made something better then a normal text
@Sorex I was going to tell you about another bug but with the notification you solved it and it was that at the end after the killcam the iprint does not appear, that is, it does not appear the maps that the players vote
@Sorex okok if you need something of what you saw in my video without problem you can tell me, that is to say from my point of view it would not be bad to add the sounds when changing the map or when choosing the map
@Sorex you can put a fadein and a saclefont so that it is not so rough
@Sorex I had to put the precacheshader of the gradient in init () below where it was I did not want to load
@Sorex camera keeps moving when changing map
@alejandrodarz Have you start the thread to block the angles?
@Sorex I copied exactly the file you uploaded and it does too