//these are my settings
sm_cvar mp_gamemode coop
sm_cvar sv_hibernate_when_empty 0
sm_cvar allow_all_bot_survivor_team 1
sm_cvar sb_all_bot_game 1 // Enable bots can move if all players survivors are dead
[L4D/L4D2] Infected Bots Control Impoved Version 2.5.3 (2021/4/19)
- In coop, fixed the bug when l4d_infectedbots_infhud_enable set to 0, the human controlled Tank won't get killed when he out of rage meter.
- In coop, fixed the bug when l4d_infectedbots_coop_versus_tank_playable set to 1, if a tank spwans when there are 2 or more human play on the infected side, all the human player will become tank.
//these are my settings
sm_cvar mp_gamemode coop
sm_cvar sv_hibernate_when_empty 0
sm_cvar allow_all_bot_survivor_team 1
sm_cvar sb_all_bot_game 1 // Enable bots can move if all players survivors are dead
Still restart even im using whatever command is it, and i try remove only infectedbot plugin and problem is gone (first time i think maybe is gonna conflict with some plugins in my server but result isn't)
SI spawning every second literally if any event starts (for example dark carnival map 3 after starting the coaster the SI are starting to spawn every second even if min respawn time was set to 20, + SI which limit was 0 still spawned)
[L4D/L4D2] Infected Bots Control Impoved Version 2.5.3 (2021/4/19)
- In coop, fixed the bug when l4d_infectedbots_infhud_enable set to 0, the human controlled Tank won't get killed when he out of rage meter.
- In coop, fixed the bug when l4d_infectedbots_coop_versus_tank_playable set to 1, if a tank spwans when there are 2 or more human play on the infected side, all the human player will become tank.
Hi.. Can you add switch control hunman play SI/Tank in coop mode? I just want only to use the Multi-SI Spawn of this plugin.. Hunman play SI I have control plugin..
Infected Bots Control Improved Version 2.5.3 (2021/4/19)
Spawns infected bots in L4D1 versus, and gives greater control of the infected bots in L4D1/L4D2 without being limited by the director.
-New Feature-
- ProdigySim's method for indirectly getting signatures added, created the whole code for indirectly getting signatures so the plugin can now withstand most updates to L4D2! (Thanks to Shadowysn and ProdigySim)
- Convert All codes to new syntax.
- Translation support.
- Update L4D2 "The Last Stand" gamedata. Credit to Shadowysn's work, Lux's work and Machine
- Spawn infected without being limited by the director.
- Play infected team in coop/reslism/survival
- Spawn Witch, have the max spawn time and the mix spawn time for witch.
- Kick Witch if witch behind survivors too far.
- Control Spawn range for special infected .
- Special max infected limit now counts tank in all gamemode.
- Probability to Spawn Tank.
- Adjust special limit, tank health, zombie commn limit if there are 5+ ALIVE players in server.
- Fixed "l4d_infectedbots_coordination" not working.
- Player can join infected team and control tank in coop/realism/survival.
- Fixed bug that wrong respawn timer when playing infected in coop/realism/survival.
- Fixed Ghost Tank Bug in coop/realism/survival.
- Light up SI ladders in coop/realism/survival. mode for human infected players. (L4D2 only, didn't work if you host a listen server)
New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
Updating gamedata from v2.3.8:
New signature have been added: redownload and replace gamedata/l4dinfectedbots.txt
Updating translation:
Spoiler
English by HarryPotter
Traditional Chinese by HarryPotter
Simplified Chinese by Target
-Convar-
Spoiler
cfg/sourcemod/l4dinfectedbots.cfg
PHP Code:
// If server has more than 4+ players, increase the certain value to 'l4d_infectedbots_max_specials' each 'l4d_infectedbots_add_specials_scale' players joins
l4d_infectedbots_add_specials "1"
// If server has more than 4+ players, how many special infected = 'max_specials' + (players - 4) ÷ 'add_specials_scale' × 'add_specials'.
l4d_infectedbots_add_specials_scale "1"
// If server has more than 4+ players, increase the certain value to 'l4d_infectedbots_default_tankhealth' each 'l4d_infectedbots_add_tankhealth_scale' players joins
l4d_infectedbots_add_tankhealth "500"
// If server has more than 4+ players, how many Tank Health = 'default_tankhealth' + (players - 4) ÷ 'add_tankhealth_scale' × 'add_tankhealth'.
l4d_infectedbots_add_tankhealth_scale "1"
// Reduce certain value to maximum spawn timer based per alive player
l4d_infectedbots_adjust_reduced_spawn_times_on_player "1"
// If 1, The plugin will adjust spawn timers depending on the gamemode
l4d_infectedbots_adjust_spawn_times "1"
// If 1, adjust and overrides tank health by this plugin?
l4d_infectedbots_adjust_tankhealth_enable "1"
// If 1, only admins can join the infected team in coop/survival
l4d_infectedbots_admin_coop_versus "1"
// Sets the limit for boomers spawned by the plugin
l4d_infectedbots_boomer_limit "2"
// (L4D2) Sets the limit for chargers spawned by the plugin
l4d_infectedbots_charger_limit "2"
// If 1, players can join the infected team in coop/survival (!ji in chat to join infected, !js to join survivors)
l4d_infectedbots_coop_versus "1"
// If 1, clients will be announced to on how to join the infected team
l4d_infectedbots_coop_versus_announce "1"
// If 1, attaches red flash light to human infected player in coop/survival. (Make it clear which infected bot is controlled by player)
l4d_infectedbots_coop_versus_human_light "1"
// Sets the limit for the amount of humans that can join the infected team in coop/survival
l4d_infectedbots_coop_versus_human_limit "2"
// If 1, tank will be playable in coop/survival
l4d_infectedbots_coop_versus_tank_playable "0"
// If 1, bots will only spawn when all other bot spawn timers are at zero
l4d_infectedbots_coordination "0"
// Sets Default Health for Tank
l4d_infectedbots_default_tankhealth "4000"
// If higher than zero, the plugin will ghost bots before they fully spawn on versus/scavenge
l4d_infectedbots_ghost_time "1"
// Sets the limit for hunters spawned by the plugin
// Minimum: "0.000000"
l4d_infectedbots_hunter_limit "2"
// Toggle whether Infected HUD is active or not.
l4d_infectedbots_infhud_enable "1"
// The spawn timer in seconds used when infected bots are spawned for the first time in a map
l4d_infectedbots_initial_spawn_timer "10"
// (L4D2) Sets the limit for jockeys spawned by the plugin
l4d_infectedbots_jockey_limit "2"
// Amount of seconds before a special infected bot is kicked
l4d_infectedbots_lifespan "30"
// Defines how many special infected can be on the map on all gamemodes(does not count witch on all gamemodes, count tank in all gamemode)
l4d_infectedbots_max_specials "2"
// If 1, spawn special infected before survivors leave starting safe room
l4d_infectedbots_safe_spawn "0"
// Disable sm_zs in these gamemode (0: None, 1: coop/realism, 2: versus/scavenge, 4: survival, add numbers together)
l4d_infectedbots_sm_zs_disable_gamemode "6"
// Sets the limit for smokers spawned by the plugin
l4d_infectedbots_smoker_limit "2"
// The minimum of spawn range for infected in final stage rescue
l4d_infectedbots_spawn_range_final "0"
// The maximum of spawn range for infected (default: 1500)
l4d_infectedbots_spawn_range_max "2000"
// The minimum of spawn range for infected (default: 300)
l4d_infectedbots_spawn_range_min "0"
// Sets the max spawn time for special infected spawned by the plugin in seconds.
l4d_infectedbots_spawn_time_max "60"
// Sets the minimum spawn time for special infected spawned by the plugin in seconds.
l4d_infectedbots_spawn_time_min "40"
// If 1, Plugin will disable spawning infected bot when a tank is on the field.
l4d_infectedbots_spawns_disabled_tank "0"
// (L4D2) Sets the limit for spitters spawned by the plugin
l4d_infectedbots_spitter_limit "2"
// Sets the limit for tanks spawned by the plugin (does not affect director tanks)
l4d_infectedbots_tank_limit "1"
// When each time spawn S.I., how much percent of chance to spawn tank
l4d_infectedbots_tank_spawn_probability "5"
// If 1, The plugin will force all players to the infected side against the survivor AI for every round and map in versus/scavenge
l4d_infectedbots_versus_coop "0"
// Amount of seconds before a witch is kicked
l4d_infectedbots_witch_lifespan "200"
// Sets the limit for witches spawned by the plugin (does not affect director witches)
l4d_infectedbots_witch_max_limit "10"
// If 1, still spawn witch in final stage rescue
l4d_infectedbots_witch_spawn_final "0"
// Sets the max spawn time for witch spawned by the plugin in seconds.
l4d_infectedbots_witch_spawn_time_max "120.0"
// Sets the mix spawn time for witch spawned by the plugin in seconds.
l4d_infectedbots_witch_spawn_time_min "90.0"
// (L4D1) If 1, the stats board will show up after an infected player dies
l4d_infectedbots_stats_board "0"
// If 1, adjust and overrides zombie common limit by this plugin.
l4d_infectedbots_adjust_commonlimit_enable "1"
// Sets Default zombie common limit.
l4d_infectedbots_default_commonlimit "30"
// If server has more than 4+ alive players, zombie common limit = 'default_commonlimit' + [(alive players - 4) ÷ 'add_commonlimit_scale' × 'add_commonlimit'].
l4d_infectedbots_add_commonlimit_scale "1"
// If server has more than 4+ alive players, increase the certain value to 'l4d_infectedbots_default_commonlimit' each 'l4d_infectedbots_add_commonlimit_scale' players joins
l4d_infectedbots_add_commonlimit "2"
-Command-
Spoiler
!ji - JoinInfected
!js - JoinSurvivors
(infected only) !infhud - toggle HUD on/off for themselves
(infected only) !zs - suicide infected player himself (if infected get stuck or something)
(adm only) !timer - control special zombies spawn timer
(adm only) !zlimit - control max special zombies limit
-How to set the correct Convar-
1. Set special limit
This means that if server has 5+ alive survivors, each 3 players join, max specials limit plus 2
So if there are 10 alive survivors, specials limit: 4+2+2 = 8
This means that if server has 5+ alive survivors, each 3 players join, tank health increase 1200hp
So if there are 11 alive survivors, tank health: 4000+1200+1200 = 6400hp
To close this feature, do not want to overrides tank HP by this plugin, set
This means that if server has 5+ alive survivors, each 1 players join, zommon limit increase 2
So if there are 10 alive survivors, common limit: 30+2+2+2+2+2+2 = 42
To close this feature, do not want to overrides zombie common limit by this plugin, set
PHP Code:
-l4d_infectedbots_adjust_commonlimit_enable "0"
5. adjust special infected spawn timer
Spoiler
Reduce certain value to spawn timer based per alive player, For example
This means that each time 5% chance to spawn tank instead of infected bot.
Note that if tank limit is reached or is 0, still don't spawn tank(does not affect director tanks)
bots will only spawn when all other bot spawn timers are at zero, and them spawn together
PHP Code:
- l4d_infectedbots_coordination "1"
Plugin will disable spawning infected bot when a tank is on the field.
PHP Code:
- l4d_infectedbots_spawns_disabled_tank "1"
Related plugin:
MultiSlots Improved: When 5+ player joins the server but no any bot can be taken over, this plugin will spawn an alive survivor bot for him.
AFK and Join Team Commands Improved: Add more commands to let the player spectate and join team. (!afk, !survivors, !infected, etc.), but no changing team abuse.
L 06/17/2021 - 11:59:01: [SM] Exception reported: Could not prep the "SetHumanSpec" function.
L 06/17/2021 - 11:59:01: [SM] Blaming: l4dinfectedbots v2.5.0.smx
L 06/17/2021 - 11:59:01: [SM] Call stack trace:
L 06/17/2021 - 11:59:01: [SM] [0] SetFailState
L 06/17/2021 - 11:59:01: [SM] [1] Line 5058, D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\l4dinfecte dbots v2.5.0.sp:repSDKCall
L 06/17/2021 - 11:59:01: [SM] [2] Line 5042, D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\l4dinfecte dbots v2.5.0.sp::GetGameData
L 06/17/2021 - 11:59:01: [SM] [3] Line 1030, D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\l4dinfecte dbots v2.5.0.sp::OnPluginStart
L 06/17/2021 - 11:59:01: [SM] Unable to load plugin " l4dinfectedbots v2.5.0.smx": Error detected in plugin startup (see error logs)