RimWorld

RimWorld

565 arvostelua
Simple Sidearms - Switch Weapon
2
6
3
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Mod, 1.3, 1.4, 1.5, 1.6
Tiedostokoko
Julkaistu
Päivitetty
264.956 KB
12.11.2021 klo 15.31
26.8. klo 14.13
25 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Simple Sidearms - Switch Weapon

Kuvaus
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://steamproxy.net/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 kommenttia
Syrus  [tekijä] 15.10. klo 16.09 
Quickest fix of a problem I ever did, didn't even need to lift a finger! :)
SSS-class Warlock 15.10. klo 16.05 
Oh damn, disabling your mod did nothing to fix it. Sorry to bother you with this.
SSS-class Warlock 15.10. klo 15.58 
[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.10. klo 15.58 
[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.10. klo 15.57 
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  [tekijä] 3.10. klo 11.01 
They would just switch back to whatever their default is, I think?
Vril 3.10. klo 9.35 
Can you add option to switch weapons for undrafted pawns?
Syrus  [tekijä] 26.8. klo 15.20 
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  [tekijä] 26.8. klo 14.15 
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.8. klo 16.31 
as long as my teams have the same weapon it is somewhat simple enough to switch to that weapon