RimWorld

RimWorld

246 ratings
Bill Doors' Weapon Jams!
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5
File Size
Posted
Updated
1.325 MB
16 Oct, 2022 @ 1:47am
29 Jul, 2024 @ 4:15pm
9 Change Notes ( view )

Subscribe to download
Bill Doors' Weapon Jams!

Description
Another small step in making weapon quality matters more!

CE 1.5 compat now, also fixed gorehulk

Weapons now may occasionally jam, depending on their quality, tech level, and hitpoint (configurable in mod setting)
Weapons without quality are considered to be unaffected by manufacturing defects, thus won't jam.

When a weapon jams, no bullets will be fired from this shot, current burst is terminated if is repeating weapon, and it'll take a small amount of damage.
(for CE users) A gun that jammed will also needs a manual reload to clear jams, with the exception of:
1: load-one-at-once weapons
2: weapon with more than 5 second of reload or more than 75 round mag (for less annoyance when your 12-sec reload 200 round LMG jams on first shot)
3: weapons with a burst of more than 25 rounds as they're considered to be externally powered guns thus they could simply force the jammed round out, they also won't terminate their burst from jams either

Most constants and functions can be changed or toggled in mod settings!

For modders who don't/wants own gun to jam:
use BDsWeaponJamming.DefModExtension_Jamming in modExtensions to customize how code behaves on your guns. Avaliable nodes are:
bool disableJamming: disables jamming for this gun regardless.
float jamChanceMulti: jam chances are multiplied against this value.
float jamChancePostfix: adds this value to the final jam chance, calculated after jamChanceMulti.
New variables in mod extension:
Bool NeverReloadWhenJam: Prevents gun from reloading when jammed, apparently needs CE for it to do anything
Bool AlwaysReloadWhenJam: vice versa, takes higher priority than NeverReloadWhenJam

Thanks for @Type writer's tireless debugging and determination to find out a game-breaking bug when colonist hunt with their weapon broken mid-hunt without CE causes game to break. (Apparently CE added some sort of fail-safe to hunt job which gave me the illusion of bug-free) This bug is now fixed.
Popular Discussions View All (3)
2
13 Jun, 2024 @ 6:43am
Jam chance patching requests
3HST有限公司
0
7 Jul, 2024 @ 1:56pm
[BUG] Gorehulk /Anomaly incopatability
Narlindir
0
29 Sep, 2023 @ 12:02pm
major bug?
Lemon caro
73 Comments
Arlington 28 Sep @ 6:13am 
i would greatly appreciate if you updated this to 1.6
So interesting
crockett 24 Sep @ 3:18pm 
Is a 1.6 update coming by chance?
Tf2NoobPlayer64 23 Aug @ 10:35pm 
1.6
FranknKitty 7 Aug @ 6:09pm 
would love an update, this mod is awesome
тетеря, блин 30 Jul @ 6:24am 
🙏
Azerbaijan_Technology 1 Jul @ 12:00pm 
Consider updating for 1.6
Doc 24 May @ 8:16pm 
I'm VERY surprised to say that this mod actually works right out the box with Rimworld Multiplayer lol. Synchronized perfectly! Great mod, makes the game more dynamic!
turkler 11 Jan @ 11:45pm 
I can't play without this mod, thank you for maintaining it!
Arlington 30 Nov, 2024 @ 1:35am 
i agree that partial jams are good like in CE it half jams firing at half speed, half damage and half AP