[Release] Black ops II Mapvote for Zombies and Multiplayer
-
@CamouflageLvCat
Just set mv_gametypes to "war" or don't enable random gametypes -
Sorex
thanks for your quick response! ..but yes ..that is what I am doing ..I have tried in different ways ..for example ..
"set mv_gametypes "war;tdm.cfg"
"set mv_gametypes "tdm.cfg"
set mv_gametypes "war"
but none of these work for me.
Always when starting a map starts "free for all"
could it be that it is badly compiled .. ?this is my map rotate ..
sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid"
and this is the config that I copied into my "dedicated.cfg"
set mv_enable 1 // Enable/Disable the mapvote
set mv_maps "mp_nuketown_2020 mp_hijacked mp_raid" // List of maps that can be voted on the mapvote, leave empty for all maps
set mv_excludedmaps "" // List of maps you don't want to show in the mapvote
set mv_time 10 // Time to vote
set mv_socialname "" // Name of the social server such as Discord, Twitter, Website, etc
set mv_sentence "" // Thankfull sentence
set mv_votecolor "5" // Color of the Vote Number
set mv_arrowcolor "white" // RGB Color of the arrows
set mv_selectcolor "lightgreen" // RGB Color when map get voted
set mv_backgroundcolor "grey" // RGB Color of map background
set mv_blur "3" // Blur effect power
set mv_gametypes "" // This dvar can be used to have multiple gametypes with different maps, with this dvar you can load gamemode cfg files -
Sorex
thanks for your quick response! ..but yes ..that is what I am doing ..I have tried in different ways ..for example ..
"set mv_gametypes "war;tdm.cfg"
"set mv_gametypes "tdm.cfg"
set mv_gametypes "war"
but none of these work for me.
Always when starting a map starts "free for all"
could it be that it is badly compiled .. ?this is my map rotate ..
sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid"
and this is the config that I copied into my "dedicated.cfg"
set mv_enable 1 // Enable/Disable the mapvote
set mv_maps "mp_nuketown_2020 mp_hijacked mp_raid" // List of maps that can be voted on the mapvote, leave empty for all maps
set mv_excludedmaps "" // List of maps you don't want to show in the mapvote
set mv_time 10 // Time to vote
set mv_socialname "" // Name of the social server such as Discord, Twitter, Website, etc
set mv_sentence "" // Thankfull sentence
set mv_votecolor "5" // Color of the Vote Number
set mv_arrowcolor "white" // RGB Color of the arrows
set mv_selectcolor "lightgreen" // RGB Color when map get voted
set mv_backgroundcolor "grey" // RGB Color of map background
set mv_blur "3" // Blur effect power
set mv_gametypes "" // This dvar can be used to have multiple gametypes with different maps, with this dvar you can load gamemode cfg files@CamouflageLvCat
Try set mv_gametypes "war war"
Without the mapvote screenshot i can't guess the issue. But if you want just tdm just disable randomgametypes (I forgot to add that on BO2 mapvote. IW5 have it, i'll patch it).From what i see "in your copy of dedicated.cfg" you are not event setting that dvar
-
@CamouflageLvCat
Try set mv_gametypes "war war"
Without the mapvote screenshot i can't guess the issue. But if you want just tdm just disable randomgametypes (I forgot to add that on BO2 mapvote. IW5 have it, i'll patch it).From what i see "in your copy of dedicated.cfg" you are not event setting that dvar
Sorex
Thanks for the answer.. i was busy..
the screenshot of what..?
my problem is that it starts in "freeforall", it is not visual..
I have the server in bo2MP..
the solution that you provide me _"WAR WAR" .. did not help me .. when changing the map it is set to "freeforall" .. -
@CamouflageLvCat
Try set mv_gametypes "war war"
Without the mapvote screenshot i can't guess the issue. But if you want just tdm just disable randomgametypes (I forgot to add that on BO2 mapvote. IW5 have it, i'll patch it).From what i see "in your copy of dedicated.cfg" you are not event setting that dvar
Sorex !
that dvar was configured .. I just deleted it to put it here ..
I tried several configurations there ..
-
Sorex !
that dvar was configured .. I just deleted it to put it here ..
I tried several configurations there ..
@CamouflageLvCat
If start on free for all it mean that the issue is on your sv_maprotation if you execute dm.cfg it will start on ffa. The mapvote will not change the first gamemode.set the sv_maprotation to something like "exec war.cfg map mp_carriere" for exemple
-
@CamouflageLvCat
If start on free for all it mean that the issue is on your sv_maprotation if you execute dm.cfg it will start on ffa. The mapvote will not change the first gamemode.set the sv_maprotation to something like "exec war.cfg map mp_carriere" for exemple
Sorex hey .. thanks for your support brother .. but .. it's weird .. because I have like this .. I mean "war" .it doesn't exist .. I have "tdm" and for freforall .."dm"
this is my map rotation..
sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid" -
Sorex hey .. thanks for your support brother .. but .. it's weird .. because I have like this .. I mean "war" .it doesn't exist .. I have "tdm" and for freforall .."dm"
this is my map rotation..
sv_maprotation "exec tdm.cfg map mp_nuketown_2020 map mp_hijacked map mp_raid"@CamouflageLvCat
Then "exec tdm.cfg map mp_nuketown_2020" its fine. You don't need anything else. If the server start with another gamemode its not mapvote issue is your issue.If you keep have the issue ask on public chat on the discord or make a forum post related to that.
-
@CamouflageLvCat
Then "exec tdm.cfg map mp_nuketown_2020" its fine. You don't need anything else. If the server start with another gamemode its not mapvote issue is your issue.If you keep have the issue ask on public chat on the discord or make a forum post related to that.
Sorex great friend! i followed your logic but with my cfg filenames... and it worked.. i just typed "tdm tdm"
only that "invalid" appears where it should say "teamdeathmatch"
-
Sorex great friend! i followed your logic but with my cfg filenames... and it worked.. i just typed "tdm tdm"
only that "invalid" appears where it should say "teamdeathmatch"
@CamouflageLvCat
Because tdm is not a g_gametype valid name you need to have war for tdm. g_gametype don't need to match your .cfg files -
@CamouflageLvCat
Because tdm is not a g_gametype valid name you need to have war for tdm. g_gametype don't need to match your .cfg filesSorex The truth is that it works well this way.. I'm going to try some things and if it continues like this, it doesn't matter.. it performs the function perfectly.. thank you very much sir..
-
@CamouflageLvCat put the compiler on ur desktop
hindercanrun
thank you very much for your answer.. if it was on the desktop
-
Maybe i am just confused due to lack of sleep but my mv_gametypes looks something like this right now for my Party mode Server
set mv_gametypes "gun;gun.cfg oic;oic.cfg sas;sas.cfg shrp;shrp.cfg"
For some reason it just has Gungame in Rotation but when i do something like this
set mv_gametypes "war;gun.cfg war;oic.cfg war;sas.cfg war;shrp.cfg"
Everything shows as Invalid (Expected TDM in Mapvote) but with rotation of Gungame, One in the Chamber etc.
So Basically its loading all Gamemodes in a rotation.
Can anyone maybe explain me the logic behind the Gametype rotation with specific Config file? because i can't get it running with it.
-
Maybe i am just confused due to lack of sleep but my mv_gametypes looks something like this right now for my Party mode Server
set mv_gametypes "gun;gun.cfg oic;oic.cfg sas;sas.cfg shrp;shrp.cfg"
For some reason it just has Gungame in Rotation but when i do something like this
set mv_gametypes "war;gun.cfg war;oic.cfg war;sas.cfg war;shrp.cfg"
Everything shows as Invalid (Expected TDM in Mapvote) but with rotation of Gungame, One in the Chamber etc.
So Basically its loading all Gamemodes in a rotation.
Can anyone maybe explain me the logic behind the Gametype rotation with specific Config file? because i can't get it running with it.
The gametype things is a little bit complicated. I'll probably work on an update to make it easier to understand.
If you use the version in releases the ';' it the symbol to split g_gametypes and his respective file. In the source code version there is an error that i need to fix. I use the '@' symbol to split the dvar but the ui still use the ';' symbol.
What happened problably is caused by an error on the code.I'll take a look into it and patch it.
Update
Now the symbol used to split gametype is the ';'. Everything should work fine. Download the mod from the github and not the release section.
Test the code and let me know if you find any other issues to patch. -
The gametype things is a little bit complicated. I'll probably work on an update to make it easier to understand.
If you use the version in releases the ';' it the symbol to split g_gametypes and his respective file. In the source code version there is an error that i need to fix. I use the '@' symbol to split the dvar but the ui still use the ';' symbol.
What happened problably is caused by an error on the code.I'll take a look into it and patch it.
Update
Now the symbol used to split gametype is the ';'. Everything should work fine. Download the mod from the github and not the release section.
Test the code and let me know if you find any other issues to patch.Sorex So i tested the Code a little and the biggest problem now is that it basically says what mode could be voted for but for some reason the sv_maprotation overrides it now and puts up the config that is in exec.
Plus after the first vote its stuck, so i choose for a test Downhill - TDM no matter what i vote after wards it stays Downhill but not TDM its stuck on Free for all but the scoreboard is broken
And to end all of it Mode Rotation still doesn't work its only TDM even tho i've put several Modes down.
-
Sorex So i tested the Code a little and the biggest problem now is that it basically says what mode could be voted for but for some reason the sv_maprotation overrides it now and puts up the config that is in exec.
Plus after the first vote its stuck, so i choose for a test Downhill - TDM no matter what i vote after wards it stays Downhill but not TDM its stuck on Free for all but the scoreboard is broken
And to end all of it Mode Rotation still doesn't work its only TDM even tho i've put several Modes down.
Shinaii dm me on discord/twitter or join my discord server
Discord: DoktorSAS#1141
Twitter: DoktorSASNote:
I can't reproduce your issue. Could be something wrong in your code. -
Shinaii dm me on discord/twitter or join my discord server
Discord: DoktorSAS#1141
Twitter: DoktorSASNote:
I can't reproduce your issue. Could be something wrong in your code.Sorex I've added you
-
Shinaii
I have 46 unaccepted request whats your username? -
Sorex Same as here. I'll write you if you don't have blocked DM's with Mutual Servers.
-
Black ops II Mapvote for Zombies and Multiplayer
Developed by DoktorSAS
Special thanks to @ZECxR3ap3r & @JezuzLizard for their contributions to the development. Additional thanks to @John Kramer for image editing and birchy for the LUI starting point.
Introduction
This project, initiated in March 2020, enables players to vote for the next map and/or game mode in upcoming matches. The project does not provide compiled files; if needed, compile the file using the gsc-tool.
Black Ops II: multiplayer
How to setup the mapvote step by step
-
Compile the Script:
Compile themapvote.gsc
file using a GSC Compiler. This step is not required if you are working with the plutonium client. -
Place the Compiled File:
Copy the compiled file into your directory%localappdata%\Plutonium\storage\t6\scripts\mp\
. -
Configure Server File:
Copy the content ofmapvote.cfg
into your server configuration file (e.g.,server.cfg
,dedicated_mp.cfg
,dedicated.cfg
, etc.) that manages the Multiplayer server. -
Edit Dvars for Aesthetic Parameters:
- Set the Dvar
mv_maps
to specify the maps shown in the mapvote. For example:set mv_maps "mp_studio mp_nuketown_2020 mp_carrier mp_drone mp_slums"
- Set the Dvar
mv_enable
to 1 to activate the mapvote on your Multiplayer server. - For random gametypes, set the Dvar
mv_gametypes
specifying the gametype ID (dm, war, sd, etc.) and the file to run if necessary. For example:set mv_gametypes "[email protected] [email protected]"
- Set the Dvar
-
(Plutonium ONLY) LUI UI with mod support:
- Take the content of the folder
T6Mapvote
and place it in your folder%localappdata%\Plutonium\storage\t6\mods\
- Set the dvar
fs_game
in your server configuration file (e.g.,server.cfg
,dedicated_zm.cfg
,dedicated.cfg
, etc.) - Set the dvar
mv_lui
to in your server configuration file (e.g.,server.cfg
,dedicated_zm.cfg
,dedicated.cfg
, etc.)
- Take the content of the folder
-
Run the Server:
Start the server and immerse yourself in the map voting experience. You're done!
Settings: dvars
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_time
20 Time (in seconds) allotted for voting. mv_credits
1 Enable/Disable credits of the mod creator. mv_socialname
"SocialName" Name of the server's social platform (Discord, Twitter, Website, etc.). 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_extramaps
0 Enable 6 maps mapvote when set to 1. mv_allowchangevote
1 Enable/Disable the possibility to change vote while the time is still running (1 for enable, 0 for disable). mv_randomoption
1 If set to 1 it will not display which map and which gametype the last option will be (Random) mv_minplayerstovote
1 Set the minimum number of players required to start the mapvote mv_lui
1 If set to 1 it will use the LUA/LUI ui interface (It required the mod support and the lua files) Black ops II: zombies
How to setup the mapvote step by step
-
Compile the Script:
Compile themapvote.gsc
file using a GSC Compiler. This step is not required if you are working with the plutonium client. -
Place the Compiled File:
Copy the file into your directory%localappdata%\Plutonium\storage\t6\scripts\zm\
. -
Configure Server File:
Copy the content ofmapvote.cfg
into your server configuration file (e.g.,server.cfg
,dedicated_zm.cfg
,dedicated.cfg
, etc.) that manages the Zombies server. -
Edit Dvars on your configuration file:
- Set the Dvar
mv_maps
to specify the maps shown in the mapvote. For example:set mv_maps "zm_tomb zm_buried zm_town zm_busdepot zm_farm zm_transit zm_prison zm_highrise zm_nuked"
- Set the Dvar
mv_enable
to 1 to activate the mapvote on your Zombies server.
- Set the Dvar
-
Run the Server:
Start the server and enjoy the map voting experience. You're done!
Download
It is possbile to download either the source code or the released code. The source code is not fully test and could run into issue that need to be reported while the release is tested code that could have some bug not fixed but working as intended.
I highly recommend using the unreleased version and keeping it up to date for implementing features and patching reported bugs.
The following buttons will direct you to the corresponding pages:This post is deleted! -