From 7dd5f3e93b50ceb3b168be9e0ece71d82bd464d2 Mon Sep 17 00:00:00 2001 From: INeedBots Date: Wed, 18 Nov 2020 02:49:30 -0600 Subject: [PATCH] bat --- .gitignore | 7 + main/server.cfg | 341 ++++++++++++++++++++++++++++++++++++++++++++++++ z_bots.bat | 1 + z_client.bat | 1 + z_dev.bat | 2 +- z_devserver.bat | 2 +- z_server.bat | 1 + z_serverdev.bat | 2 +- 8 files changed, 354 insertions(+), 3 deletions(-) create mode 100644 main/server.cfg create mode 100644 z_bots.bat create mode 100644 z_client.bat create mode 100644 z_server.bat diff --git a/.gitignore b/.gitignore index 2a5084b..cca8eea 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,13 @@ !/z_devserver.bat !/z_dev.bat !/z_serverdev.bat +!/z_client.bat +!/z_bots.bat +!/z_server.bat + +!/main/ +/main/* +!/main/server.cfg # Folder to not ignore !/mods/ diff --git a/main/server.cfg b/main/server.cfg new file mode 100644 index 0000000..c7de27a --- /dev/null +++ b/main/server.cfg @@ -0,0 +1,341 @@ +////////////////////////////////////////////////// +// SERVER NAME & COLORS // +////////////////////////////////////////////////// +// // +// ^1 Red // +// ^2 Green // +// ^3 Orange // +// ^4 Dark Blue // +// ^5 Light Blue // +// ^6 Pink // +// ^7 White // +// ^8 Grey // +// ^9 Brown // +// ^0 Black // +// // +////////////////////////////////////////////////// + +set sv_hostname "^1Bot ^3War^5fare ^2- ^4Bots ^724/7" // Please put a server host name here + +set scr_bots_managed_all "11" +set scr_bots_managed_spawn "1" + +// hard +// easy +// normal +// fu +set scr_bot_difficulty "hard" + +set bot_allow_laststand "1" +set bot_reasonable "1" +set bot_default_cod_points "50000" +set bot_default_rank "55" + + +////////////////////////////////////////////////// +// GENERAL SETTINGS // +////////////////////////////////////////////////// + +set rcon_password "password" // Access to your server to change stuff remotely. +set scr_player_forcerespawn "1" // Players respawn automatically after being fragged. +set scr_game_spectatetype "1" // Enable or Disables Spec mode, putting "1" allows spectators to spectate match. +set scr_hardcore "0" // Enable or Disable Hardcore Mode. +set scr_player_healthregentime "5" // Time it takes you to recover damage. +set scr_team_kickteamkillers "0" // Anyone who team kills, gets kicked automatically if you enable this feature. +set scr_team_teamkillspawndelay "20" // Team Killer gets a respawn penalty of specified seconds (20). +set scr_player_maxhealth "100" // Percent of Health players will have on Respawn. +set scr_player_sprinttime "12" // Sprint run time. +set scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide. +set scr_teambalance "1" // Enable or Disable auto balance. +set party_minplayers "1" // Pre-Match Lobby + +////////////////////////////////////////////////// +// CLIENT SETTINGS // +////////////////////////////////////////////////// + +set g_password "" // Password Protected Game. Leave blank if you want players to join. +set sv_disableClientConsole "0" // Enable or Disable players ability to access server commands. +set sv_reconnectlimit "5" // How many times you can try to reconnect. +set sv_timeout "240" // Timeout time period. You will timeout after (240) seconds when attempting to connect or if you are getting connection interruptions. +set sv_zombietime "10" // Your idle time period before getting kicked. +set g_inactivity "0" // Enable or Disable auto kick feature for idle/AFK players. +set g_allowvote "1" // Allow Vote. +set sv_floodProtect "4" // Chat Spam Protection. +set sv_maxPing "300" // Max Ping allowed. +set sv_maxRate "25000" // Max rate on server. +set sv_minPing "0" // Minimum Ping allowed. +set sv_maxclients "32" // Maximum players that can enter server. +set sv_privateClients "2" // Private reserved slots on server. +set sv_pure "0" // verifying cilent files +set sv_kickBanTime "300" // Kick Ban Duration. Time before player can re-join the server after getting kicked. +set sv_vac "0" // Enable/Disable VAC steam Anti-Cheat.. No use... + +////////////////////////////////////////////////// +// SERVER SETTINGS // +////////////////////////////////////////////////// + +set scr_game_hardpoints "1" // Hardcore Scoring System. +set scr_game_killstreaks "1" // Enable/Disable Killstreak rewards. +set scr_hardpoint_allowdogs "1" // Enable/Disable Attack Dogs Killstreak. +set scr_hardpoint_allowhelicopter_comlink "1" // Helicopter Com Link +set scr_hardpoint_allowradardirection "1" // Radar Direction +set scr_hardpoint_allowsupply "1" // Care Package +set scr_hardpoint_allowhelicopter_gunner "1" // Helicopter Gunner +set scr_hardpoint_allowcounteruav "1" // Counter Spy Plane +set scr_hardpoint_allowhelicopter_player "1" // Helicopter +set scr_hardpoint_allowmortar "1" // Mortar Team +set scr_hardpoint_allownapalm "1" // Napalm Airstrike +set scr_hardpoint_allowrcbomb "1" // RC-XD Bomb +set scr_hardpoint_allowairstrike "1" // Air Strike +set scr_hardpoint_allowauto_turret "1" // Auto Turret +set scr_hardpoint_allowradar "1" // Allow Radar + +////////////////////////////////////////////////// +// SERVER TWEAKS // +////////////////////////////////////////////////// + +set g_deadChat "1" // Enable or Disable the ability to read dead chat chat of people who have been fragged. +set scr_game_allowfinalkillcam "1" // Enable/Disable Game Winning Kill Killcam. +set scr_team_allowHardpointStreakAfterDeath "0" // Enable/Disable Killstreak after Death. Player resumes the killstreak even after being fragged. +set scr_game_allowkillcam "1" // Allow Killcam. +set g_allow_teamchange "1" // Allow players to change teams. +set scr_player_allowrevive "1" // Allow players to revive each other. +set scr_team_artilleryTeamKillPenalty "0.25" // If you kill your team member with artillery strike, this amount of percent of your artillery time gets deducted. Logical ? +set scr_game_deathpointloss "-999" // Points Loss on death Cod Points. +set scr_team_fftype "0" // Enable or Disable Friendly Fire. +set scr_game_onlyheadshots "0" // Enable/Disable Only Headshots mode. You can only kill players by taking headshots. +set scr_player_healthregentime "5" // Health regeneration time, time it takes for blood splatter to be removed from the screen. +set scr_team_teamkillspawndelay "20" // Team Kill respawn penalty, in seconds. +set scr_player_maxhealth "100" // Players starts with this amount of health in percentage. +set scr_team_mortarTeaTeamKillPenalty "0.25" // Mortar Air Strike Team Kill Penalty, time deducted. +set scr_game_prematchperiod "15" // Time before match starts. Strat time? +set scr_game_allowfinalkillcam "1" // Allow Final Kill Killcam. +set g_speed "190" // Player speed, speed at which player can move. +set scr_player_sprinttime "4" // Sprint time, duration a player can run. +set scr_game_suicidepointloss "0" // Suicide penalty in cod points. +set scr_player_suicidespawndelay "0" // Respawn wait after suicide. +set scr_team_teamkillpointloss "1" // Cod Points Penalty for Team Kill. +set scr_team_teamkillspawndelay "20" // Respawn penalty in time, after team kill. +set scr_team_teamkillerplaylistbanpenalty "0" // Add the team killer to the ban list. +set scr_team_teamkillerplaylistbanquantum "0" +set scr_game_perks "1" // Allow players to have perks + +////////////////////////////////////////////////// +// VOIP SETTINGS // +////////////////////////////////////////////////// + +set voice_deadChat "1" // Enable/Disable voice over IP chat when a player is dead. +set voice_global "1" // Enable/Disable the use of in-game voice over IP. +set sv_voicequality "1" // Voice Quality, 3 for high, 1 for low. More bandwidth better quality. +set g_voiceChatTalkingDuration "500" // Duration you can chat. +set sv_voice "1" // Allow Voice Chat + +////////////////////////////////////////////////// +//CAPTURE THE FLAG GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_ctf_globalbattlechatterprobability "0" +set scr_ctf_enemycarriervisible "0" // Where is the flag carrier, spot visible on radar. +set scr_ctf_flagrespawntime "0" // Time before a captured flag respawns. +set scr_ctf_idleflagreturntime "30" // Time before a dropped flag returns to its default location if not picked. +set scr_ctf_numlives "0" // Number of lives per player 0 for unlimited. +set scr_ctf_playerrespawndelay "0" // Respawn wait in seconds. +set scr_ctf_roundlimit "3" // How many rounds match would last. +set scr_ctf_roundswitch "1" // Rounds before the teams switch sides. +set scr_ctf_scorelimit "3" // Target score before the round ends. +set scr_ctf_timelimit "5" // Round length. +set scr_ctf_touchreturn "1" // Ability to return the flag by touching it. +set scr_ctf_waverespawndelay "15" + +////////////////////////////////////////////////// +// DEMOLITION GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_dem_globalbattlechatterprobability "0" +set scr_dem_bombtimer "45" // Time the bomb takes to detonate. +set scr_dem_defusetime "5" // Time taken to defuse the bomb. +set scr_dem_extratime "3" +set scr_dem_numlives "0" // Lives per player 0 for unlimited. +set scr_dem_planttime "5" // Time it takes to plant a bomb in seconds. +set scr_dem_roundlimit "0" // Rounds the game is limited to, if there are no winners. +set scr_dem_roundswitch "1" // Rounds before the teams switch the sides. +set scr_dem_scorelimit "2" // Score limit needed to win. +set scr_dem_timelimit "2.5" // Round time limit. + +////////////////////////////////////////////////// +// DOMINATION GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_dom_globalbattlechatterprobability "0" +set scr_dom_flagcapturetime "10" // Time in seconds to capture a flag. +set scr_dom_numlives "0" // Lives per player 0 for unlimited. +set scr_dom_playerrespawndelay "0" // Duration of time you wait to respawn. +set scr_dom_roundlimit "1" // Rounds played per game. +set scr_dom_scorelimit "200" // Score limit per game. +set scr_dom_timelimit "0" // Duration in minutes per round. +set scr_dom_waverespawndelay "0" // Spawn delay at start. + +////////////////////////////////////////////////// +// FREE FOR ALL GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_dm_globalbattlechatterprobability "100" +set scr_dm_bonus_leader "0" +set scr_dm_numlives "0" // Lives per player 0 for unlimited. +set scr_dm_playerrespawndelay "0" // Time in seconds wait to respawn. +set scr_dm_roundlimit "1" // Round limit. +set scr_dm_score_assist "100" // Points allotted for an assist. +set scr_dm_score_death "0" // Points allotted for dying. +set scr_dm_score_headshot "0" // Points for headshot. +set scr_dm_score_kill "50" // Points for a kill. +set scr_dm_scorelimit "1500" // Points needed to win the game. +set scr_dm_score_suicide "0" // Points allotted for suicide. +set scr_dm_timelimit "15" // Duration the game lasts in minutes when the score limit isn't reached. +set scr_dm_waverespawndelay "0" // Delay before the first respawn in the first round. + +////////////////////////////////////////////////// +// HEADQUARTERS GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_koth_globalbattlechatterprobability "0" +set scr_koth_numlives "0" // Number of lives per game 0 for unlimited. +set scr_koth_playerrespawndelay "0" // Players respawn wait. +set scr_koth_roundlimit "1" // Rounds to be played. +set scr_koth_roundswitch "1" // Rounds to be played before teams switch sides. +set scr_koth_scorelimit "250" // Score limit to win the game. +set scr_koth_timelimit "15" // Duration in minutes the game will continue if the score isn't reached. +set scr_koth_waverespawndelay "0" // First respawn delay for each round. + +////////////////////////////////////////////////// +// SABOTAGE GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_sab_globalbattlechatterprobability "0" +set scr_sab_bombtimer "30" // Duration in seconds the bomb takes to detonate. +set scr_sab_defusetime "5" // Time taken to defuse the bomb. +set scr_sab_hotpotato "0" // One bomb that the teams must fight over. One defending and one have to plant at the site. +set scr_sab_numlives "0" // Number of lives players get. +set scr_sab_planttime "2.5" // Time taken to plant the bomb. +set scr_sab_playerrespawndelay "7.5" // Time before respawn. +set scr_sab_roundlimit "1" // Rounds per game. +set scr_sab_roundswitch "1" // Rounds needed to be played before the teams switch sides. +set scr_sab_scorelimit "1" // Score limit to win the match. +set scr_sab_timelimit "10" // Duration in minutes the game lasts if the score limit isn't reached. +set scr_sab_waverespawndelay "0" // Time delay for first respawn before the game. + +////////////////////////////////////////////////// +// SEARCH AND DESTROY GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_sd_globalbattlechatterprobability "0" +set scr_sd_bombtimer "45" // Time taken for the bomb to detonate. +set scr_sd_defusetime "5" // Time taken to defuse the bomb. +set scr_sd_game_spectatetype "3" // Allow team spectate. +set scr_sd_multibomb "0" // Allow more than one bomb. +set scr_sd_numlives "1" // Number of lives per player per game. +set scr_sd_planttime "5" // Time taken to plant the bomb. +set scr_sd_playerrespawndelay "0" // Respawn wait. +set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited. +set scr_sd_roundswitch "3" // Rounds to be played before the teams switch sides. +set scr_sd_scorelimit "4" // Score limit required to win the game. +set scr_sd_timelimit "2.5" // Time limit if the score limit isn't reached. +set scr_sd_waverespawndelay "0" // Delay for first respawn. + +////////////////////////////////////////////////// +// TEAM DEATHMATCH GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_tdm_globalbattlechatterprobability "0" +set scr_tdm_bonus_leader "0" // Top Player on the leaderboard gets this much bonus. +set scr_tdm_numlives "0" // Number of lives per player 0 for unlimited. +set scr_tdm_playerrespawndelay "0" // Respawn wait. +set scr_tdm_roundlimit "1" // Rounds per game. +set scr_tdm_score_assist "50" // Points awarded for an assist. +set scr_tdm_score_death "0" // Points awarded for death. +set scr_tdm_score_headshot "0" // Headshot reward. +set scr_tdm_score_kill "100" // Points awarded for a kill. +set scr_tdm_scorelimit "7500" // Score limit to win the game. +set scr_tdm_score_suicide "0" // Score awarded for suicide. +set scr_tdm_timelimit "15" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_tdm_waverespawndelay "0" // Duration is seconds before the first respawn in each round. + +////////////////////////////////////////////////// +// GAMETYPE & WAGER TIPS // +////////////////////////////////////////////////// +// // +// tdm - Team deathmatch // +// dm - Free-for-all // +// sab - Sabotage // +// dem - Demolition // +// ctf - Capture the flag // +// sd - Search and destroy // +// dom - Domination // +// koth - Headquarters // +// // +//// Wager Matchs //////////////////////////////// +// // +// IMPORTMENT // +// Wager Matchs MUST require xblive_wagermatch 1// +// // +// hlnd - Stick and Stones* // +// gun - Gun mode* // +// shrp - Sharpshooter* // +// oic - One in the Chamber* // +// // +////////////////////////////////////////////////// + +set g_gametype "dem" // Select gametype from the list above +set xblive_wagermatch "0" // Set to 1 if you plan on using a wager match. This is a MUST! Failure to do so caused problems + +////////////////////////////////////////////////// +// MAP ROTATION TIPS // +////////////////////////////////////////////////// +// // +// mp_array - Array // +// mp_cracked - Cracked // +// mp_crisis - Crysis // +// mp_firingrange - Firingrange // +// mp_duga - Grid // +// mp_hanoi - Hanoi // +// mp_cairo - Havana // +// mp_havoc - Jungle // +// mp_cosmodrome - Launch // +// mp_nuked - Nuketown // +// mp_radiation - Radiation // +// mp_mountain - Summit // +// mp_villla - Villa // +// mp_russianbase - WMD // +// // +//// DLC1 FIRSTSTRIKE //////////////////////////// +// // +// mp_berlinwall2 - Berlin Wall // +// mp_discovery - Discovery // +// mp_kowloon - Kowloon // +// mp_stadium - Stadium // +// // +//// DLC2 ESCALATION ///////////////////////////// +// // +// mp_gridlock - Convoy // +// mp_hotel - Hotel // +// mp_outskirts - Stockpile // +// mp_zoo - Zoo // +// // +//// DLC3 ANNIHILATION /////////////////////////// +// // +// mp_drivein - Drive-In // +// mp_area51 - Hanger 18 // +// mp_golfcourse - Hazard // +// mp_silo - Silo // +// // +////////////////////////////////////////////////// + +set sv_maprotation "map mp_nuked" + +////////////////////////////////////////////////// +// PLAYLIST DVARS // +////////////////////////////////////////////////// + +set playlist_enabled "0" // Reserved slots for players in playlist. +set playlist_excludeMap "mapname" // Exclude this map from the server rotation. Type in the map name shortname. +set playlist_excludeGametype "" // Exclude this gametype, type in the gametype shortname. +set playlist_excludeGametypeMap "" // Exclude this gametype map, type in the map shortname. \ No newline at end of file diff --git a/z_bots.bat b/z_bots.bat new file mode 100644 index 0000000..476a217 --- /dev/null +++ b/z_bots.bat @@ -0,0 +1 @@ +start "" "%~dp0BlackOpsMP.exe" +set r_fullscreen "0" +set drawlagometer "1" +set logfile "2" +set cg_drawfps "3" +set cg_drawsnapshot "1" +set scr_game_spectatetype "2" +set r_mode "1024x768" +set thereisacow "1" +set sv_cheats "1" +set fs_game "mods/mp_bots" +set bot_friends "3" +set bot_enemies "4" +set scr_tdm_scorelimit "0" +map mp_nuked \ No newline at end of file diff --git a/z_client.bat b/z_client.bat new file mode 100644 index 0000000..259c4c9 --- /dev/null +++ b/z_client.bat @@ -0,0 +1 @@ +start "" "%~dp0BlackOpsMP.exe" +set r_fullscreen "1" +set drawlagometer "0" +set cg_drawfps "0" +set cg_drawsnapshot "0" +set r_mode "1920x1080" +set r_monitor "0" \ No newline at end of file diff --git a/z_dev.bat b/z_dev.bat index 55543d1..428b938 100644 --- a/z_dev.bat +++ b/z_dev.bat @@ -1 +1 @@ -start BlackOpsMP.exe +set r_fullscreen 0 +set drawlagometer 1 +set developer 1 +set developer_script 1 +set logfile 2 +set cg_drawfps 3 +set cg_drawsnapshot 1 +set scr_game_spectatetype 2 +set r_mode 1024x768 +set sv_cheats 1 +set fs_game "mods/mp_dev" +devmap mp_nuked \ No newline at end of file +start "" "%~dp0BlackOpsMP.exe" +set r_fullscreen "0" +set drawlagometer "1" +set developer "1" +set developer_script "1" +set logfile "2" +set cg_drawfps "3" +set cg_drawsnapshot "1" +set scr_game_spectatetype "2" +set r_mode "1024x768" +set thereisacow "1" +set sv_cheats "1" +set fs_game "mods/mp_dev" +set bot_friends "3" +set bot_enemies "4" +set scr_tdm_scorelimit "0" +devmap mp_nuked \ No newline at end of file diff --git a/z_devserver.bat b/z_devserver.bat index 2e4f97a..96f5261 100644 --- a/z_devserver.bat +++ b/z_devserver.bat @@ -1 +1 @@ -start BlackOpsMP.exe +set r_fullscreen 0 +set drawlagometer 1 +set developer 1 +set developer_script 1 +set logfile 2 +set cg_drawfps 3 +set cg_drawsnapshot 1 +set scr_game_spectatetype 2 +set r_mode 1024x768 +set sv_cheats 1 +connect 127.0.0.1 \ No newline at end of file +start "" "%~dp0BlackOpsMP.exe" +set r_fullscreen "0" +set drawlagometer "1" +set developer "1" +set developer_script "1" +set logfile "2" +set cg_drawfps "3" +set cg_drawsnapshot "1" +set scr_game_spectatetype "2" +set r_mode "1024x768" +set thereisacow "1" +set fs_game "mods/mp_dev" +set sv_cheats "1" +connect 127.0.0.1 \ No newline at end of file diff --git a/z_server.bat b/z_server.bat new file mode 100644 index 0000000..96d8dd4 --- /dev/null +++ b/z_server.bat @@ -0,0 +1 @@ +start "" "%~dp0BlackOpsMP.exe" +set dedicated "2" +set sv_maxclients "32" +set sv_licensenum "0" +set sv_punkbuster "0" +set sv_ranked "2" +set net_port "28960" +set developer "1" +set fs_game "mods/mp_bots" +exec server.cfg +map mp_nuked \ No newline at end of file diff --git a/z_serverdev.bat b/z_serverdev.bat index fa3ad1a..048fc3c 100644 --- a/z_serverdev.bat +++ b/z_serverdev.bat @@ -1 +1 @@ -start BlackOpsMP.exe +set dedicated 1 +set developer 1 +set developer_script 1 +set logfile 2 +set scr_game_spectatetype 2 +set sv_cheats 1 +set sv_maxclients 32 +set sv_licensenum 0 +set net_port 28960 +set sv_ranked 0 +set scr_tdm_scorelimit 0 +set scr_bots_managed_spawn 1 +set scr_bots_managed_all 7 +devmap mp_nuked \ No newline at end of file +start "" "%~dp0BlackOpsMP.exe" +set dedicated "1" +set developer "1" +set developer_script "1" +set logfile "2" +set scr_game_spectatetype "2" +set thereisacow "1" +set sv_cheats "1" +set sv_maxclients "32" +set sv_licensenum "0" +set sv_ranked "0" +set fs_game "mods/mp_dev" +set scr_bots_managed_spawn "1" +set scr_bots_managed_all "7" +set sv_punkbuster "0" +set scr_tdm_scorelimit "0" +set net_port "28960" +devmap mp_nuked \ No newline at end of file