RimWorld

RimWorld

570 ratings
Punch Button
3
3
6
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
994.272 KB
10 Nov, 2021 @ 6:57pm
3 Aug @ 8:23am
10 Change Notes ( view )

Subscribe to download
Punch Button

In 1 collection by Fuko
Fuko's Mods!
7 items
Description
An unarmed prisoner is escaping! Quick, slice their limbs off with a plasmasword!

I'm sure we all wish we could simply order colonists to punch without unequipping them (or can't even unequip if they have implanted weapons). So here's a punch button!

Primary Changes
Adds a punch button that appears while colonists are drafted, which forces them to only use unarmed attacks (won't use implant weapons like elbow blades either)!



Compatibility
  • Near 0% performance impact (0.001ms in Dub's Performance Analyzer to draw the button when a pawn is selected).

  • Safe to add and remove mid-game.

  • Independent, isolated, and minimal in scope, with no modifications to vanilla behavior/code required: This simply uses the same code as social fighting, so it should be compatible with nearly every mod, will leave no permanent changes to your saved game, and will not brick your game.

  • Confirmed compatible with Combat Extended, Vanilla Expanded series, Alpha series, Dubs series, Simple Sidearms, and hundreds more.



~4.0 update: Updated for 1.6!
~3.0 update: Now compatible with 1.5!
~2.02 update: Added priority so punches are always preferred over headbutting and biting.
~2.01 update: Removed punch button from appearing on player controlled mechanoids (They're not capable of punching).
~2.0 update: Now compatible with 1.4!

Github Link: https://github.com/tenguin/Rimworld_PunchAttack






Credits to: sakino_shingetu, Inugami Korone, and Princess Connect: ReDive[priconne-redive.jp] for the art sources used in the thumbnail and tanosii_chan for the upvote animation! Give them a visit!
78 Comments
Durandal 26 Sep @ 1:04am 
now if only this could prevent my vampires from punching people to death ._.
talent ♿ 24 Sep @ 4:47am 
The same problem with the insane attack speed. There are 500 mods in the library, but the ones you discussed below are not in the library.
Fuko  [author] 17 Sep @ 5:11am 
@Sakura It's likely one of the mods that modify combat mechanics. I see mods like Supreme Melee or Vanilla Combat Reloaded, which are likely culprits. Or maybe something that modifies weapon stats or animations.

But if a mod makes such drastic changes in bypassing vanilla combat logic, there's not much I can do on my end.
Sakura 13 Sep @ 7:26am 
Hey, I can't quite track down what incompatibility is causing the issue, but for some reason your punch attack has an insane attack speed if a pawn is holding a ranged weapon.

Example Video: https://i.imgur.com/9TKJBAU.mp4

Log: https://gist.github.com/HugsLibRecordKeeper/93f66dbaeda969d365af6167ded1119b
Fuko  [author] 10 Sep @ 8:03am 
@Aban Yeah, that sometimes happens in vanilla social fighting too, when you get a lucky streak of them punching the same part repeatedly until it breaks. Welcome to Rimworld :lunar2019crylaughingpig:
Aban 9 Sep @ 3:28pm 
So one of my pawns just punched a prisoners leg off. Is this intended behavior?
Dj0z 3 Aug @ 8:37am 
@Zubekanov doesn't Melee Animation let you disable that? I have it set up to only cause executions when manually ordered
Fuko  [author] 29 Jul @ 9:07am 
@Zubekanov Hmm, that's actually a problem that can only be fixed on Melee Animation's side. They're treating unarmed punches like an attack that should trigger executions.
Tam 29 Jul @ 8:12am 
fuu punch is back
thanks for update
Zubekanov 28 Jul @ 3:55pm 
This mod has been fantastic for me and very useful, just wanted to add that theres a weird interaction with melee animations where my dudes are punching prisoners, then the execution from melee animation triggers and they instantly decapitate the poor dude.