!!If you find this useful, please leave a thumbs up!!
Your support is the greatest motivation to keep moving forward
Ohohohoho I’m gonna blast everything!!!
No more worrying about hitting your teammates by mistake! This mod makes bullets automatically pass through allies! (Say goodbye to brain-dead 2D abyss combat)
Requires Lua. Uses Harmony to make bullets ignore ally collision.
Main Features
- Prevent Friendly Fire: Player or AI bullets will pass directly through teammates without dealing damage or stopping.
- Disable Corpse Blocking: All corpses will no longer block bullets.
- AI Combat Compatible: Modifies AI attack logic so they will no longer hold fire due to allies in the way.
- Does Not Affect Normal Combat: Bullets will still hit enemies and the environment, only allies are ignored.
- Individually Configurable Features: Each function can be configured separately. Whether you want a more hardcore or more casual experience, you can adjust it yourself.
[hr]
How to Use
[list] - Subscribe and enable the mod, then restart the game to take effect.
- The original idea came from wanting to disable stupid AI friendly fire in single-player. Later I thought the multiplayer “no friendly fire” option (which only removes damage but not collision) wasn’t satisfying either, so I made this mod wwww
- In multiplayer mode, all players must install this mod to ensure synchronization. (Multiplayer sync not fully tested, bugs may exist)
Compatibility
- Excellent compatibility. Tested successfully under the following mod environments (other mods should also have no compatibility issues):
• Combat Overhaul Legacy
• Guns Enhanced
Implementation Principle
- By modifying the Projectile.ShouldIgnoreCharacterCollision method, bullets automatically ignore allies during collision checks.
- By modifying the AIObjectiveCombat.Attack method, AI will ignore the presence of teammates when firing.
All features can be configured in Barotrauma\ModSettings\NFF\NFFConfig.xml
(1) AiFriendlyNoFireEnabled: Whether friendly AI applies penetration, enabled by default
(2) EnemyFriendlyNoFireEnabled: Whether enemy AI applies penetration, disabled by default
(3) PlayerNoFriendlyFireEnabled: Whether players apply penetration, enabled by default
(4) IgnoreDeadCharacterEnabled: Whether bullets penetrate dead characters, enabled by default
Bug
- If you encounter any bugs, feel free to leave feedback and suggestions in the comments.
Fork
The following modders have created excellent extensions based on this mod
https://steamcommunity.com/sharedfiles/filedetails/?id=3543916066 -------Bullets can penetrate monster corpses (now integrated into the original mod)
[/list]