From 92b58b4168a13278e1d4cdfb87d0ad680436057b Mon Sep 17 00:00:00 2001 From: Rim Date: Thu, 20 Feb 2025 06:12:48 -0500 Subject: [PATCH] chore: update server configs --- cfg/!start_client.bat | 14 +-- cfg/!start_mp_server.bat | 38 ++++--- cfg/!start_zm_horde_server.bat | 30 +++++ cfg/!start_zm_server.bat | 38 ++++--- cfg/iw6/{server.cfg => server_mp.cfg} | 32 ++++++ cfg/iw6/server_zm.cfg | 8 +- cfg/iw6/server_zm_horde.cfg | 154 ++++++++++++++++++++++++++ 7 files changed, 269 insertions(+), 45 deletions(-) create mode 100644 cfg/!start_zm_horde_server.bat rename cfg/iw6/{server.cfg => server_mp.cfg} (91%) create mode 100644 cfg/iw6/server_zm_horde.cfg diff --git a/cfg/!start_client.bat b/cfg/!start_client.bat index 841daa5c..8a6a132a 100644 --- a/cfg/!start_client.bat +++ b/cfg/!start_client.bat @@ -1,14 +1,6 @@ @echo off -:: Either put the batch in the Ghosts install dir, or change the value below to the Ghosts install dir -set GHOSTS_INSTALL=%~dp0 +set game_exe=iw6-mod.exe -:: Remove this line if automatic updates on start should be disabled -start /W alterware-launcher.exe --update - -:://///////////////////////////////////////////////////////////////////// -:://You're done!! WARNING!!! Don't mess with anything below this line // -:://///////////////////////////////////////////////////////////////////// - -set GAME_EXE=iw6-mod.exe -start %GAME_EXE% +cd /D "%~dp0" +start %game_exe% diff --git a/cfg/!start_mp_server.bat b/cfg/!start_mp_server.bat index d600d965..1a64f8d0 100644 --- a/cfg/!start_mp_server.bat +++ b/cfg/!start_mp_server.bat @@ -1,22 +1,30 @@ @echo off +:://///////////////////////////////////////////////////////////////////// +::// IW6-Mod Server Configuration startup file // +:://///////////////////////////////////////////////////////////////////// +::// This config best view with Notepad++ or other non-windows notepad // +:://///////////////////////////////////////////////////////////////////// +::// Your edited server_mp.cfg goes in the "iw6/" folder // +::// This is were you edit your hostname, map & gamemodes from // +:://///////////////////////////////////////////////////////////////////// -set ServerFilename=server.cfg - -::///////////////////////////////////////////////////////////////////////////// -::// What port do you want the server to run on? // -::// You must port forward this port & allow it through your firewall // -::///////////////////////////////////////////////////////////////////////////// +set cfg=server_mp.cfg set port=27016 - -:: Either put the batch in the Ghosts install dir, or change the value below to the Ghost install dir -set GHOSTS_INSTALL=%~dp0 - -:: Remove this line if automatic updates on start should be disabled -start /W alterware-launcher.exe --update +set name="IW6 MP 1" :://///////////////////////////////////////////////////////////////////// -:://You're done!! WARNING!!! Don't mess with anything below this line // +::// You're done! WARNING! Do not mess with anything below this line // :://///////////////////////////////////////////////////////////////////// -set GAME_EXE=iw6-mod.exe -start %GAME_EXE% -dedicated +set net_port "%port%" +exec %ServerFilename% +map_rotate +set game_exe=iw6-mod.exe + +title IW7 - %name% - Server restarter +echo Server "%name%" will load %cfg% and listen on port %port% UDP! +echo To shut down the server close this window first! +echo (%date%) - (%time%) %name% server start. + +cd /D "%~dp0" +:server +start /wait /abovenormal %game_exe% -dedicated +set net_port "%port%" +exec %cfg% +map_rotate +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +goto server diff --git a/cfg/!start_zm_horde_server.bat b/cfg/!start_zm_horde_server.bat new file mode 100644 index 00000000..154d7683 --- /dev/null +++ b/cfg/!start_zm_horde_server.bat @@ -0,0 +1,30 @@ +@echo off +:://///////////////////////////////////////////////////////////////////// +::// IW6-Mod Server Configuration startup file // +:://///////////////////////////////////////////////////////////////////// +::// This config best view with Notepad++ or other non-windows notepad // +:://///////////////////////////////////////////////////////////////////// +::// Your edited server_zm_horde.cfg goes in the "iw6/" folder // +::// This is were you edit your hostname, map & gamemodes from // +:://///////////////////////////////////////////////////////////////////// + +set cfg=server_zm_horde.cfg +set port=27016 +set name="IW6 Horde 1" + +:://///////////////////////////////////////////////////////////////////// +::// You're done! WARNING! Do not mess with anything below this line // +:://///////////////////////////////////////////////////////////////////// + +set game_exe=iw6-mod.exe + +title IW7 - %name% - Server restarter +echo Server "%name%" will load %cfg% and listen on port %port% UDP! +echo To shut down the server close this window first! +echo (%date%) - (%time%) %name% server start. + +cd /D "%~dp0" +:server +start /wait /abovenormal %game_exe% -dedicated +set survival 1 +set net_port "%port%" +exec %cfg% +map_rotate +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +goto server diff --git a/cfg/!start_zm_server.bat b/cfg/!start_zm_server.bat index 1ba952a8..e3886fd8 100644 --- a/cfg/!start_zm_server.bat +++ b/cfg/!start_zm_server.bat @@ -1,22 +1,30 @@ @echo off +:://///////////////////////////////////////////////////////////////////// +::// IW6-Mod Server Configuration startup file // +:://///////////////////////////////////////////////////////////////////// +::// This config best view with Notepad++ or other non-windows notepad // +:://///////////////////////////////////////////////////////////////////// +::// Your edited server_zm.cfg goes in the "iw6/" folder // +::// This is were you edit your hostname, map & gamemodes from // +:://///////////////////////////////////////////////////////////////////// -set ServerFilename=server_zm.cfg - -::///////////////////////////////////////////////////////////////////////////// -::// What port do you want the server to run on? // -::// You must port forward this port & allow it through your firewall // -::///////////////////////////////////////////////////////////////////////////// +set cfg=server_zm.cfg set port=27016 - -:: Either put the batch in the Ghosts install dir, or change the value below to the Ghost install dir -set GHOSTS_INSTALL=%~dp0 - -:: Remove this line if automatic updates on start should be disabled -start /W alterware-launcher.exe --update +set name="IW6 ZM 1" :://///////////////////////////////////////////////////////////////////// -:://You're done!! WARNING!!! Don't mess with anything below this line // +::// You're done! WARNING! Do not mess with anything below this line // :://///////////////////////////////////////////////////////////////////// -set GAME_EXE=iw6-mod.exe -start %GAME_EXE% -dedicated +set zombiesMode 1 +set net_port "%port%" +exec %ServerFilename% +map_rotate +set game_exe=iw6-mod.exe + +title IW7 - %name% - Server restarter +echo Server "%name%" will load %cfg% and listen on port %port% UDP! +echo To shut down the server close this window first! +echo (%date%) - (%time%) %name% server start. + +cd /D "%~dp0" +:server +start /wait /abovenormal %game_exe% -dedicated +set zombiesMode 1 +set net_port "%port%" +exec %cfg% +map_rotate +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +goto server diff --git a/cfg/iw6/server.cfg b/cfg/iw6/server_mp.cfg similarity index 91% rename from cfg/iw6/server.cfg rename to cfg/iw6/server_mp.cfg index 4d5ca6d6..1fff1d75 100644 --- a/cfg/iw6/server.cfg +++ b/cfg/iw6/server_mp.cfg @@ -46,6 +46,25 @@ set sv_allowClientConsole "1" // Enable or Disable players abi set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions. set sv_reconnectlimit "3" // How many times you can try to reconnect. +////////////////////////////////////////////////// +// IW6-MOD CONFIGURATION // +////////////////////////////////////////////////// + +set sv_botsAutoJoin "1" // Automatically fill your server with bots +set pm_bouncing "1" // Enable bouncing +set player_sustainAmmo "0" // Firing weapon will not decrease clip ammo +set jump_slowdownEnable "1" // Slow player movement after jumping +set jump_spreadAdd "64" // The amount of spread scale to add as a side effect of jumping +set jump_enableFallDamage "1" // Enable fall damage +set jump_height "39" // Jump height +set jump_ladderPushVel "128" // Ladder push velocity +set g_enableElevators "0" // Enable easy elevators +set g_rocketPushbackScale "1" // The scale applied to the pushback force of a rocket (1 = no pushback) +set g_playerEjection "1" +set g_playerCollision "1" +set g_gravity "800" // Game gravity in inches per second squared +set g_speed "190" // Maximum player speed + ////////////////////////////////////////////////// // BASE GAME CONFIGURATION // ////////////////////////////////////////////////// @@ -242,6 +261,19 @@ set scr_grnd_winlimit "1" // Amount of wins needed to win set scr_grnd_zoneSwitchTime "60" // Amount of time before the zone switches. set scr_grnd_promode "0" +////////////////////////////////////////////////// +// GUN GAME GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_gun_scorelimit "18" // Score limit to win the game. +set scr_gun_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_gun_roundlimit "1" // Rounds per game. +set scr_gun_winlimit "1" // Amount of wins needed to win a round-based game. +set scr_gun_numlives "0" // Number of lives per player 0 for unlimited. +set scr_gun_playerrespawndelay "0" // How long player will wait until respawn. +set scr_gun_waverespawndelay "0" // Duration is seconds before the first respawn in each round. +set scr_gun_promode "0" + ////////////////////////////////////////////////// // BLITZ GAMETYPE SETTINGS // ////////////////////////////////////////////////// diff --git a/cfg/iw6/server_zm.cfg b/cfg/iw6/server_zm.cfg index 116844fe..8938b59e 100644 --- a/cfg/iw6/server_zm.cfg +++ b/cfg/iw6/server_zm.cfg @@ -36,7 +36,7 @@ set _Location "Earth" // Location // NON-GAMEPLAY CONFIGURATION // ////////////////////////////////////////////////// -set sv_maxclients "4" // Max players in your server. +set sv_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 g_deadChat "0" // Toggle allowing dead players to chat with living players. (0 (default) or 1) @@ -58,7 +58,7 @@ set sv_reconnectlimit "3" // How many times you can try to set scr_game_allowkillcam "1" // Allow Killcam. set team_rebalance "1" // Auto Balance teams? -set scr_teambalance "1" // Enable or Disable auto balance. +set scr_teambalance "0" // Enable or Disable auto balance. set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free set sv_checkMinPlayers "0" set scr_game_graceperiod "0" @@ -99,12 +99,12 @@ set scr_aliens_waverespawndelay "0" set scr_aliens_promode "0" set scr_aliens_maxagents "24" set scr_alien_intro "0" -set scr_chaos_mode "0" // Extinction chaos game mode. +set scr_chaos_mode "0" // Extinction chaos game mode. //////////////////////////////////////////////////////// // MAP SHORT NAMES ROTATION LIST // //////////////////////////////////////////////////////// -/// Maps only work with Aliens Game Mode Set // +/// Only use these maps with the Aliens Game Mode // //////////////////////////////////////////////////////// // // // Point of Contact - mp_alien_town // diff --git a/cfg/iw6/server_zm_horde.cfg b/cfg/iw6/server_zm_horde.cfg new file mode 100644 index 00000000..a41b6089 --- /dev/null +++ b/cfg/iw6/server_zm_horde.cfg @@ -0,0 +1,154 @@ +/////////////////////////////////////////////////// +/// IW6 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 grey // +// ^0 Black // +// ^: Rainbow colors // +// // +/////////////////////////////////////////////////// + +set sv_hostname "IW6 Default Server" // Sets the server hostname. +name "[IW6] server" // Currently sets the say name + +////////////////////////////////////////////////// +// ADMIN INFO (Optional) // +////////////////////////////////////////////////// + +set _Admin "" // Your username. +set _Email "" // E-mail address. you can leave blank +set _Website "" // Website. (IW4MAdmin uses this.) +set _Location "Earth" // Location + +////////////////////////////////////////////////// +// NON-GAMEPLAY CONFIGURATION // +////////////////////////////////////////////////// + +set sv_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 g_deadChat "0" // Toggle allowing dead players to chat with living players. (0 (default) or 1) +set g_inactivity "420" // Time in seconds before the server will kick a user for inactivity. (range 0 - 10000) +set sv_kickBanTime "3600" // Time in seconds for a player temporary ban. (on kick/tempban) (range 0 - 3600) +set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands. +set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions. +set sv_reconnectlimit "3" // How many times you can try to reconnect. + +////////////////////////////////////////////////// +// BASE GAME CONFIGURATION // +////////////////////////////////////////////////// +// // +// horde - Safeguard // +// // +////////////////////////////////////////////////// + +// GAMETYPE HAS TO BE SET VIA THE MAP ROTATION + +set scr_game_allowkillcam "1" // Allow Killcam. +set team_rebalance "1" // Auto Balance teams? +set scr_teambalance "0" // Enable or Disable auto balance. +set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free +set sv_checkMinPlayers "0" +set scr_game_graceperiod "0" +set scr_game_onlyheadshots "0" +set scr_game_deathpointloss "0" +set scr_game_suicidepointloss "0" +set scr_team_teamkillpointloss "1" +set scr_game_perks "1" +set scr_game_forceuav "0" +set scr_game_hardpoints "1" +set scr_nukeTimer "10" +set scr_nukeCancelMode "0" +set scr_default_maxagents "5" +set scr_disableClientSpawnTraces "0" +set scr_hardpoint_allowartillery "1" +set scr_hardpoint_allowuav "1" +set scr_hardpoint_allowhelicopter "1" +set scr_team_respawntime "0" +set scr_player_numlives "0" +set scr_player_respawndelay "0" +set scr_player_suicidespawndelay "0" +set scr_player_forcerespawn "1" +set scr_player_sprinttime "4" +set scr_explBulletMod "1" +set scr_maxPerPlayerExplosives "2" + + +////////////////////////////////////////////////// +// SAFEGUARD GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_horde_scorelimit "0" // Score limit to win the game. +set scr_horde_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_horde_roundlimit "1" // Rounds per game. +set scr_horde_winlimit "1" // Amount of wins needed to win a round-based game. +set scr_horde_numlives "1" // Number of lives per player 0 for unlimited. +set scr_horde_playerrespawndelay "0" // How long player will wait until respawn. +set scr_horde_waverespawndelay "0" // Duration is seconds before the first respawn in each round. +set scr_horde_promode "0" +set scr_horde_maxagents "24" +set scr_horde_difficulty "3" + +//////////////////////////////////////////////////////// +// MAP SHORT NAMES ROTATION LIST // +//////////////////////////////////////////////////////// +// // +// Prision Break - mp_prisonbreak // +// Octane - mp_dart // +// Tremor - mp_lonestar // +// Freight - mp_frag // +// Whiteout - mp_snow // +// Stormfront - mp_fahrenheit // +// Siege - mp_hashima // +// Warhawk - mp_warhawk // +// Sovereign - mp_sovereign // +// Overload - mp_zebra // +// Stonehaven - mp_skeleton // +// Chasm - mp_chasm // +// Flooded - mp_flooded // +// Strikezone - mp_strikezone // +// Free Fall - mp_descent_new // +// // +/// DEVASTATION DLC //////////////////////////////////// +// // +// Unearthed - mp_dome_ns // +// Collision - mp_ca_impact // +// Behemoth - mp_ca_behemoth // +// Ruins - mp_battery3 // +// // +/// INVASION DLC /////////////////////////////////////// +// // +// Pharaoh - mp_dig // +// Favela - mp_favela_iw6 // +// Mutiny - mp_pirate // +// Departed - mp_zulu // +// // +/// NEMESIS DLC //////////////////////////////////////// +// // +// Dynasty - mp_conflict // +// Goldrush - mp_mine // +// Showtime - mp_shipment_ns // +// Subzero - mp_zerosub // +// // +/// ONSLAUGHT DLC ////////////////////////////////////// +// // +// Ignition - mp_boneyard_ns // +// Containment - mp_ca_red_river // +// Bayview - mp_ca_rumble // +// Fog - mp_swamp // +// // +//////////////////////////////////////////////////////// + +set sv_maprotation "gametype horde map mp_prisonbreak map mp_dart map mp_lonestar map mp_frag map mp_snow map mp_fahrenheit map mp_hashima map mp_warhawk map mp_sovereign map mp_zebra map mp_skeleton map mp_chasm map mp_flooded map mp_strikezone map mp_descent_new map mp_dome_ns map mp_ca_impact map mp_ca_behemoth map mp_battery3 map mp_dig map mp_favela_iw6 map mp_pirate map mp_conflict map mp_mine map mp_shipment_ns map mp_zerosub map mp_boneyard_ns map mp_ca_red_river map mp_ca_rumble map mp_swamp"