View Single Post
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 04-17-2015 , 16:02   Re: [L4D2] Defib using Bots
Reply With Quote #9

Quote:
Originally Posted by Marcus101RR View Post
My L4D 1 server has that feature where bots CAN throw grenades. It is not perfect, but it is based on stress level from infected, if it gets too high, a bot will throw their grenade, this includes molly. You would require alot more checks to make it safe:
  • Check if bot has grenade
  • Check if the stress level of that bot reached threshhold
  • is a target infected available
  • If target, is it far away?
  • if far away, is it in plain sight?
  • If in plain sight, is it targeting?

A. If pipebomb, throw it regardless of wall.

B. If molotov, lets make sure it lands where it aims.

Very difficulty, but possible with alot of coding
Yeah, I plan on eventually doing this, with a LOT of limitations and checks.
I will be specifically heavy on the limitations with molotovs, since on Expert a single molly can wipe every survivor very easily.

They easily use grenades by themselves too, you just need to force them as their active weapon.
__________________
DeathChaos25 is offline