RimWorld

RimWorld

555 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!
72 Comments
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.
DuckGoosebear PrairieDogLover 26 Jul @ 11:21am 
You the best :D
Fuko  [author] 26 Jul @ 6:49am 
1.6 Update is Here!!!!! (Don't mind the 1.5 in the image, I don't have the banner files with me ;P)

Sorry for the long wait. I've been in a different country for the last several months, so very low on time as you can imagine.

I don't have time to extensively test, so tell me if there's any new content/mechanics in the DLC that the mod isn't quite working with or newly introduced issues!

The mod can be added in the middle of a saved game, so no need to restart.

Also to a question asked a long while ago, mod load order doesn't matter. This mod doesn't have any interdependencies with other mods, so it will behave identically no matter where it is. In general, just obey the load order suggestions of other mods, like performance mods that suggest to be loaded last.

Have fun~!
Pirate King Mizzle 19 Jul @ 12:58pm 
yaaaaaaaaaaaaaaaaaaaaaaaay. hope your trip has been good
Fuko  [author] 19 Jul @ 4:08am 
Oh, new Rimworld expansion is out :lunar2019shockedpig:

I've been in a different country for the last several months, so very low on time as you can imagine, but I brought the source code along :MHRISE_Felyne:

I'll try to get my mods updated in the next few weeks.

@gold Thanks for providing a temporary update, seems like an easy enough change
gold 10 Jul @ 12:07am 
1.6 Update: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3521694134

Required renaming two calls in PawnAttackGizmoUtility_Patches.cs and rebuilding the .dll. Let me know if you'd like me to PR the changes and unlist my mod.
anyone know if this is working in 1.6?