From 551e7f55dba885b53af4545328860b509f87f633 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sun, 9 Jul 2023 18:56:52 -0600 Subject: [PATCH] small --- README.md | 36 ++++++++++++------------ main/server.cfg | 7 ++--- main_shared/maps/mp/bots/_bot_script.gsc | 2 ++ z_server.bat | 6 +++- 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 1beb108..f494350 100644 --- a/README.md +++ b/README.md @@ -55,33 +55,33 @@ This mod extends the functionality and features of Combat Training in Black Ops ### DVARs | Dvar | Description | Default Value | |----------------------------------|---------------------------------------------------------------------------------------------|--------------:| -| bots_main | Enable this mod. | true | +| bots_main | Enable this mod. | 1 | | bots_main_waitForHostTime | How many seconds to wait for the host player to connect before adding bots to the match. | 10 | -| bots_main_kickBotsAtEnd | Kick the bots at the end of a match. | false | +| bots_main_kickBotsAtEnd | Kick the bots at the end of a match. | 0 | | bots_manage_add | Amount of bots to add to the game, once bots are added, resets back to `0`. | 0 | | bots_manage_fill | Amount of players/bots (look at `bots_manage_fill_mode`) to maintain in the match. | 0 | | bots_manage_fill_mode | `bots_manage_fill` players/bots counting method. | 0 | -| bots_manage_fill_kick | If the amount of players/bots in the match exceeds `bots_manage_fill`, kick bots until no longer exceeds. | false | -| bots_manage_fill_spec | If when counting players for `bots_manage_fill` should include spectators. | true | +| bots_manage_fill_kick | If the amount of players/bots in the match exceeds `bots_manage_fill`, kick bots until no longer exceeds. | 0 | +| bots_manage_fill_spec | If when counting players for `bots_manage_fill` should include spectators. | 1 | | bots_team | One of `autoassign`, `allies`, `axis`, `spectator`, or `custom`. What team the bots should be on. | autoassign | | bots_team_amount | When `bots_team` is set to `custom`. The amount of bots to be placed on the axis team. The remainder will be placed on the allies team. | 0 | -| bots_team_force | If the server should force bots' teams according to the `bots_team` value. When `bots_team` is `autoassign`, unbalanced teams will be balanced. This dvar is ignored when `bots_team` is `custom`. | false | -| bots_team_mode | When `bots_team_force` is `true` and `bots_team` is `autoassign`, players/bots counting method. | 0 | -| bots_loadout_reasonable | If the bots should filter bad performing create-a-class selections. | false | -| bots_loadout_allow_op | If the bots should be able to use overpowered and annoying create-a-class selections. | true | +| bots_team_force | If the server should force bots' teams according to the `bots_team` value. When `bots_team` is `autoassign`, unbalanced teams will be balanced. This dvar is ignored when `bots_team` is `custom`. | 0 | +| bots_team_mode | When `bots_team_force` is `1` and `bots_team` is `autoassign`, players/bots counting method. | 0 | +| bots_loadout_reasonable | If the bots should filter bad performing create-a-class selections. | 0 | +| bots_loadout_allow_op | If the bots should be able to use overpowered and annoying create-a-class selections. | 1 | | bots_loadout_rank | What rank to set the bots. | -1 | | bots_loadout_prestige | What prestige to set the bots. | -1 | | bots_loadout_codpoints | Bots will be given this amount of codpoints to spend. | -1 | -| bots_play_move | If the bots can move. | true | -| bots_play_knife | If the bots can knife. | true | -| bots_play_fire | If the bots can fire. | true | -| bots_play_nade | If the bots can grenade. | true | -| bots_play_take_carepackages | If the bots can take carepackages. | true | -| bots_play_obj | If the bots can play the objective. | true | -| bots_play_camp | If the bots can camp. | true | -| bots_play_target_other | If the bots can target other entities other than players. | true | -| bots_play_killstreak | If the bots can call in killstreaks. | true | -| bots_play_aim | If the bots can aim. | true | +| bots_play_move | If the bots can move. | 1 | +| bots_play_knife | If the bots can knife. | 1 | +| bots_play_fire | If the bots can fire. | 1 | +| bots_play_nade | If the bots can grenade. | 1 | +| bots_play_take_carepackages | If the bots can take carepackages. | 1 | +| bots_play_obj | If the bots can play the objective. | 1 | +| bots_play_camp | If the bots can camp. | 1 | +| bots_play_target_other | If the bots can target other entities other than players. | 1 | +| bots_play_killstreak | If the bots can call in killstreaks. | 1 | +| bots_play_aim | If the bots can aim. | 1 | ## Changelog - v1.1.1 diff --git a/main/server.cfg b/main/server.cfg index cf7e39d..bd54dde 100644 --- a/main/server.cfg +++ b/main/server.cfg @@ -17,6 +17,7 @@ set sv_hostname "^1Bot ^3War^5fare ^4Bots ^7Nuketown 24/7" // Please put a server host name here set logfile "1" +set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end ////////////////////////////////////////////////// // GENERAL SETTINGS // @@ -111,7 +112,7 @@ set scr_game_perks "1" // Allow players to have perks 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 sv_voicequality "0" // 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 @@ -333,6 +334,4 @@ set bots_team_force "1" set bots_loadout_allow_op "0" set bots_loadout_reasonable "1" set bots_manage_fill_spec "0" -set bot_difficulty "1" - -map mp_nuked +set bot_difficulty "2" diff --git a/main_shared/maps/mp/bots/_bot_script.gsc b/main_shared/maps/mp/bots/_bot_script.gsc index f63307a..6eab4a5 100644 --- a/main_shared/maps/mp/bots/_bot_script.gsc +++ b/main_shared/maps/mp/bots/_bot_script.gsc @@ -5389,6 +5389,8 @@ botButtonOverride( a, b ) {} botClearOverrides( a ) {} botMantleOverride() {} botClearMantleOverride() {} +botClearWeaponOverride() {} +botWeaponOverride( a ) {} /* custom movement stuff diff --git a/z_server.bat b/z_server.bat index bec50ce..ee8edea 100644 --- a/z_server.bat +++ b/z_server.bat @@ -24,6 +24,10 @@ set pluto_path=%localappdata%\Plutonium set pluto_game_mode=t5mp :: Other things to send to cmd set cmd_extras= +:: Exe dedi path (leave default!) +set exe_path=bin\plutonium-bootstrapper-win32.exe +::IMPORTANT! Make sure the filename is unique for each server you clone! +set log_file=games_mp.log title Plutonium - %name% - Server restarter @@ -34,7 +38,7 @@ echo (%date%) - (%time%) %name% server start. cd /D %pluto_path% :server -start /wait /abovenormal /b "%name%" "bin\plutonium-bootstrapper-win32.exe" %pluto_game_mode% "%gamepath%" -dedicated -key "%key%" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +exec "%cfg%" %cmd_extras% +map_rotate +start /wait /abovenormal /b "%name%" "%exe_path%" %pluto_game_mode% "%gamepath%" -dedicated -key "%key%" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +set g_log "%log_file%" +exec "%cfg%" %cmd_extras% +map_rotate echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. goto server