RimWorld

RimWorld

Avoid Friendly Fire
Jojojay 16 Oct, 2017 @ 9:49pm
percentage based friendly fire
completely stopping a colonist from friendly fire may be a little extreme. if i have a 10 percent chance to hit a friendly, a 30 percent chance to hit the target, and a 20 percent chance to hit a different enemy than the targeted enemy, it seems rational to take the shot.

there could be settings for friendly fire, like in fallout. for example:

no friendly fire: absolutely none

extremely carefull: will take a shot if it is 10 times as likely to hit any enemy as it is to hit any colonist.(i.e if it has a 2 percent chance to hit colonist a, 5 percent for colinist B, 50 percent for enemy A, and 25 percent for enemy B, it would be an acceptable shot)

somewhat carefull: shot needs to be 5 times as likely to hit an enemy

a bit carefull: shot needs to be 2 times as likely to hit an enemy as a colonist

not carefull: shot needs to be at least as likely to hit an enemy as a colonist

unrestricted: disables friendly fire

just an idea. this could have a global setting to set the default,and/or be able to be custom set for each pawn.

is this possible with the games current code? would it take to much work or cause to much lag?

as a side note: i do not support adding thi to the enemy ai, as it could be abused, and it just does not match the suicidal behavior of raiders and tribals.
Last edited by Jojojay; 12 Nov, 2017 @ 2:36pm
< >
Showing 1-6 of 6 comments
PhlippB 12 Nov, 2017 @ 8:08am 
Sounds like an excelent idea.
Epishade 12 Nov, 2017 @ 8:49pm 
Agreed. This would be a good addition to the mod if it could be done
falconne  [developer] 13 Nov, 2017 @ 11:52am 
I might look into this in the future, though I don't have the time in the near future. I have to look into it a bit, because this calculation is expensive and drafted pawns constantly check for new targets when idle (thus also doing the friendly fire calculations each time).
TGC 2 Apr, 2018 @ 9:53pm 
How about simplier version:
extremely carefull: 125% cone size
normal: 100% cone size
somewhat carefull: 75% cone size,
a bit carefull: 50% cone size
not carefull: 25% cone size
Jojojay 3 Apr, 2018 @ 2:02am 
Originally posted by TGC:
How about simplier version:
extremely carefull: 125% cone size
normal: 100% cone size
somewhat carefull: 75% cone size,
a bit carefull: 50% cone size
not carefull: 25% cone size
that ight be a good idea
halogamb 11 Nov, 2018 @ 3:41pm 
Would love percent based system. That way if you want you can just turn off friendly fire entirely
< >
Showing 1-6 of 6 comments
Per page: 1530 50