Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Turrets Shoot Hunting Predators

[img]https://i.imgur.com/qo3Pqa2.png[/img] [b]Something that I feel should always have been vanilla behavior. Turrets now target predators hunting your pawns.[/b] As of 1.6, Hugslib is NO LONGER required. For versions below 1.6, Hugslib is still required!!! How it works: The mod now directly uses a harmony postfix patch to change the TryFindNewTarget method for turrets, adding an operation at the very end of the line if there is already not a valid target, in order to maximize compatibility with other mods. After that, it gets animal pawns that pass basic checks when turrets are looking for targets and checks if they have the predator hunt job, then checks for a few more things such as visibility, fog, etc before giving the go ahead. This mod ALSO fixes the error of a turret firing at an animal causing an ideology instigation error, a vanilla problem. Incompatibility List [b]Animals Logic[/b] (Has logic to handle this already, but I felt it didn't work at times, which is why I made this patch.) Their function to shoot hunting predators can be disabled in their mod options, so you can still use all the logic from it alongside this as long as you disable that. [url=https://steamcommunity.com/sharedfiles/filedetails/?id=1098354593]https://steamcommunity.com/sharedfiles/filedetails/?id=1098354593[/url] [b]Combat Extended[/b] Drastically changes targeting checks. As this hooks into vanilla checks to do what it does, this mod ceases to function. [url=https://steamcommunity.com/workshop/filedetails/?id=2890901044]https://steamcommunity.com/workshop/filedetails/?id=2890901044[/url] [b]Any mod that replaces the vanilla turret TryFindNewTarget functions entirely instead of patching them[/b] Credits: Baal Evan from [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2014132171]Turret Auto Hunt[/url] for idea and code snippet I started developing this on.

Зависимости мода

Логотип мода

Harmony

Загрузить 425.6 KB