RimWorld

RimWorld

171 ratings
Combat always collides
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
114.620 KB
Dec 5, 2022 @ 6:33am
Jul 11 @ 4:19pm
15 Change Notes ( view )

Subscribe to download
Combat always collides

Description
Prevents pawns from stacking when performing any combat duties.

Technical stuff
If a pawn is performing a duty that has the attribute alwaysShowWeapon, they will not be able to share a tile with other pawns. This replaces the periodic check of "is there a hostile in a given radius", resulting in a more predictable experience.

These duties are basically any sort of active participation in hostilities - raiding, sapping, breaching, prison breaks, etc.

Requires
99 Comments
Mute  [author] Jul 11 @ 4:21pm 
We 1.6 now. Performance is about 4.55% worse than vanilla in pawn-heavy situations (e.g. large raids) due to the need to check paths for combatant pawns.
Mute  [author] Jul 11 @ 12:47pm 
Wow it seems like in 1.6 pawns don't collide in combat at all (other than being unable to stop in the same square).

This will be interesting to try and detour.
bewby Jul 11 @ 1:50am 
Yeah pathing has changed considerably the pawns just run A to Z now but I don't know how thats impacted collision. Appreciate you either way!
Mute  [author] Jul 7 @ 10:26pm 
I hear pathing is completely reworked in 1.6 so it'll take some looking into
bewby Jul 6 @ 2:58pm 
Would love a 1.6 update!
dfifd Jul 4 @ 7:00am 
well, the combination of clean pathfiding and combat always collides makes the game shit itself because of shouldcollidewithpawns method (or whatever is this) which taken up about 400 tps from me
Arthur GC Jun 11 @ 5:51am 
I'm also having the 'balloon forward' issue Dath mentioned.
Mute  [author] Jun 6 @ 2:12pm 
Sorry for the late reply, I'm not sure if clean pathfinding compatible with all variations on the settings it has.

From the FAQ it seems like it shouldn't cause issues, but I'm uncertain if the patches overlap

> A. Hostiles and animals ignore any special rules set out by this mod and work as normal. It just impacts your own colonists and mechs, and non-hostile guests of a greater than animal intelligence. Drafted pawns are also ignored.
joyboy Jun 6 @ 11:13am 
doesnt work
Evono May 15 @ 9:46am 
@mute is clean pathfinding incompatible?