Ludeon Forums

RimWorld => Mods => Topic started by: dotsnake on January 26, 2017, 09:46:40 PM

Title: [Mod Request] No shooting when friendly is in the way
Post by: dotsnake on January 26, 2017, 09:46:40 PM
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!
Title: Re: [Mod Request] No shooting when friendly is in the way
Post by: TehArgz on January 29, 2017, 02:10:27 PM
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.
Title: Re: [Mod Request] No shooting when friendly is in the way
Post by: Thirite on January 30, 2017, 10:37:32 PM
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.
Title: Re: [Mod Request] No shooting when friendly is in the way
Post by: Flimflamshabam on January 31, 2017, 02:45:25 AM
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.