[Release] Black ops II Mapvote for Zombies and Multiplayer
-
Sorex cool ! a question ...
because changing the map changes the game mode to "free for all"? I only want "tdm" I mean war. -
@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 -
@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" .. -
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
-
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.
-
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 -
Sorex 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..
-
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.
-
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.
-
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.