RimWorld

RimWorld

239 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
67 Comments
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: Helldriver 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
Red Hawkfield 27 Nov, 2024 @ 2:25pm 
I see apparel have a jam chance as well but it really doesn't seem to affect anything.
Videogameplayer 12 Nov, 2024 @ 4:57am 
Hello, firstly, great mod! I'm seeing an issue though of non-weapon items like apparel displaying a 'chance to malfunction' in the info window. Have you seen this before and do you know how I can fix it? Thanks!
blackrave 10 Nov, 2024 @ 2:02pm 
Hold on, this is NOT cooking mod that allows manufacturing delicious fruit spreads using weapons
Reported 28 times for false advertising >:(

P.S. But on serious note- how it works with Yayo's Combat?
PAD长 14 Oct, 2024 @ 11:43pm 
很棒的模组
Church.exe 15 Aug, 2024 @ 11:10pm 
I have no idea how possible it'd be, but it'd be interesting if the food poisoning mechanic from vanilla RW could be repurposed here. For instance " Say My Name's weapon jammed, cause : incompetent ammunition loading " or " ShaiLeBuff's weapon jammed, cause : dirty loading bench ".
Depending on if the vanilla system allows it, it might even be cool if there were other types of jams, like firing but doing reduced damage and failing to cycle or "partial jams" that reduce accuracy but still shoot fine, so a better crafter quite literally makes better, match-grade bullets. The vanilla system only has to track food poisoning though, so I'm not sure it could scale up to that.
turkler 30 Jul, 2024 @ 1:28am 
thank you so much for the update!!!