RimWorld

RimWorld

566 ratings
Simple Sidearms - Switch Weapon
2
6
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
264.956 KB
12 Nov, 2021 @ 3:31pm
26 Aug @ 2:13pm
25 Change Notes ( view )

Subscribe to download
Simple Sidearms - Switch Weapon

Description
Description:
Expands Simple Sidearms to allow easy switching of drafted colonists's weapons.

Pawns can be made to switch to ranged weapons regardless of their preferred setting or forced to use melee or unarmed fighting via four simple buttons.

This works for multiple selected pawns at once with a single click, no longer requiring you to select and switch the weapon for each pawn one by one.

Requires Simple Sidearms!

---

Compatibility:
No known incompatibilities.

Please report any issues and include the HugsLib log (CTRL+F12) when reporting bugs,
it helps immensely tracking down what went wrong, thank you!

---

Simple Sidearms: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=927155256

GitHub: https://github.com/XT-0xFF/SimpleSidearms_SwitchWeapons

If anyone feels like implementing this into Simple Sidearms, feel free to do so, please tell me though, as I will then remove this mod.
204 Comments
Syrus  [author] 15 Oct @ 4:09pm 
Quickest fix of a problem I ever did, didn't even need to lift a finger! :)
SSS-class Warlock 15 Oct @ 4:05pm 
Oh damn, disabling your mod did nothing to fix it. Sorry to bother you with this.
SSS-class Warlock 15 Oct @ 3:58pm 
[Part 1/2]

Exception in JobDriver fixed tick for pawn Vilborgdóttir driver=JobDriver_Reload (toilIndex=0) driver.job=(ReloadWeapon (Job_26778666) A = Thing_Human1136350 B = Thing_CE_Gun_MilkorMGL1800741 Giver = JobGiver_CheckReload [workGiverDef: null])

System.NullReferenceException: Object reference not set to an instance of an object

[Ref A6224F5E] Duplicate stacktrace, see ref for original

UnityEngine.StackTraceUtility:ExtractStackTrace ()

(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)

(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)

Verse.AI.JobDriver:DriverTick ()
SSS-class Warlock 15 Oct @ 3:58pm 
[Part 2/2]
Verse.AI.Pawn_JobTracker:JobTrackerTick ()

Verse.Pawn:Tick ()

Verse.Thing:DoTick ()

Verse.TickList:Tick ()

(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)

Verse.TickManager:TickManagerUpdate ()

(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)

Verse.Root_Play:Update ()
SSS-class Warlock 15 Oct @ 3:57pm 
I keep getting this error and my pawns, with their multiple sidearms, are infinitely stuck trying to reload a weapon they're not allowed to hold because it's not their default ranged weapon, even though CE requires a weapon to be held in order to be reloaded.
I've tried everything I can on my end to make it work, both today and in the past, but to no avail.
Please, pretty please, can you look into fixing this or tell me how to finagle the settings to make it work? It's been an issue in 1.5 too and I just sucked it up, but I can't take this shit no more.
Syrus  [author] 3 Oct @ 11:01am 
They would just switch back to whatever their default is, I think?
Vril 3 Oct @ 9:35am 
Can you add option to switch weapons for undrafted pawns?
Syrus  [author] 26 Aug @ 3:20pm 
Made the non-lethal icon look like what somehow reminded me of a flashbang. If anyone has a better idea, I'm open to suggestions. Making icons feels like it always takes the most time for me, never know what would be best...
Syrus  [author] 26 Aug @ 2:15pm 
Version 1.6.6
Added non-lethal button (can be enabled in settings)
Split next/previous skip dangerous/emp settings and added non-lethal as well
SalazarWindriver 24 Aug @ 4:31pm 
as long as my teams have the same weapon it is somewhat simple enough to switch to that weapon