Quote:
Originally Posted by DeathChaos25
|
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
__________________