RimWorld

RimWorld

168 ratings
Combat always collides
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
95.984 KB
Dec 5, 2022 @ 6:33am
Mar 18 @ 7:52pm
12 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
94 Comments
dfifd 2 hours ago 
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?
Dath May 13 @ 8:30am 
Yeah I do. Incompatible?
Mute  [author] May 7 @ 10:58pm 
@Dath do you have owl's clean pathfinding?
Dath May 7 @ 9:10am 
Are there any known incompatibilities for this mod? Can't seem to get it work at all, pawns from the raids I test just don't gain collision at all, and balloon forward upon coming into contact with colonists.

Maybe Performance Fish, Performance Optimizer or RocketMan interferes with your mod in some way? What kind of info do you need to troubleshoot compatibility issues?
Deadcurze Mar 19 @ 9:54am 
Seems to work just fine now! Thanks for the quick fix.
Mute  [author] Mar 18 @ 7:53pm 
Fix uploaded, drafted pawns with targets should collide now.