[Mod Idea / Request] Auto Shooting Zone (Avoid Friendly Fire)

Started by Sion, February 14, 2020, 01:30:24 PM

Previous topic - Next topic

Sion

Are you annoyed by stupid/suicidal colonists that casually stroll into the firing line of your "death squad" of 10+ colonists with mini-guns?

With this (theoretical) mod (idea) this will be a thing of the past.



The theory of this mod is this:
When a colonist is firing, the mod could automatically lay down a "danger zone" that is forbidden to walk in by all other colonists, so they stay out of harms way.

The shape of the zone (an inverted Allowed Area) would ideally be cone shaped (possibly with a round end (like an ice cream cone)) (alternatively, it can just be a square), the angle of the cone is determined by the inaccuracy of the weapon & colonists skill, the length of the cone would be determined by the distance to the target.

I assume this needs some manual setup too: (depending on how much can be done programmatically)
* A zone, possibly requiring a specific name, so it can be found & used by the mod.
* The colonists need to be setup to actually use the area.
* I assume it's possible to get the colonists held weapon & weapon skill, from that it should be possible to calculate the inaccuracy.

What's your thought about this?
Is this possible to do?

Ps. This mod request was inspired by this moment: https://youtu.be/oTarIK2KEIk?t=1331
So many ideas... so little time...
Silence is the worst answer.