[Release] [Zombies] "Custom Survival Maps" option for custom games
-
The error ur getting is not an issue with this mod.
-
Monologue There is no guide for this. Map is picked by dvar "CUSTOM_MAP" so you have to either make script which changes this dvars value or manually set it in config.
This is my map rotation script. (This might not be correct because on my server is more maps and i had to cut out some of the code)
main() { if(getDvar("CUSTOM_MAP_ENABLED") != "1" ) setDvar( "CUSTOM_MAP", 1 ); thread map_rotation(); } map_rotation() { level waittill( "end_game"); wait 2; setDvar( "CUSTOM_MAP_ENABLED", 1 ); if( getDvar("CUSTOM_MAP") == "1") setDvar( "CUSTOM_MAP", 2 ); else if( getDvar("CUSTOM_MAP") == "2" ) setDvar( "CUSTOM_MAP", 3 ); else if( getDvar("CUSTOM_MAP") == "3" ) setDvar( "CUSTOM_MAP", 4 ); else if( getDvar("CUSTOM_MAP") == "4" ) setDvar( "CUSTOM_MAP", 5 ); else if( getDvar("CUSTOM_MAP") == "5" ) { SetDvar("sv_maprotation","exec zm_classic_prison.cfg map zm_prison"); setDvar( "CUSTOM_MAP", 6 ); } else if( getDvar("CUSTOM_MAP") == "6" ) { SetDvar("sv_maprotation","exec zm_classic_prison.cfg map zm_prison"); setDvar( "CUSTOM_MAP", 7 ); } if(getDvar("CUSTOM_MAP") == "7") { SetDvar("sv_maprotation","exec zm_classic_transit.cfg map zm_transit"); setDvar( "CUSTOM_MAP", 1 ); } return; }
Also i recommend using the map folders so wrong files cannot be loaded in wrong maps.
Example: transit maps goes into zm_transit folder etc.
This post is deleted! -
@dontknowletsplay JezuzLizard Im sorry but I really don't understand how to host it on my server, do you guys have a more detailed guide? Im really confused since I do not know anything about coding
-
@dontknowletsplay JezuzLizard Im sorry but I really don't understand how to host it on my server, do you guys have a more detailed guide? Im really confused since I do not know anything about coding
Monologue Compile this
main() { if(getDvar("CUSTOM_MAP_ENABLED") != "1" ) setDvar( "CUSTOM_MAP", 1 ); //nacht thread map_rotation(); } map_rotation() { level waittill( "end_game"); wait 2; setDvar( "CUSTOM_MAP_ENABLED", 1 ); if( getDvar("CUSTOM_MAP") == "1") setDvar( "CUSTOM_MAP", 2 ); //diner else if( getDvar("CUSTOM_MAP") == "2" && getdvar("mapname") == "zm_transit" ) setDvar( "CUSTOM_MAP", 3 ); //bus else if( getDvar("CUSTOM_MAP") == "3" ) setDvar( "CUSTOM_MAP", 4 ); //forest else if( getDvar("CUSTOM_MAP") == "4" ) setDvar( "CUSTOM_MAP", 5 ); //lab else if( getDvar("CUSTOM_MAP") == "5" ) { SetDvar("sv_maprotation","exec zm_classic_prison.cfg map zm_prison"); setDvar( "CUSTOM_MAP", 1 ); //bridge } else if( getDvar("CUSTOM_MAP") == "1" && getdvar("mapname") == "zm_prison" ) { SetDvar("sv_maprotation","exec zm_classic_prison.cfg map zm_prison"); setDvar( "CUSTOM_MAP", 2 ); //rooftop } else if(getDvar("CUSTOM_MAP") == "2" && getdvar("mapname") == "zm_prison") { SetDvar("sv_maprotation","exec zm_classic_transit.cfg map zm_transit"); setDvar( "CUSTOM_MAP", 1 ); //nacht } return; }
and copy it with the zm_prison and zm_transit folders which you get from the download link to
%localappdata%/plutonium/storage/t6/scripts/zm
-
Monologue Compile this
main() { if(getDvar("CUSTOM_MAP_ENABLED") != "1" ) setDvar( "CUSTOM_MAP", 1 ); //nacht thread map_rotation(); } map_rotation() { level waittill( "end_game"); wait 2; setDvar( "CUSTOM_MAP_ENABLED", 1 ); if( getDvar("CUSTOM_MAP") == "1") setDvar( "CUSTOM_MAP", 2 ); //diner else if( getDvar("CUSTOM_MAP") == "2" && getdvar("mapname") == "zm_transit" ) setDvar( "CUSTOM_MAP", 3 ); //bus else if( getDvar("CUSTOM_MAP") == "3" ) setDvar( "CUSTOM_MAP", 4 ); //forest else if( getDvar("CUSTOM_MAP") == "4" ) setDvar( "CUSTOM_MAP", 5 ); //lab else if( getDvar("CUSTOM_MAP") == "5" ) { SetDvar("sv_maprotation","exec zm_classic_prison.cfg map zm_prison"); setDvar( "CUSTOM_MAP", 1 ); //bridge } else if( getDvar("CUSTOM_MAP") == "1" && getdvar("mapname") == "zm_prison" ) { SetDvar("sv_maprotation","exec zm_classic_prison.cfg map zm_prison"); setDvar( "CUSTOM_MAP", 2 ); //rooftop } else if(getDvar("CUSTOM_MAP") == "2" && getdvar("mapname") == "zm_prison") { SetDvar("sv_maprotation","exec zm_classic_transit.cfg map zm_transit"); setDvar( "CUSTOM_MAP", 1 ); //nacht } return; }
and copy it with the zm_prison and zm_transit folders which you get from the download link to
%localappdata%/plutonium/storage/t6/scripts/zm
@dontknowletsplay hey thank you for your response it worked, the only problem I have is I cannot run this on my actual server without the vanilla tranzit being bugged, the bus doesn't work, ect, is there a way I can run the mod without actually glitching the vanilla maps, because I got a custom bank and level system and I want it to be linked to the main plutonium instance, sadly I had to run a second plutonium instance because it wasn't working,
Im basically looking to run the vanilla tranzit map a second server with the custom maps with the same plutonium instance
Thank you for your help in advance!
-
@dontknowletsplay hey thank you for your response it worked, the only problem I have is I cannot run this on my actual server without the vanilla tranzit being bugged, the bus doesn't work, ect, is there a way I can run the mod without actually glitching the vanilla maps, because I got a custom bank and level system and I want it to be linked to the main plutonium instance, sadly I had to run a second plutonium instance because it wasn't working,
Im basically looking to run the vanilla tranzit map a second server with the custom maps with the same plutonium instance
Thank you for your help in advance!
Monologue Cannot help you with that problem since i run only 3 same servers.
If
EFG
server is yours it seems like you took wrong map rotation script from the comments and motd maps doesnt work properly. Take the one i commented back to you. -
Secorius did you put it in ur plutonium folder
This post is deleted! -
This post is deleted!
@dontknowletsplay Can u play these custom maps with your friends?
-
This post is deleted!
@dontknowletsplay Hello, I need to know in which folder I should put the file privategamelobby_project.lua
-
@dontknowletsplay Can u play these custom maps with your friends?
STARIJ_DED Never tested it but you should be able if host has the mod installed.
-
@dontknowletsplay Hello, I need to know in which folder I should put the file privategamelobby_project.lua
simplemortaljr You place it to
%localappdata%\Plutonium\storage\t6\ui_mp\t6\menus
or use the install_survivals.bat which will copy all the files automatically.
-
Hey quick question...think you could end up combining the privategamelobby_project file with JezuzLizards file? since I'm trying to play without having to constantly switch files with mates.
This post is deleted! -
could you add survival maps to origins, buried and die rise?
-
could you add survival maps to origins, buried and die rise?
darkjhon_1203 There is already some on our servers
-
darkjhon_1203 There is already some on our servers
@dontknowletsplay could you add to custom games lobby?, my internet is very bad to play
-
This post is deleted!
This post is deleted! -
@dontknowletsplay could you add to custom games lobby?, my internet is very bad to play
darkjhon_1203 Im not updating this project anymore. It will stop working when plutonium decide stop using already compiled gsc files.
-
Ahmed358 Try reading the install guide.
-
This post is deleted!
-
Ahmed358 Try reading the install guide.
@dontknowletsplay Is there any way to play these maps but only me, without other players on the server?