Command to change map breaks the game
-
Just put together a t6 server with IW4MAdmin and Zombies++ GSC script. whenever I use the command "!m nuketown" it loads up but no zombies ever spawn. "!m origins" result sin my game crashing and being unable to join the server. the only way I succesfully switched maps is with "!maprotate" but this doesnt allow me to pick a specific map which is annoying.
Basically I need to help to either fix this issue or find some other way to easily change ZM maps without breaking the spawns/server.
Thnx
-
Tugoose Unfortunately IW4MAdmin changes the map by simply sending the map command. But zombies needs multiple separate dvars to be set to properly change the map. The configs in gamesettings have every dvar needed for a map to be loaded in them so doing exec zm_classic_tomb.cfg will setup the map for Origins to load.
-
JezuzLizard oh okay, and would I enter this in my client console? using the !rcon command in chat or some other way?
EDIT: I've tried the !rcon command, as well as client console and sevrer cmd window to no avail
-
Tugoose I think you can only use exec in an sv_maprotation the command doesn't work otherwise. I guess you could set sv_maprotationcurrent to "exec zm_classic_tomb.cfg map zm_tomb", and then do map_rotate.
-
Also, it might not be what you're looking for but maybe you could use a mapvote (which would only work when the game ends so you'd have to let yourself die to "force it")
For example mine here
https://forum.plutonium.pw/topic/25896/mp-zm-black-ops-ii-mapvote/ -
Resxt yours is the best solution i think, but how do one force end the game?
-
OtaroDeluxe multiple ways to do it depending on what your goal is exactly, could have a chat command to send a notify probably
-
Resxt Took me a while to understand because i'm new to this stuff, but yes, notify end game works to access map vote. It would be nice to have a way to vote for end game.
-
This is doable with script knowledge