From 65adce565dd50b84b60f9be0cbe68c0d453f1ebe Mon Sep 17 00:00:00 2001 From: diamante0018 Date: Wed, 18 Sep 2024 22:43:15 +0200 Subject: [PATCH] feat: update Horde --- !start_zm_horde_server.bat | 22 ++++++ iw6/server_zm.cfg | 2 +- iw6/server_zm_horde.cfg | 154 +++++++++++++++++++++++++++++++++++++ 3 files changed, 177 insertions(+), 1 deletion(-) create mode 100644 !start_zm_horde_server.bat create mode 100644 iw6/server_zm_horde.cfg diff --git a/!start_zm_horde_server.bat b/!start_zm_horde_server.bat new file mode 100644 index 0000000..fabd5e4 --- /dev/null +++ b/!start_zm_horde_server.bat @@ -0,0 +1,22 @@ +@echo off + +set ServerFilename=server_zm_horde.cfg + +::///////////////////////////////////////////////////////////////////////////// +::// What port do you want the server to run on? // +::// You must port forward this port & allow it through your firewall // +::///////////////////////////////////////////////////////////////////////////// +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 + +:://///////////////////////////////////////////////////////////////////// +:://You're done!! WARNING!!! Don't mess with anything below this line // +:://///////////////////////////////////////////////////////////////////// + +set GAME_EXE=iw6-mod.exe +start %GAME_EXE% -dedicated +set survival 1 +set net_port "%port%" +exec %ServerFilename% +map_rotate diff --git a/iw6/server_zm.cfg b/iw6/server_zm.cfg index db1cd0d..8938b59 100644 --- a/iw6/server_zm.cfg +++ b/iw6/server_zm.cfg @@ -104,7 +104,7 @@ set scr_chaos_mode "0" // Extinction chaos game m //////////////////////////////////////////////////////// // 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/iw6/server_zm_horde.cfg b/iw6/server_zm_horde.cfg new file mode 100644 index 0000000..a41b608 --- /dev/null +++ b/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"