Dear HarryPottter,
I always use your plugin and always download your updated plugin and i like it, but the last update that you did, make SI'spawn time doesnt work. i set min and max time SI spawn 15 second, and 1 second for the first time SI spawn but it doesnt work. i hope you can help.
Dear HarryPottter,
I always use your plugin and always download your updated plugin and i like it, but the last update that you did, make SI'spawn time doesnt work. i set min and max time SI spawn 15 second, and 1 second for the first time SI spawn but it doesnt work. i hope you can help.
[L4D/L4D2] Infected Bots Control
1.可否添加一个坦克出现时,其他感染者的数量或某一类感染者数量(应用场景:玩家专心打坦克, 感染者作为骚扰.但感染者因为坦克的加入难度急剧上升,这时感染者和坦克的数量将应该作为一种平 衡调整)
-----------translate
1. Can you add the number of other infected people or the number of infected people of a certain type when a tank appears (application scenario: the player concentrates on fighting the tank, and the infected person acts as harassment. However, the difficulty of the infected person increases sharply due to the addition of the tank, at this time the infected person and the number of tanks will be adjusted as a balance)
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
Infected Bots Control Improved Version 2.6.8 (2022/2/20 )
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
- Update L4D1 Gamedata, Credit to Psykotikism
- 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)
- Add convars to turn off this plugin.
-Known Issue-
1. In coop/realism mode, the infected/spectator players' screen would be stuck and frozen when they are watching survivor deathfall or final rescue mission failed (Install l4d_fix_deathfall_cam by Forgetest to fix Camera stuck in coop/versus/realism)
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+ alive players, increase the certain value to 'l4d_infectedbots_default_commonlimit' each 'l4d_infectedbots_add_commonlimit_scale' players joins
l4d_infectedbots_add_commonlimit "2"
// 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_max_specials' each 'l4d_infectedbots_add_specials_scale' players joins
l4d_infectedbots_add_specials "2"
// If server has more than 4+ alive players, how many special infected = 'max_specials' + [(alive players - 4) ÷ 'add_specials_scale' × 'add_specials'].
l4d_infectedbots_add_specials_scale "2"
// If server has more than 4+ alive 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+ alive players, how many Tank Health = 'default_tankhealth' + [(alive players - 4) ÷ 'add_tankhealth_scale' × 'add_tankhealth'].
l4d_infectedbots_add_tankhealth_scale "1"
// If 1, adjust and overrides zombie common limit by this plugin.
l4d_infectedbots_adjust_commonlimit_enable "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. (Access: generic_admin)
l4d_infectedbots_admin_coop_versus "1"
// 0=Plugin off, 1=Plugin on.
l4d_infectedbots_allow "1"
// If 1, announce current plugin status when the number of alive survivors changes.
l4d_infectedbots_announcement_enable "1"
// Sets the limit for boomers spawned by the plugin
l4d_infectedbots_boomer_limit "2"
// 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 always be controlled by human player 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 zombie common limit.
l4d_infectedbots_default_commonlimit "30"
// Sets Default Health for Tank
l4d_infectedbots_default_tankhealth "4000"
// Sets the limit for hunters spawned by the plugin
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"
// 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"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_infectedbots_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_infectedbots_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop/Realism, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_infectedbots_modes_tog "5"
// If 1, spawn special infected before survivors leave starting safe room area.
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. (coop/realism only)
l4d_infectedbots_spawn_range_final "0"
// The maximum of spawn range for infected. (default: 1500, coop/realism only)
l4d_infectedbots_spawn_range_max "2000"
// The minimum of spawn range for infected. (default: 550, coop/realism only)
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"
// 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. (only remove witches spawned by this plugin)
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"
-Command-
Spoiler
(coop/realism/survival only) !ji - JoinInfected
(coop/realism/survival only) !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"
10.Other
Spoiler
a. How to disable this message?
PHP Code:
- l4d_infectedbots_announcement_enable "0"
b. How to turn off flashlights on human infected player in coop/survival ?
PHP Code:
- l4d_infectedbots_coop_versus_human_light "0"
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.
Zombie Spawn Fix: To Fixed Special Inected and Player Zombie spawning failures in some cases
// If 1, human infected player will spawn as ghost state in coop/survival/realism. l4d_infectedbots_coop_versus_human_ghost_enable "1"
// Players with these flags have access to join infected team in coop/survival/realism. (Empty = Everyone, -1: Nobody) l4d_infectedbots_coop_versus_join_access "z"
Could someone fix the spawn point when using more than 4 bots?
I would like the extra bots to have the same animations as in main chapters
Are you referring to l4d_garage01_alleys with more than 4 players, is there a problem with the player's birthplace after restarting the game? This can be solved. But you need to use stripper:source
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1: