Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Bot Damage Control (Script)
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
2.581 KB
15 Jan, 2024 @ 2:33am
1 Change Note ( view )

Subscribe to download
Bot Damage Control (Script)

Description
Thanks to the sacrifice of your bots' that stubbornly refuse to move out of spit and charge headlong onto fire (especially on Expert), we have now been able to create a new generation of bots with defences against those idiocies!
The bots now take greatly reduced damage to spit and all sorts of fire (gas can, molly, environmental, you name it). No more will you have the urge to punch a hole in your monitor because a bot straight-up killed himself in an Expert molly!
(Note that the bots will take at least scratch damage so... don't put them intentionally in harm's way, OK?)

As usual, the exact percentages and more can be customized by editing constants of `BotDmgVar` in the scripts, settings features:
* Individual settings for how the percentage damage they should take for spit and fire
* A customizable minium damage they should take, to avoid them being complete invulnerable to certain damage with small percentages/low difficulties.

Technical Data: (Due to hardcoded limits, you can never take more than 1 damage per hit from spitter acid while downed)

acidMul: the percentage of damage bots will take spitter acid, note they have a 50% natural resistance to spitter acid which you'll have to account for manually, default 0.4 (20% damage compared to a player)
acidScratch: bots take at least this much damage per hit by acid, default 1
fireMul: the percentage of damage bots will take from all types of fire, default 0.3 (30% percent damage compared to a player)
fireScratch: bots take at least this much damage per hit by fire, default 1

DO NOT CHANGE THE CAPITALIZED VARIABLES!

Note that those values *can* go higher than 1. Cite: I set acidMul to 200 and watched as bots were insta-incapped by spitter acid.

(Also this thumbnail is ridiculously bad but I don't have the talent to make anything better sry, if anyone got a better one please DM me and I'll swap it out asap)
6 Comments
senzawa  [author] 15 Jan, 2024 @ 6:05pm 
Next step is to announce I'm blitzed while making mods fr fr
7ᴇᴍᴘᴇsᴛᴲ 15 Jan, 2024 @ 8:19am 
omg guy it's senzuwu
senzawa  [author] 15 Jan, 2024 @ 4:49am 
Thanks for the compliment! I can be very efficient when sufficiently motivated ;)
Pluvillion 15 Jan, 2024 @ 4:21am 
Oh my god. I thought you were kidding. That was fast.
senzawa  [author] 15 Jan, 2024 @ 4:11am 
GeneralEcchi has spoken! All hail his great wisdom!
7ᴇᴍᴘᴇsᴛᴲ 15 Jan, 2024 @ 3:46am 
:steammocking: