From 48fed8eb940196b3e6ee72abc2bd1d047ba47572 Mon Sep 17 00:00:00 2001 From: Dss0 <7338300+Dss0@users.noreply.github.com> Date: Thu, 23 Feb 2023 23:13:07 +0100 Subject: [PATCH] it's com_maxclients, also add preliminary zombies config --- BOIII_ZM_Server.bat | 36 ++++++++++++++++++++++ zone/server.cfg | 2 +- zone/server_zm.cfg | 73 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+), 1 deletion(-) create mode 100644 BOIII_ZM_Server.bat create mode 100644 zone/server_zm.cfg diff --git a/BOIII_ZM_Server.bat b/BOIII_ZM_Server.bat new file mode 100644 index 0000000..0dd6e75 --- /dev/null +++ b/BOIII_ZM_Server.bat @@ -0,0 +1,36 @@ +@echo off +:://///////////////////////////////////////////////////////////////////// +::/// BOIII Dedicated Server Configuration start-up file /// +:://///////////////////////////////////////////////////////////////////// +::// // +::// Your Game Server Port. // +::// Make sure you Port Forward both UDP & TCP // +:://///////////////////////////////////////////////////////////////////// + +set GamePort=28960 + +:://///////////////////////////////////////////////////////////////////// +::// Below edits are optional unless you run multiable servers or mods.// +:://///////////////////////////////////////////////////////////////////// +::// Load a mod on your server // +::// Example: ModfolderName=mods/bots // +::// // +::// UNLOAD a mod on your server // +::// Example: ModfolderName= // +:://///////////////////////////////////////////////////////////////////// + +set ModFolderName= + +:://///////////////////////////////////////////////////////////////////// +::// Your edited server.cfg in the "zone" folder goes here... // +::// This is were you edit your hostname, rcon, inactivity, etc // +::// (Optional) // +:://///////////////////////////////////////////////////////////////////// + +set ServerFilename=server_zm.cfg + +:://///////////////////////////////////////////////////////////////////// +:://DONE!! WARNING! Don't mess with anything below this line. SEROUSLY!// +:://///////////////////////////////////////////////////////////////////// + +start boiii.exe -dedicated +set fs_game "%ModFolderName%" +set net_port "%GamePort%" +exec %ServerFilename% \ No newline at end of file diff --git a/zone/server.cfg b/zone/server.cfg index 5a378a9..a7c0456 100644 --- a/zone/server.cfg +++ b/zone/server.cfg @@ -26,7 +26,7 @@ set live_steam_server_description "My longest YEA BOIII ever" // Sets a // NON-GAMEPLAY CONFIGURATION // ////////////////////////////////////////////////// -set party_maxplayers "18" // Max players in your server. +set com_maxclients "18" // Max players in your server. set rcon_password "" // Access to your server to change stuff remotely or ingame. (Empty = disabled) set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out. set sv_privateClients "0" // Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) ) diff --git a/zone/server_zm.cfg b/zone/server_zm.cfg new file mode 100644 index 0000000..387d965 --- /dev/null +++ b/zone/server_zm.cfg @@ -0,0 +1,73 @@ +////////////////////////////////////////////////// +/// BOIII Server Configuration // +////////////////////////////////////////////////// + +////////////////////////////////////////////////// +// SERVER NAME & COLORS TIPS // +////////////////////////////////////////////////// +// // +// ^1 Red // +// ^2 Green // +// ^3 Yellow // +// ^4 Blue // +// ^5 Cyan // +// ^6 Pink // +// ^7 White // +// ^8 Depends on the team colors playing. // +// ^9 Orange // +// ^0 Black // +// // +////////////////////////////////////////////////// + +set live_steam_server_name "Default BOIII Zombies Server" // Sets the server hostname. +set live_steam_server_description "My longest YEA BOIII ZOMBIES ever" // Sets a server description visible on the serverlist + +////////////////////////////////////////////////// +// NON-GAMEPLAY CONFIGURATION // +////////////////////////////////////////////////// + +set com_maxclients "4" // Max players in your server. +set rcon_password "" // Access to your server to change stuff remotely or ingame. (Empty = disabled) +set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out. +set sv_privateClients "0" // Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) ) +set sv_timeout "30" // Timeout time period. You will timeout after (30) seconds when attempting to connect or if you are getting connection interruptions +set sv_reconnectlimit "3" // How many times you can try to reconnect +set sv_pure "0" // verifying cilent files +set sv_floodProtect "1" // Chat Spam Protection +set logfile "1" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin. +set g_log "logs/games_mp.log" // Gamelog filename. If you edit this, Make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however. + + +////////////////////////////////////////////////// +// BASE GAME CONFIGURATION // +////////////////////////////////////////////////// + +exec "gamedata/gamesettings/zm/gamesettings_default.cfg" // Leave this as is +exec "gamedata/configs/common/default_xboxlive.cfg" // Leave this as is +exec "gamedata/gamesettings/zm/gamesettings_zclassic.cfg" // Leave this as is + +set cg_thirdPerson "0" // third-person mode + +/////////////////////////////////////////////////////////// +// MAP SHORT NAMES ROTATION LIST // +/////////////////////////////////////////////////////////// +// // +// Shadows of Evil - zm_zod // +// // +// Revelations - zm_genesis // +// Gorod Krovi - zm_stalingrad // +// Der Eisendrache - zm_castle // +// Zetsubou No Shima - zm_island // +// Ascension - zm_cosmodrome // +// Kino der Toten - zm_theater // +// Moon - zm_moon // +// Nacht der Untoten - zm_prototype // +// Origins - zm_tomb // +// Shangri-La - zm_temple // +// Shi No Numa - zm_sumpf // +// The Giant - zm_factory // +// Verrückt - zm_asylum // +// // +/////////////////////////////////////////////////////////// + +set sv_maprotation "gametype zclassic map zm_tomb" \ No newline at end of file