diff --git a/main/server.cfg b/main/server.cfg index 693fa88..b810e17 100644 --- a/main/server.cfg +++ b/main/server.cfg @@ -1,299 +1,175 @@ -// --- QUERY INFORMATION -------------------------------- -set sv_hostname "^1Bot ^3War^5fare ^2- ^4Players vs bots ^724/7" // Please put a server host name here -set sv_securityLevel "23" -set sv_motd "^1Bot ^3War^5fare" - -// --- NETWORK OPTIMIZATION ----------------------------- -set sv_maxRate "25000" -set snaps "20" -set sv_network_fps "50" -set cl_maxpackets "30" -set sv_voiceQuality "3" - -// Optional settings returned by query, server listings may use this -sets _Admin "INeedGames" -sets _Email "ineedbots@pbot.org" -sets _Website "http://www.moddb.com/mods/bot-warfare" -sets _Location "Canada - West" - -// --- NON-GAMEPLAY CONFIGURATION ----------------------- -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 - -set sv_sayName "^7Console" // name server-side 'say' commands show up as -set sv_floodProtect "1" // Chat Spam Protection -set sv_kickBanTime "300" // Kick Ban Duration. Time before player can re-join the server after getting kicked. - -set com_logFilter "1" // Removes ~95% of unneeded lines from the log. -set sv_pure "0" // verifying cilent files -set g_password "" // Password Protected Game. Leave blank if you want players to join -set sv_allowClientConsole "0" // Enable or Disable players ability to access server commands -set scr_game_objectiveStreaks "1" - -set rcon_password "qazqaz" // Password for rcon, empty = enabled -set privateMatch_serverPassword "" // Game password, leave empty for a public game - -set sv_maxPing "0" // Maximum ping, any higher and players will get kicked - -set g_inactivity "180" // Time in seconds before a player gets kicked if not moving -set g_inactivitySpectator "180" // Time in seconds before a spectator gets kicked - -set g_logSync "1" // 1 = always flush games_mp.log, 0 = only flush on game end -set g_log "games_mp.log" // Name of the log file +set bots_manage_add "12" +set bots_manage_fill "12" +set bots_manage_fill_kick "1" +set bots_team_force "1" +set bots_loadout_allow_op "1" +set bots_loadout_reasonable "1" +set bots_manage_fill_spec "0" - -// --- BASE GAME CONFIGURATION -------------------------- -set g_gametype "war" // Game type - // war - Team Deathmatch - // dm - Free-for-all - // dom - Domination - // koth - Headquarters - // sab - Sabotage - // sd - Search and Destroy - // arena - Arena - // dd - Demolition - // ctf - Capture the Flag - // oneflag - One-Flag CTF - // gtnw - Global Thermo-Nuclear War - -// Uncomment below commands for hardcore mode -//set g_hardcore "1" -//set ui_hud_hardcore "1" -//set scr_hardcore "1" -//set scr_player_maxhealth "30" -//set scr_team_fftype "1" // 1 = on, 2 = reflect, 3 = shared -//set scr_player_healthregentime "0" -//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_game_deathpointloss "0"// Points Loss on death XP. -//set scr_game_suicidepointloss "0"//points loss on suicide -//set scr_team_teamkillpointloss "0"//point loss on tk - -//set scr_game_onlyheadshots "0" // Enable/Disable Only Headshots mode. You can only kill players by taking headshots. - -set scr_thirdperson "0" // Third-person mode -set scr_game_hardpoints "1" // Killstreaks, 1 = on -set scr_game_perks "1" // Perks, obviously - -set scr_game_allowkillcam "1" // 1 = allow, 0 = disallow - -set scr_diehard "0" // Die-hard mode - -set scr_player_forcerespawn "1" // Players respawn automatically after being fragged -set scr_nukeTimer "10" // Timer when nuke goes off -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 scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide. -set scr_player_sprinttime "4" // Sprint time, duration a player can run. - - - -//set scr_game_forceuav "0" -//set scr_game_graceperiod "4" -//set scr_game_killstreakdelay "0" - -//set scr_tispawndelay "0" - -//set scr_xpscale "1" - - -// --- GAMETYPE CONFIGURATION --------------------------- +/////////////////////////////////////////////////// +/// IW4x Server Configuration file // +/////////////////////////////////////////////////// +//This config best view with Notepad++ OR // +//Other non-windows notepad of your choice. // +/////////////////////////////////////////////////// ////////////////////////////////////////////////// -// FREE FOR ALL GAMETYPE SETTINGS // +// SERVER NAME & COLORS TIPS // +////////////////////////////////////////////////// +// // +// ^1 Red // +// ^2 Green // +// ^3 yellow // +// ^4 Blue // +// ^5 Cyan // +// ^6 Pink // +// ^7 White // +// ^8 Depends on the map you playing. // +// American maps: Dark Green // +// Russian maps: Dark Red // +// British maps: Dark Blue // +// ^9 grey // +// ^0 Black // +// ^: Rainbow colors // +// // ////////////////////////////////////////////////// -set scr_dm_scorelimit "50000" // Score limit to win the game. -set scr_dm_timelimit "30" // Duration in minutes for the game to end if the score limit isn't reached. -set scr_dm_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds -set scr_dm_numlives "0" // Number of lives per player 0 for unlimited. -set scr_dm_promode "0" -set scr_dm_waverespawndelay "0" // Duration is seconds before the first respawn in each round. -set scr_dm_roundlimit "1" // Rounds per game. -set scr_dm_winlimit "1" // amount of wins needed to win a round-based game +set sv_hostname "^1Bot ^3War^5fare ^2- ^4Players vs bots ^724/7" // Sets the server hostname +set sv_motd "^1Bot ^3War^5fare" // Sets a custom motd which is shown on the loadscreen when a player joins ////////////////////////////////////////////////// -// TEAM DEATHMATCH GAMETYPE SETTINGS // +// ADMIN INFO // ////////////////////////////////////////////////// -set scr_war_scorelimit "100000" // Score limit to win the game. -set scr_war_timelimit "30" // Duration in minutes for the game to end if the score limit isn't reached. - -set scr_war_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds -set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round. -set scr_war_numlives "0" // Number of lives per player 0 for unlimited. -set scr_war_promode "0" -set scr_war_roundlimit "1" // Rounds per game. -set scr_war_winlimit "1" // amount of wins needed to win a round-based game +set _Admin "INeedGames" // Your username. +set _Email "ineedbots@outlook.com" // E-mail address. you can leave blank +set _Website "http://www.moddb.com/mods/bot-warfare" // Website +set _Location "Canada - West" // Location ////////////////////////////////////////////////// -// DOMINATION GAMETYPE SETTINGS // +// NON-GAMEPLAY CONFIGURATION // ////////////////////////////////////////////////// -set scr_dom_scorelimit "200" // Score limit to win the game. -set scr_dom_timelimit "15" // Duration in minutes for the game to end if the score limit isn't reached. +set rcon_password "" // Access to your server to change stuff remotely or ingame. empty disabled +set sv_securityLevel "23" // Configures the servers security level. +set sv_customTextColor "" // custom color for ^; +set g_password "" // Password Protected Server. Leave blank if you want players to join +set g_inactivity "380" // Enable auto kick feature for idle/AFK players +set g_inactivitySpectator "380" // Time in seconds before a spectator gets kicked +set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end +set g_log "logs/games_mp.log" // Gamelog filename. If you edit this..make sure you change B3.xml if you have bigbrotherbot. +set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands +set sv_maxclients "18" // Max players in your server. +set sv_maxPing "0" // (BUGGED) Maximum ping allowed, any higher and players will get kicked.( If you get 'server is for low ping players only', set this to 0) +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 +set com_logFilter "1" // Removes ~95% of unneeded lines from the log. +set sv_pure "0" // verifying cilent files +set sv_sayName "^7Console" // name server-side 'say' commands show up as +set sv_floodProtect "1" // Chat Spam Protection +set sv_kickBanTime "300" // Kick Ban Duration. Time before player can re-join the server after getting kicked. +set party_enable "0" // Lobby Mode Server. Read the wiki more about this. If you want sv_maprotation & control your gametype settings. Leave this at 0. -set scr_dom_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds -set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round. -set scr_dom_numlives "0" // Number of lives per player 0 for unlimited. -set scr_dom_promode "0" -set scr_dom_roundlimit "1" // Rounds per game -set scr_dom_winlimit "1" // amount of wins needed to win a round-based game +////////////////////////////////////////////////// +// BASE GAME CONFIGURATION // +////////////////////////////////////////////////// +// // +// war - Team Deathmatch // +// dm - Free-for-all // +// dom - Domination // +// koth - Headquarters // +// sab - Sabotage // +// sd - Search and Destroy // +// arena - Arena // +// dd - Demolition // +// ctf - Capture the Flag // +// oneflag - One-Flag CTF // +// gtnw - Global Thermo-Nuclear War // +// // +////////////////////////////////////////////////// + +set g_gametype "dom" // Defualt gametype in case map rotation doesnt have any gametypes. Choose a gametype from the list above. +set scr_player_forcerespawn "1" // Players respawn automatically after being fragged +set scr_thirdperson "0" // third-person mode +set scr_game_hardpoints "1" // Enable/Disable Killstreak rewards +set scr_hardpoint_allowhelicopter "1" // Allow Attack Helicopters +set scr_hardpoint_allowuav "1" // Allow UAV +set scr_hardpoint_allowartillery "1" // Allow Airstrikes +set scr_game_perks "1" // Allow players to have perks +set scr_game_allowkillcam "1" // Allow Killcam. +set scr_nukeTimer "10" // Timer when nuke goes off +set scr_diehard "0" // die-hard mode. Teammates will have to relieve each other. +set scr_teambalance "1" // Enable or Disable auto balance. +set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free +set scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide. +set scr_player_sprinttime "4" // Sprint time, duration a player can run. +set scr_game_killstreakdelay "8" // Delay your killstreaks +set scr_game_objectiveStreaks "1" // Enable Chopper, AC130 and Nuke +set scr_classic "0" // Enable IW3 killstreak system + +////////////////////////////////////////////////// +// XP BOOST CONFIGURATION // +////////////////////////////////////////////////// +// uncomment below commands for XP config // +// by removing the // before each set dvar. // +// Change "war" gametype to your liking. // +// // +// DO NOT ABUSE! Some people like to rank. // +// DON'T BE A DICK! Warn HIGH XP via hostname. // +// Don't know what you doing? Don't touch it! // +////////////////////////////////////////////////// + +//set scr_xpscale "2" // IW's way of Double XP. + +//set scr_war_score_kill "0" // Amount of XP by each kill. +//set scr_war_score_headshot "0" // Amount of XP by each headshot. +//set scr_war_score_death "0" // Amount of XP by each death. +//set scr_war_score_suicide "0" // Amount of XP by each suicide. +//set scr_war_score_assist "0" // Amount of XP by each assist. + +////////////////////////////////////////////////// +// HARDCORE CONFIGURATION // +////////////////////////////////////////////////// +// uncomment below commands for some hardcore // +// by removing the // before each set dvar. // +////////////////////////////////////////////////// + +// set g_hardcore "1" // Enable hardcore mode +// set scr_hardcore "1" // Enable hardcore mode again... +// set ui_hud_hardcore "1" // Removes Heads up display in hardcore mode. +// set scr_game_deathpointloss "0" // Points Loss on death XP. +// set scr_game_onlyheadshots "0" // Enable/Disable Only Headshots mode. You can only kill players by taking headshots. +// set scr_player_maxhealth "30" // Percent of Health players will have on Respawn. +// set scr_team_fftype "1" // Enable or Disable Friendly Fire. 1 on, 2 reflect, 3 shared +// set scr_player_healthregentime "0" // Time it takes you to recover damage. +// set scr_team_kickteamkillers "5" // 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). ////////////////////////////////////////////////// -// DEMOLITION GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_dd_scorelimit "2" // Score limit needed to win. -set scr_dd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached. - -set scr_dd_roundswitch "1" // Rounds before the teams switch the sides. -set scr_dd_bombtimer "45" // Time the bomb takes to detonate. -set scr_dd_defusetime "5" // Time taken to defuse the bomb. -set scr_dd_extratime "3" -set scr_dd_numlives "0" // Lives per player 0 for unlimited. -set scr_dd_planttime "5" // Time it takes to plant a bomb in seconds. -set scr_dd_roundlimit "3" // Rounds the game is limited to, if there are no winners. -set scr_dd_playerrespawndelay "0" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds -set scr_dd_promode "0" - - -////////////////////////////////////////////////// -// SEARCH AND DESTROY GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_sd_scorelimit "1" // Score limit required to win the game. -set scr_sd_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached. - -set scr_sd_playerrespawndelay "-1" // -1 is no respawn delay, 0 is automatic, > 0 is X seconds -set scr_sd_waverespawndelay "0" // Delay for first respawn. -set scr_sd_numlives "0" // Number of lives per player per game. -set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited. -set scr_sd_winlimit "4" // amount of wins needed to win a round-based game -set scr_sd_roundswitch "3" // after X rounds, switch sides -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_multibomb "0" // allow multiple people to 'have the bomb' -set scr_sd_planttime "500" -set scr_sd_promode "0" - - -////////////////////////////////////////////////// -// SABOTAGE GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_sab_scorelimit "0" // Score limit to win the match. -set scr_sab_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. - -set scr_sab_bombtimer "45" // 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_waverespawndelay "0" // Time delay for first respawn before the game. -set scr_sab_promode "0" - - -////////////////////////////////////////////////// -// CAPTURE THE FLAG GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_ctf_scorelimit "3" // Target score before the round ends. -set scr_ctf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. - -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 "1" // How many rounds match would last. -set scr_ctf_roundswitch "1" // Rounds before the teams switch sides. -set scr_ctf_waverespawndelay "10" - -////////////////////////////////////////////////// -// ONE FLAG GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_oneflag_scorelimit "1" // Target score before the round ends. -set scr_oneflag_timelimit "3" // Duration in minutes for the game to end if the score limit isn't reached. - -set scr_oneflag_numlives "0" // Number of lives per player 0 for unlimited. -set scr_oneflag_playerrespawndelay "0" // Respawn wait in seconds. -set scr_oneflag_roundlimit "1" // How many rounds match would last. -set scr_oneflag_roundswitch "1" // Rounds before the teams switch sides. -set scr_oneflag_waverespawndelay "0" - - -////////////////////////////////////////////////// -// HEADQUARTERS GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_koth_scorelimit "250" // Score limit to win the game. -set scr_koth_timelimit "10" // Duration in minutes the game will continue if the score isn't reached. - -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_winlimit "1" // rounds per game -set scr_koth_waverespawndelay "0" // First respawn delay for each round. -set koth_proMode "0" - -////////////////////////////////////////////////// -// ARENA GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_arena_scorelimit "1" // Score limit to win the game. -set scr_arena_timelimit "2.5" // Duration in minutes the game will continue if the score isn't reached. - -set scr_arena_numlives "1" // Number of lives per game 0 for unlimited. -set scr_arena_roundlimit "0" // Rounds to be played. -set scr_arena_roundswitch "3" // Rounds before the teams switch sides. -set scr_arena_winlimit "4" // rounds per game -set scr_arena_promode "0" - - -////////////////////////////////////////////////// -// GLOBAL THERMONUCLEAR WAR GAMETYPE SETTINGS // -////////////////////////////////////////////////// - -set scr_gtnw_scorelimit "100" // Score limit to win the game. -set scr_gtnw_timelimit "6" // Duration in minutes the game will continue if the score isn't reached. - -set scr_gtnw_numlives "0" // Number of lives per game 0 for unlimited. -set scr_gtnw_playerrespawndelay "0" // Players respawn wait. -set scr_gtnw_roundlimit "1" // Rounds to be played. -set scr_gtnw_roundswitch "0" // Rounds before the teams switch sides. -set scr_gtnw_waverespawndelay "0" // First respawn delay for each round. -set scr_gtnw_winlimit "1" // rounds per game -set scr_gtnw_promode "0" - -////////////////////////////////////////////////// -// AIRDROP CONFIGURATION // +// AIRDROP CONFIGURATION // ////////////////////////////////////////////////// // uncomment below commands for airdrop config // -// by removing the // before each set dvar. // -// // -// Weight (1->1000) // -// Selection is weighted random // -// higher weights increase selection chance // +// by removing the // before each set dvar. // +// // +// Weight (1->1000) // +// Selection is weighted random // +// higher weights increase selection chance // ////////////////////////////////////////////////// // set scr_airdrop_ac130 "3" -set scr_airdrop_ammo "15" +// set scr_airdrop_ammo "17" // set scr_airdrop_counter_uav "15" -set scr_airdrop_emp "2" +// set scr_airdrop_emp "1" // set scr_airdrop_harrier_airstrike "7" // set scr_airdrop_helicopter "7" // set scr_airdrop_helicopter_flares "5" // set scr_airdrop_helicopter_minigun "3" -set scr_airdrop_nuke "1" +// set scr_airdrop_nuke "0" // set scr_airdrop_precision_airstrike "11" // set scr_airdrop_predator_missile "12" // set scr_airdrop_sentry "12" @@ -302,20 +178,20 @@ set scr_airdrop_nuke "1" ////////////////////////////////////////////////// -// EMERGENCY AIRDROP CONFIGURATION // +// EMERGENCY AIRDROP CONFIGURATION // ////////////////////////////////////////////////// // uncomment below commands for airdrop config // -// by removing the // before each set dvar. // -// // -// Weight (1->1000) // -// Selection is weighted random // -// higher weights increase selection chance // +// by removing the // before each set dvar. // +// // +// Weight (1->1000) // +// Selection is weighted random // +// higher weights increase selection chance // ////////////////////////////////////////////////// // set scr_airdrop_mega_ac130 "2" // set scr_airdrop_mega_ammo "12" // set scr_airdrop_mega_counter_uav "16" -set scr_airdrop_mega_emp "1" +// set scr_airdrop_mega_emp "0" // set scr_airdrop_mega_harrier_airstrike "5" // set scr_airdrop_mega_helicopter "5" // set scr_airdrop_mega_helicopter_flares "3" @@ -328,112 +204,268 @@ set scr_airdrop_mega_emp "1" // set scr_airdrop_mega_uav "12" -// --- AUTOMATED ROTATION ------------------------------- +////////////////////////////////////////////////// +// FREE FOR ALL GAMETYPE SETTINGS // +////////////////////////////////////////////////// -set sv_mapRotation "map mp_terminal map mp_rust map mp_nuked map iw4_credits map mp_highrise map mp_nightshift map mp_subbase map mp_favela map mp_crash map mp_vacant map mp_boneyard map mp_killhouse" -set sv_mapRotationCurrent "map mp_rust" +set scr_dm_scorelimit "1500" // Score limit to win the game. +set scr_dm_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_dm_playerrespawndelay "0" // How long player will wait until respawn. +set scr_dm_numlives "0" // Number of lives per player 0 for unlimited. +set scr_dm_roundlimit "1" // Rounds per game. +set scr_dm_winlimit "1" // amount of wins needed to win a round-based game +set scr_dm_promode "0" -set com_maxFps "0" -set com_maxFrameTime "50" +////////////////////////////////////////////////// +// TEAM DEATHMATCH GAMETYPE SETTINGS // +////////////////////////////////////////////////// -set bots_manage_add "0" -set bots_manage_fill "9" -set bots_manage_fill_mode "1" -set bots_manage_fill_kick "1" -set bots_manage_reset "0" -set bots_team "axis" -set bots_team_amount "0" -set bots_team_force "1" -set bots_team_mode "1" -set bots_skill "1" -set bots_skill_axis_hard "0" -set bots_skill_axis_med "0" -set bots_skill_allies_hard "0" -set bots_skill_allies_med "0" -set bots_play_talk "0.1" -set bots_play_watchKillcam "0" -set bots_loadout_remember "0" -set bots_loadout_change "1" -set bots_play_rageQuit "0" -set bots_loadout_tube "1" -set bots_loadout_shotgun "1" -set bots_loadout_sniper "1" -set bots_loadout_knife "1" -set bots_loadout_nade "1" -set bots_play_camp "1" -set bots_play_obj "1" -set bots_play_run "0" -set bots_play_tdks "1" -set bots_play_takeCare "1" -set bots_loadout_killstreak "random" -set bots_loadout "random" -set bots_loadout_deathstreak "0" -set bots_play_outOfMyWay "1" -set bots_loadout_secondary "1" -set bots_play_attack "1" -set bots_play_aim "1" -set bots_play_move "1" -set bots_play_doStuck "1" -set bots_loadout_nuke "1" -set bots_loadout_riot "0" -set bots_loadout_lastStand "0" -set bots_play_destroyEq "1" -set bots_play_fakeAnims "2" -set bots_main_menu "1" -set bots_main_GUIDs "" -set bots_main "1" -set bots_main_Names "" -set bots_main_experience "-1" -set bots_main_prestige "-1" -set bots_main_debug "0" -set bots_main_target "" -set bots_main_title "" -set bots_main_emblem "" -set bots_play_throwback "1" -set bots_loadout_akimbo "1" -set bots_manage_fill_spec "1" -set bots_play_footsounds "0" -set bots_main_fun "0" -set bots_main_target_host "1" +set scr_war_scorelimit "7500" // Score limit to win the game. +set scr_war_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_war_playerrespawndelay "0" // How long player will wait until respawn. +set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round. +set scr_war_numlives "0" // Number of lives per player 0 for unlimited. +set scr_war_roundlimit "1" // Rounds per game. +set scr_war_winlimit "1" // amount of wins needed to win a round-based game +set scr_war_promode "0" -set scr_allowDropWeaponOnCommand "0" -set scr_allowClaymoreBounces "1" -set scr_allowPickUpEquipment "1" -set scr_allowDropWeaponOnDeath "1" -set scr_extraTeamIcons "1" -set scr_deleteNadeOnTeamChange "1" +////////////////////////////////////////////////// +// DOMINATION GAMETYPE SETTINGS // +////////////////////////////////////////////////// -set scr_printDamage "1" -set headshot_detach_head "1" -set scr_extraDamageFeedback "1" -set scr_disableKnife "0" -set scr_intermission_time "30.0" -set scr_forceKillcam "1" -set scr_forceKillcam_winnersKill "0" -set scr_disableTurret "0" -set scr_failCam "1" -set scr_voting "1" -set scr_voting_maps "mp_terminal,mp_rust,mp_nuked,mp_shipment,mp_highrise,mp_nightshift,mp_subbase,mp_favela,mp_crash,mp_vacant,mp_boneyard" -set scr_voting_time "26.0" -set scr_voting_winTime "4.0" -set scr_allow_intermission "0" -set scr_voting_bots "1" -set scr_nuke_increases_streak "0" +set scr_dom_scorelimit "200" // Score limit to win the game. +set scr_dom_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_dom_playerrespawndelay "0" // How long player will wait until respawn. +set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round. +set scr_dom_numlives "0" // Number of lives per player per game. 0 is unlimited. +set scr_dom_roundlimit "1" // Rounds per game +set scr_dom_winlimit "1" // amount of wins needed to win a round-based game +set scr_dom_promode "0" -set scr_allowSpecialist "1" -set scr_allowStalkerPerk "1" -set scr_allowViewKickPerk "1" -set scr_allowArmorvestPerk "1" +////////////////////////////////////////////////// +// DEMOLITION GAMETYPE SETTINGS // +////////////////////////////////////////////////// -set scr_allowFPSBooster "1" +set scr_dd_scorelimit "1" // Score limit needed to win. +set scr_dd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_dd_playerrespawndelay "0" // How long player will wait until respawn. +set scr_dd_waverespawndelay "0" // Duration is seconds before the first respawn in each round. +set scr_dd_numlives "0" // Number of lives per player per game. 0 is unlimited. +set scr_dd_roundswitch "1" // Rounds before the teams switch the sides. +set scr_dd_bombtimer "45" // Time the bomb takes to detonate. +set scr_dd_defusetime "5" // Time taken to defuse the bomb. +set scr_dd_planttime "5" // Time it takes to plant a bomb in seconds. +set scr_dd_roundlimit "3" // Rounds the game is limited to, if there are no winners. +set scr_dd_promode "0" -set scr_nukeEndsGame "0" -set scr_nukeKillsAll "0" -set scr_empEffectsAll "0" +////////////////////////////////////////////////// +// SEARCH AND DESTROY GAMETYPE SETTINGS // +////////////////////////////////////////////////// -set scr_usePVBHelper "axis" -set scr_PVBHelperHardBotNukify "1" +set scr_sd_scorelimit "1" // Score limit required to win the game. +set scr_sd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_sd_playerrespawndelay "0" // How long player will wait until respawn. +set scr_sd_waverespawndelay "0" // Duration is seconds before the first respawn in each round. +set scr_sd_numlives "1" // Number of lives per player per game. +set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited. +set scr_sd_winlimit "4" // amount of wins needed to win a round-based game. +set scr_sd_roundswitch "3" // after X rounds, switch sides. +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_multibomb "0" // allow multiple people to 'have the bomb'. +set scr_sd_planttime "5" // How long will it take player to 'plant the bomb'. +set scr_sd_promode "0" -set scr_showHP "1" -set scr_killstreaksRollOver "1" \ No newline at end of file +////////////////////////////////////////////////// +// SABOTAGE GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_sab_scorelimit "0" // Score limit to win the match. +set scr_sab_timelimit "20" // Duration in minutes for the game to end if the score limit isn't reached. +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 per player per game. +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_waverespawndelay "0" // Time delay for first respawn before the game. +set scr_sab_promode "0" + + +////////////////////////////////////////////////// +// CAPTURE THE FLAG GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_ctf_scorelimit "0" // Target score before the round ends. +set scr_ctf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_ctf_numlives "0" // Number of lives per player 0 for unlimited. +set scr_ctf_halftime "1" // Half-Time +set scr_ctf_roundlimit "1" // How many rounds match would last. +set scr_ctf_returntime "30" // How many seconds before flag returns to base without nobody touching it. +set scr_ctf_playerrespawndelay "0" // Respawn wait in seconds. +set scr_ctf_waverespawndelay "10" // Time delay for first respawn before the game. +set scr_ctf_promode "0" + +////////////////////////////////////////////////// +// ONE FLAG GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_oneflag_scorelimit "1" // Target score before the round ends. +set scr_oneflag_timelimit "3" // Duration in minutes for the game to end if the score limit isn't reached. +set scr_oneflag_numlives "0" // number of lives per player 0 for unlimited. +set scr_oneflag_playerrespawndelay "0" // Respawn wait in seconds. +set scr_oneflag_roundlimit "1" // How many rounds match would last. +set scr_oneflag_roundswitch "1" // Rounds before the teams switch sides. +set scr_oneflag_waverespawndelay "0" // First respawn delay for each round. +set scr_oneflag_promode "0" + +////////////////////////////////////////////////// +// HEADQUARTERS GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +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_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_winlimit "1" // rounds per game +set scr_koth_waverespawndelay "0" // First respawn delay for each round. +set scr_koth_promode "0" + +////////////////////////////////////////////////// +// ARENA GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_arena_scorelimit "1" // Score limit to win the game. +set scr_arena_timelimit "2.5" // Duration in minutes the game will continue if the score isn't reached. +set scr_arena_numlives "1" // Number of lives per game 0 for unlimited. +set scr_arena_roundlimit "0" // Rounds to be played. +set scr_arena_roundswitch "3" // Rounds before the teams switch sides. +set scr_arena_winlimit "4" // rounds per game +set scr_arena_promode "0" + + +////////////////////////////////////////////////// +// GLOBAL THERMONUCLEAR WAR GAMETYPE SETTINGS // +////////////////////////////////////////////////// + +set scr_gtnw_scorelimit "101" // Score limit to win the game. +set scr_gtnw_timelimit "10" // Duration in minutes the game will continue if the score isn't reached. +set scr_gtnw_numlives "0" // Number of lives per game 0 for unlimited. +set scr_gtnw_playerrespawndelay "0" // Players respawn wait. +set scr_gtnw_roundlimit "1" // Rounds to be played. +set scr_gtnw_roundswitch "0" // Rounds before the teams switch sides. +set scr_gtnw_winlimit "1" // rounds per game +set scr_gtnw_waverespawndelay "0" // First respawn delay for each round. +set scr_gtnw_promode "0" + + +////////////////////////////////////////////////// +// MAP ROTATION TIPS // +////////////////////////////////////////////////// +// // +//Example: sv_maprotation "map mp_bloc map mp_" // +// // +// mp_afghan - Afghan // +// mp_derail - Derail // +// mp_estate - Estate // +// mp_favela - Favela // +// mp_highrise - Highrise // +// mp_invasion - Invasion // +// mp_checkpoint - Karachi // +// mp_quarry - Quarry // +// mp_rundown - Rundown // +// mp_rust - Rust // +// mp_boneyard - Scrapyard // +// mp_nightshift - Skidrow // +// mp_subbase - Sub Base // +// mp_terminal - Terminal // +// mp_underpass - Underpass // +// mp_brecourt - Wasteland // +// // +//// DLC1 STIMULUS /////////////////////////////// +// Make sure you have them all installed on your// +// server. // +// // +// mp_complex - Bailout // +// mp_crash - Crash // +// mp_overgrown - Overgrown // +// mp_compact - Salvage // +// mp_storm - Storm // +// // +//// DLC2 RESURGENCE ///////////////////////////// +// // +// mp_abandon - Carnival // +// mp_fuel2 - Fuel // +// mp_strike - Strike // +// mp_trailerpark - Trailer Park // +// mp_vacant - Vacant // +// // +//// DLC3 NUKETOWN /////////////////////////////// +// // +// mp_nuked - Nuketown // +// // +/// DLC4 CLASSICS 1 ////////////////////////////// +// // +// mp_cross_fire - Crossfire // +// mp_bloc - Bloc // +// mp_cargoship - Cargoship // +// // +/// DLC5 CLASSICS 2 ////////////////////////////// +// // +// mp_killhouse - Killhouse // +// mp_bog_sh - Bog // +// // +/// DLC6 FREIGHTER /////////////////////////////// +// // +// mp_cargoship_sh - Freighter // +// // +/// DLC7 RESURRECTION //////////////////////////// +// // +// mp_shipment_long - Long:Shipment // +// mp_rust_long - Long: Rust // +// mp_firingrange - Firing Range // +// // +/// DLC8 RECYCLED //////////////////////////////// +// // +// mp_storm_spring - Chemical Plant // +// mp_fav_tropical - Tropical: Favela // +// mp_estate_tropical - Tropical: Estate // +// mp_crash_tropical - Tropical: Crash // +// mp_bloc_sh - Forgotten City // +// // +/// SP MAPS to MP //////////////////////////////// +// // +// oilrig - Oilrig // +// iw4_credits - Test map // +// co_hunted - Village // +// // +////////////////////////////////////////////////// + +/////////////////////////////////////////////////////// +// GAMETYPE ROTATION TIPS // +/////////////////////////////////////////////////////// +// // +// Example: set sv_maprotation // +// "gametype dm map mp_rust gametype war map oilrig" // +// // +// war - Team Deathmatch // +// dm - Free-for-all // +// dom - Domination // +// koth - Headquarters // +// sab - Sabotage // +// sd - Search and Destroy // +// arena - Arena // +// dd - Demolition // +// ctf - Capture the Flag // +// oneflag - One-Flag CTF // +// gtnw - Global Thermo-Nuclear War // +// // +/////////////////////////////////////////////////////// + + +set sv_maprotation "map mp_rust" diff --git a/mods/bots/maps/mp/bots/_bot.gsc b/mods/bots/maps/mp/bots/_bot.gsc index 41edffa..e27b9cf 100644 --- a/mods/bots/maps/mp/bots/_bot.gsc +++ b/mods/bots/maps/mp/bots/_bot.gsc @@ -102,6 +102,8 @@ handleBots() level thread teamBots(); level thread diffBots(); level addBots(); + + setDvar("bots_manage_add", getBotArray().size); } /* diff --git a/mods/bots/maps/mp/bots/_bot_internal.gsc b/mods/bots/maps/mp/bots/_bot_internal.gsc index 79e0b63..0a66819 100644 --- a/mods/bots/maps/mp/bots/_bot_internal.gsc +++ b/mods/bots/maps/mp/bots/_bot_internal.gsc @@ -124,6 +124,9 @@ resetBotVars() self.bot.ads_lowest = 9; self.bot.ads_tightness = self.bot.ads_lowest; self.bot.ads_highest = 1; + + self.bot.jumping = false; + self.bot.jumpingafter = false; } /* @@ -197,6 +200,32 @@ smoke(time) */ jump() { + self endon("death"); + self endon("disconnect"); + + if (isDefined(self.lastStand) || self getStance() != "stand" || + level.gameEnded || !gameFlag( "prematch_done" ) || + self.bot.isfrozen || self.bot.climbing || self.bot.jumping || self.bot.jumpingafter) + return; + + self.bot.jumping = true; + self.bot.jumpingafter = true; + + for (i = 0; i < 6; i++) + { + self SetOrigin(self.origin + (0, 0, 13)); + wait 0.05; + } + + self.bot.jumping = false; + + for (i = 0; i < 6; i++) + { + self SetOrigin(self.origin + (0, 0, -5)); + wait 0.05; + } + + self.bot.jumpingafter = false; } /* @@ -380,8 +409,6 @@ moveHack() self endon("disconnect"); self endon("death"); - self SetOrigin((0,0,-500)); - self.bot.last_pos = self.origin; self.bot.moveTo = self.origin; @@ -411,7 +438,7 @@ moveHack() { // a number between 0 and 1, 1 being totally flat, same level. 0 being totally above or below. about 0.7 is a 45 degree angle verticleDegree = getConeDot(self.bot.moveTo + (1, 1, 0), self.origin + (-1, -1, 0), VectorToAngles((self.bot.moveTo[0], self.bot.moveTo[1], self.origin[2]) - self.origin)); - self.bot.climbing = (abs(self.bot.moveTo[2] - self.origin[2]) > 50 && verticleDegree < 0.64); + self.bot.climbing = (abs(self.bot.moveTo[2] - self.origin[2]) > 50 && verticleDegree < 0.64 && !self.bot.jumpingafter); } if (inLastStand || usingRemote) @@ -485,13 +512,13 @@ moveHack() if (completedMove) continue; - if (!self.bot.climbing || inLastStand) + if (!self.bot.climbing) { self SetOrigin(self.origin + (VectorNormalize((self.bot.moveTo[0], self.bot.moveTo[1], self.origin[2])-self.origin) * moveSpeed)); // clamp to ground trace = physicsTrace(self.origin + (0.0,0.0,50.0), self.origin + (0.0,0.0,-40.0)); - if((trace[2] - (self.origin[2]-40.0)) > 0.0 && ((self.origin[2]+50.0) - trace[2]) > 0.0) + if(!self.bot.jumping && (trace[2] - (self.origin[2]-40.0)) > 0.0 && ((self.origin[2]+50.0) - trace[2]) > 0.0) { self SetOrigin(trace); } diff --git a/z_dev.bat b/z_dev.bat index 61fa549..f9e5d3b 100644 --- a/z_dev.bat +++ b/z_dev.bat @@ -1 +1 @@ -start iw4x.exe -nosteam -console +set r_fullscreen "0" +set fs_game "mods/bots" +set developer "1" +set developer_script "1" +set cg_drawfps "4" +set sv_cheats "1" +set drawlagometer "1" +set scr_game_spectatetype "2" +set r_mode "7" +devmap mp_rust \ No newline at end of file +start iw4x.exe -nosteam -console +set r_fullscreen "0" +set fs_game "mods/bots" +set developer "1" +set developer_script "1" +set cg_drawfps "4" +set sv_cheats "1" +set drawlagometer "1" +set scr_game_spectatetype "2" +set r_mode "1024x768" +devmap mp_rust \ No newline at end of file diff --git a/z_devserver.bat b/z_devserver.bat index 4359c82..9aa3499 100644 --- a/z_devserver.bat +++ b/z_devserver.bat @@ -1 +1 @@ -start iw4x.exe -nosteam -console +set r_fullscreen "0" +set fs_game "mods/bots" +set developer "1" +set developer_script "1" +set cg_drawfps "4" +set sv_cheats "1" +set drawlagometer "1" +set scr_game_spectatetype "2" +set r_mode "7" +connect 127.0.0.1 \ No newline at end of file +start iw4x.exe -nosteam -console +set r_fullscreen "0" +set fs_game "mods/bots" +set developer "1" +set developer_script "1" +set cg_drawfps "4" +set sv_cheats "1" +set drawlagometer "1" +set scr_game_spectatetype "2" +set r_mode "1024x768" +connect 127.0.0.1 \ No newline at end of file diff --git a/z_server.bat b/z_server.bat index fbee7fc..3dbfde9 100644 --- a/z_server.bat +++ b/z_server.bat @@ -1 +1 @@ -start iw4x.exe -dedicated +set party_maxplayers 18 +set net_port 28960 +party_enable 0 +set fs_game "mods/bots" +exec server.cfg +map_rotate \ No newline at end of file +start iw4x.exe -dedicated +set sv_lanonly "1" +set net_port "28960" +set fs_game "mods/bots" +exec server.cfg +map_rotate \ No newline at end of file diff --git a/z_serverdev.bat b/z_serverdev.bat index 963f03d..c1d6416 100644 --- a/z_serverdev.bat +++ b/z_serverdev.bat @@ -1 +1 @@ -start iw4x.exe -dedicated +set fs_game "mods/bots" +set developer "1" +set developer_script "1" +set scr_game_spectatetype "2" scr_war_scorelimit "0" +set sv_cheats "1" +set logfile "2" +set bots_manage_add "7" +devmap mp_rust \ No newline at end of file +start iw4x.exe -dedicated +set sv_lanonly "1" +set fs_game "mods/bots" +set net_port "28960" +set developer "1" +set developer_script "1" +set scr_game_spectatetype "2" scr_war_scorelimit "0" +set sv_cheats "1" +set logfile "2" +set bots_manage_add "7" +devmap mp_rust \ No newline at end of file