边缘世界 RimWorld

边缘世界 RimWorld

566 个评价
Simple Sidearms - Switch Weapon
2
6
3
   
奖励
收藏
已收藏
取消收藏
Mod, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
264.956 KB
2021 年 11 月 12 日 下午 3:31
8 月 26 日 下午 2:13
25 项改动说明 ( 查看 )

订阅以下载
Simple Sidearms - Switch Weapon

描述
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://psteamcommunity.yuanyoumao.com/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 条留言
Syrus  [作者] 10 月 15 日 下午 4:09 
Quickest fix of a problem I ever did, didn't even need to lift a finger! :)
SSS-class Warlock 10 月 15 日 下午 4:05 
Oh damn, disabling your mod did nothing to fix it. Sorry to bother you with this.
SSS-class Warlock 10 月 15 日 下午 3: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 10 月 15 日 下午 3: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 10 月 15 日 下午 3: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  [作者] 10 月 3 日 上午 11:01 
They would just switch back to whatever their default is, I think?
Vril 10 月 3 日 上午 9:35 
Can you add option to switch weapons for undrafted pawns?
Syrus  [作者] 8 月 26 日 下午 3: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  [作者] 8 月 26 日 下午 2: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 8 月 24 日 下午 4:31 
as long as my teams have the same weapon it is somewhat simple enough to switch to that weapon