[Mod Request] No shooting when friendly is in the way

Started by dotsnake, January 26, 2017, 09:46:40 PM

Previous topic - Next topic

dotsnake

A lot of my colonist are getting injured or dying because a colonist decided to kill a rabbit while another colonist is in front of them. RIP AGATHA!

TehArgz

This used to be MUUUUUUUUCH worse.  In the past anyone remotely near the line of fire was guaranteed to be hit.  What we have now is rather tame.  Still annoying, painful, and sometimes deadly but better than it used to be.

Thirite

That's a perfectly reasonable request which honestly should be in vanilla it would be so simple to code in. Just raycast a line from the shooter to the target and if any friendly is hit by the raycast (greater than one tile away) have the shooter stop firing.

I'd do it myself if I wasn't so busy already.

Flimflamshabam

Hunting AI especially needs some tweaks, they seem to enjoy lining up near walls so they have the thinnest line of sight possible, often getting other colonists between them and their prey if they're hunting near the base, and don't dare try to get up close to a sleeping target despite getting the 750% addition to accuracy that "execution" grants to being that close to lying down targets.