Version 2.2.3
New Feature:
-Convert All codes to new syntax.
-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 .
-Probability to Spawn Tank.
-Adjust max special infected limit and tank health if server has 5+ survivors.
-Require-
Sm 1.7 or above, Please download sp file and compile by yourself Multicolors
-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
// Default: "2"
// Minimum: "0.000000"
l4d_infectedbots_add_specials "2"
// If server has more than 4+ players, how many special infected = 'max_specials' + (players - 4) ÷ 'add_specials_scale' × 'add_specials'.
// -
// Default: "2"
// Minimum: "1.000000"
l4d_infectedbots_add_specials_scale "2"
// Adjust and overrides tank health by this plugin?
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_adjust_tankhealth_enable "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
// -
// Default: "600"
// Minimum: "0.000000"
l4d_infectedbots_add_tankhealth "600"
// If server has more than 4+ players, how many Tank Health = 'default_tankhealth' + (players - 4) ÷ 'add_tankhealth_scale' × 'add_tankhealth'.
// -
// Default: "1"
// Minimum: "1.000000"
l4d_infectedbots_add_tankhealth_scale "1"
// Reduce certain value to maximum spawn timer based per alive player
// -
// Default: "1"
// Minimum: "0.000000"
l4d_infectedbots_adjust_reduced_spawn_times_on_player "1"
// If 1, The plugin will adjust spawn timers depending on the gamemode
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_adjust_spawn_times "1"
// If 1, only admins can join the infected team in coop/survival
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_admin_coop_versus "0"
// Sets the limit for boomers spawned by the plugin
// -
// Default: "2"
// Minimum: "0.000000"
l4d_infectedbots_boomer_limit "2"
// Sets the limit for chargers spawned by the plugin
// -
// Default: "2"
// Minimum: "0.000000"
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)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_coop_versus "1"
// If 1, clients will be announced to on how to join the infected team
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_coop_versus_announce "1"
// Sets the limit for the amount of humans that can join the infected team in coop/survival
// -
// Default: "2"
// Minimum: "0.000000"
l4d_infectedbots_coop_versus_human_limit "2"
// If 1, tank will be playable in coop/survival
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_coop_versus_tank_playable "0"
// If 1, bots will only spawn when all other bot spawn timers are at zero
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_coordination "0"
// Sets Default Health for Tank
// -
// Default: "4000"
// Minimum: "1.000000"
l4d_infectedbots_default_tankhealth "4000"
// If 1, the plugin will use the director's timing of the spawns, if the game is L4D2 and versus, it will activate Valve's bots.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_director_spawn "0"
// If higher than zero, the plugin will ghost bots before they fully spawn on versus/scavenge
// -
// Default: "1"
l4d_infectedbots_ghost_time "1"
// Sets the limit for hunters spawned by the plugin
// -
// Default: "2"
// Minimum: "0.000000"
l4d_infectedbots_hunter_limit "2"
// Toggle whether Infected HUD is active or not.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_infhud_enable "1"
// The spawn timer in seconds used when infected bots are spawned for the first time in a map
// -
// Default: "10"
// Minimum: "0.000000"
l4d_infectedbots_initial_spawn_timer "10"
// Sets the limit for jockeys spawned by the plugin
// -
// Default: "2"
// Minimum: "0.000000"
l4d_infectedbots_jockey_limit "2"
// Amount of seconds before a special infected bot is kicked
// -
// Default: "30"
// Minimum: "1.000000"
l4d_infectedbots_lifespan "30"
// Defines how many special infected can be on the map on all gamemodes(does not count witch on all gamemodes, does not count tank in coop/survival)
// -
// Default: "2"
// Minimum: "0.000000"
l4d_infectedbots_max_specials "6"
// If 1, spawn special infected before survivors leave starting safe room
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_safe_spawn "0"
// Sets the limit for smokers spawned by the plugin
// -
// Default: "2"
// Minimum: "0.000000"
l4d_infectedbots_smoker_limit "2"
// The minimum of spawn range for infected in final stage rescue
// -
// Default: "300"
// Minimum: "0.000000"
l4d_infectedbots_spawn_range_final "300"
// The maximum of spawn range for infected
// -
// Default: "1500"
// Minimum: "1.000000"
l4d_infectedbots_spawn_range_max "1500"
// The minimum of spawn range for infected
// -
// Default: "550"
// Minimum: "0.000000"
l4d_infectedbots_spawn_range_min "550"
// Sets the max spawn time for special infected spawned by the plugin in seconds.
// -
// Default: "60"
// Minimum: "1.000000"
l4d_infectedbots_spawn_time_max "60"
// Sets the minimum spawn time for special infected spawned by the plugin in seconds.
// -
// Default: "30"
// Minimum: "1.000000"
l4d_infectedbots_spawn_time_min "30"
// If 1, Plugin will disable spawning when a tank is on the field
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_spawns_disabled_tank "0"
// Sets the limit for spitters spawned by the plugin
// -
// Default: "1"
// Minimum: "0.000000"
l4d_infectedbots_spitter_limit "1"
// Sets the limit for tanks spawned by the plugin (does not affect director tanks)
// -
// Default: "1"
// Minimum: "0.000000"
l4d_infectedbots_tank_limit "1"
// When each time spawn S.I., how much percent of chance to spawn tank
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "100.000000"
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
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_versus_coop "0"
// Amount of seconds before a witch is kicked
// -
// Default: "200"
// Minimum: "1.000000"
l4d_infectedbots_witch_lifespan "200"
// Sets the limit for witches spawned by the plugin (does not affect director witches)
// -
// Default: "10"
// Minimum: "0.000000"
l4d_infectedbots_witch_max_limit "10"
// If 1, still spawn witch in final stage rescue
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_witch_spawn_final "0"
// Sets the max spawn time for witch spawned by the plugin in seconds.
// -
// Default: "120.0"
// Minimum: "1.000000"
l4d_infectedbots_witch_spawn_time_max "100.0"
// Sets the mix spawn time for witch spawned by the plugin in seconds.
// -
// Default: "90.0"
// Minimum: "1.000000"
l4d_infectedbots_witch_spawn_time_min "60.0"
-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+ survivors, each 3 players join, tank health increase 1200hp
So if there are 11 survivors, tank health: 4000+1200+1200 = 6400hp
To close this feature, do not want to overrides tank HP by this plugin, set
PHP Code:
l4d_infectedbots_adjust_tankhealth_enable "0"
4.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)
hello how can I deactivate this option that makes your formula very confusing, and put it manually as it had already been established as always example, I want to have 8 infected with 8 survivors on my server I would establish it like this ..:
jockey max limit 1, charger max limit 1, spitter limit 1, smoker limit 1 boomer limit 1, hunter limit 3, max specials infected 8
Normally it was established like this and 8 infected came out, is there any way to continue doing it this way, since it seems easier to me, oh, could I not with your plugin version?
thanks for the update
hello how can I deactivate this option that makes your formula very confusing, and put it manually as it had already been established as always example, I want to have 8 infected with 8 survivors on my server I would establish it like this ..:
jockey max limit 1, charger max limit 1, spitter limit 1, smoker limit 1 boomer limit 1, hunter limit 3, max specials infected 8
Normally it was established like this and 8 infected came out, is there any way to continue doing it this way, since it seems easier to me, oh, could I not with your plugin version?
thanks for the update
Hello, is there any chance to get some translations? i'm getting a message in other lenaguage about the tank health at the start of every campaing also this cvar l4d_infectedbots_adjust_tankhealth_enable "0" seems not to work. Thanks for the plugin it's great
Version 2.2.4
New Feature:
-Convert All codes to new syntax.
-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 .
-Probability to Spawn Tank.
-Adjust max special infected limit and tank health if server has 5+ survivors.
-Fixed "l4d_infectedbots_coordination" not working
-Translation support
-Require-
Sm 1.7 or above, Please download sp file and compile by yourself smlib
-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 // Default: "2" // Minimum: "0.000000" l4d_infectedbots_add_specials "2"
// If server has more than 4+ players, how many special infected = 'max_specials' + (players - 4) ÷ 'add_specials_scale' × 'add_specials'. // - // Default: "2" // Minimum: "1.000000" l4d_infectedbots_add_specials_scale "2"
// Adjust and overrides tank health by this plugin? // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_adjust_tankhealth_enable "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 // - // Default: "600" // Minimum: "0.000000" l4d_infectedbots_add_tankhealth "600"
// If server has more than 4+ players, how many Tank Health = 'default_tankhealth' + (players - 4) ÷ 'add_tankhealth_scale' × 'add_tankhealth'. // - // Default: "1" // Minimum: "1.000000" l4d_infectedbots_add_tankhealth_scale "1"
// Reduce certain value to maximum spawn timer based per alive player // - // Default: "1" // Minimum: "0.000000" l4d_infectedbots_adjust_reduced_spawn_times_on_player "1"
// If 1, The plugin will adjust spawn timers depending on the gamemode // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_adjust_spawn_times "1"
// If 1, only admins can join the infected team in coop/survival // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_admin_coop_versus "0"
// Sets the limit for boomers spawned by the plugin // - // Default: "2" // Minimum: "0.000000" l4d_infectedbots_boomer_limit "2"
// Sets the limit for chargers spawned by the plugin // - // Default: "2" // Minimum: "0.000000" 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) // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_coop_versus "1"
// If 1, clients will be announced to on how to join the infected team // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_coop_versus_announce "1"
// Sets the limit for the amount of humans that can join the infected team in coop/survival // - // Default: "2" // Minimum: "0.000000" l4d_infectedbots_coop_versus_human_limit "2"
// If 1, tank will be playable in coop/survival // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_coop_versus_tank_playable "0"
// If 1, bots will only spawn when all other bot spawn timers are at zero // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_coordination "0"
// Sets Default Health for Tank // - // Default: "4000" // Minimum: "1.000000" l4d_infectedbots_default_tankhealth "4000"
// If 1, the plugin will use the director's timing of the spawns, if the game is L4D2 and versus, it will activate Valve's bots. // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_director_spawn "0"
// If higher than zero, the plugin will ghost bots before they fully spawn on versus/scavenge // - // Default: "1" l4d_infectedbots_ghost_time "1"
// Sets the limit for hunters spawned by the plugin // - // Default: "2" // Minimum: "0.000000" l4d_infectedbots_hunter_limit "2"
// Toggle whether Infected HUD is active or not. // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_infhud_enable "1"
// The spawn timer in seconds used when infected bots are spawned for the first time in a map // - // Default: "10" // Minimum: "0.000000" l4d_infectedbots_initial_spawn_timer "10"
// Sets the limit for jockeys spawned by the plugin // - // Default: "2" // Minimum: "0.000000" l4d_infectedbots_jockey_limit "2"
// Amount of seconds before a special infected bot is kicked // - // Default: "30" // Minimum: "1.000000" l4d_infectedbots_lifespan "30"
// Defines how many special infected can be on the map on all gamemodes(does not count witch on all gamemodes, does not count tank in coop/survival) // - // Default: "2" // Minimum: "0.000000" l4d_infectedbots_max_specials "6"
// If 1, spawn special infected before survivors leave starting safe room // - // Default: "1" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_safe_spawn "0"
// Sets the limit for smokers spawned by the plugin // - // Default: "2" // Minimum: "0.000000" l4d_infectedbots_smoker_limit "2"
// The minimum of spawn range for infected in final stage rescue // - // Default: "300" // Minimum: "0.000000" l4d_infectedbots_spawn_range_final "300"
// The maximum of spawn range for infected // - // Default: "1500" // Minimum: "1.000000" l4d_infectedbots_spawn_range_max "1500"
// The minimum of spawn range for infected // - // Default: "550" // Minimum: "0.000000" l4d_infectedbots_spawn_range_min "550"
// Sets the max spawn time for special infected spawned by the plugin in seconds. // - // Default: "60" // Minimum: "1.000000" l4d_infectedbots_spawn_time_max "60"
// Sets the minimum spawn time for special infected spawned by the plugin in seconds. // - // Default: "30" // Minimum: "1.000000" l4d_infectedbots_spawn_time_min "30"
// If 1, Plugin will disable spawning when a tank is on the field // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_spawns_disabled_tank "0"
// Sets the limit for spitters spawned by the plugin // - // Default: "1" // Minimum: "0.000000" l4d_infectedbots_spitter_limit "1"
// Sets the limit for tanks spawned by the plugin (does not affect director tanks) // - // Default: "1" // Minimum: "0.000000" l4d_infectedbots_tank_limit "1"
// When each time spawn S.I., how much percent of chance to spawn tank // - // Default: "5" // Minimum: "0.000000" // Maximum: "100.000000" 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 // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_versus_coop "0"
// Amount of seconds before a witch is kicked // - // Default: "200" // Minimum: "1.000000" l4d_infectedbots_witch_lifespan "200"
// Sets the limit for witches spawned by the plugin (does not affect director witches) // - // Default: "10" // Minimum: "0.000000" l4d_infectedbots_witch_max_limit "10"
// If 1, still spawn witch in final stage rescue // - // Default: "0" // Minimum: "0.000000" // Maximum: "1.000000" l4d_infectedbots_witch_spawn_final "0"
// Sets the max spawn time for witch spawned by the plugin in seconds. // - // Default: "120.0" // Minimum: "1.000000" l4d_infectedbots_witch_spawn_time_max "100.0"
// Sets the mix spawn time for witch spawned by the plugin in seconds. // - // Default: "90.0" // Minimum: "1.000000" l4d_infectedbots_witch_spawn_time_min "60.0"
-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+ survivors, each 3 players join, tank health increase 1200hp
So if there are 11 survivors, tank health: 4000+1200+1200 = 6400hp
To close this feature, do not want to overrides tank HP by this plugin, set
PHP Code:
l4d_infectedbots_adjust_tankhealth_enable "0"
4.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)
very nice thank you for fixing l4d_infectedbots_coordination i been wainting for someone to fix this for years can you port this to l4d1 pls that would be great also you think you can fix the infectedbots correctly its so broken say that when someone kills a bot boomer once someone kills him the next player or bot play as the boomer again the cooldown in this infected bots plugin needs to be fixed you should needs to fix this issue say that the bot boomer and you are still in death cam once he dies and your about to respawn it makes you the boomer fix this please
And one more thing is it possible that you can create tank bots for the taaaank mutation it would be great if you can add bot tanks in that mutation because there no other tanks when a player leaves