RimWorld

RimWorld

Dual Wield
 This topic has been pinned, so it's probably important
roolo  [developer] 19 Jan, 2019 @ 2:05am
Simple Sidearms Compatibility
I'm currently looking into improving the compatibility with Simple Sidearms. Some issues related to this were reported, but I've not yet been able to understand/reproduce them. The only thing I noticed is that when clicking the "switch to unarmed combat" button, your off hand weapon ends up in the sidearms menu. Which doesn't seem like a big issue (and it's a very complicated thing to solve, so I'd rather keep it as it is, but please convince me if you do think this is a big issue).

If you notice other oddities when using dual wield in combination with simple sidearms. Make sure the following things are in your report

- What happened
- What you expected to happen
- A step-by-step explanation on how to reproduce the issue.
- An hugslib log (press ctrl+f12 after the issue occurs, and place the link you'll get here).

Thanks in advance :)
< >
Showing 1-15 of 49 comments
The Nut Champ 19 Jan, 2019 @ 1:33pm 
You prolly know this but you're able to use two handed weapons with an off-hand if you use simple sidearms by simply having dual weapons then picking up a two handed weapon

You're main gun would then become your offhand while the two hander as your main
Would also like to have a bit of restrictions (possible editable on mod options) like for example accuracy would suffer if you suddenly change to a different weapon since in normal cases people would ahve to re-aim since you just saw to a different weapon
you might ant to look into how combat shields handles its compatibility with simple side arms. it also uses offhand carry logic https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1588616696&searchtext=shields
roolo  [developer] 20 Jan, 2019 @ 6:27am 
@Ree,
Valid point. I'll do something about that exploit in the future.
@れPURE い.億KiotheCloud四.
Thanks for you suggestion, but if you switch weapons, the aiming is already cancelled, so pawns already need to re-aim. Also, your suggestion isn't about improving compatibilty, but actually about improving simple sidearms, so this isn't really the place for that suggestion.

Originally posted by GwenBlanketKnightvery ill:
you might ant to look into how combat shields handles its compatibility with simple side arms. it also uses offhand carry logic https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1588616696&searchtext=shields
Thanks for your reference, but the problem isn't that I can't get compatibility for simple sidearms working, the problem is that for me it seems to be working fine, but some people complained about the compatibility. So right now I know there might be something wrong, but I can't reproduce it. That's why I'm interested in properly reported player feedback regarding issues with Simple Sidearms, so I don't need to spend hours testing to find any incompatibilities.
Last edited by roolo; 20 Jan, 2019 @ 6:58am
Super Chan 22 Jan, 2019 @ 9:57pm 
on auto switch to melee when attacked (with simple side arms), pawn equipped with a charge rifle main hand and a uzi off hand, when attacked in melee, it seemed to equip the uzi off hand as main and the charge rifle as unequipped, (in simple sidearms ranged slot) i had to drop and repick up, probably going to disable simple sidearms, as doubling down on weapons reinforces melee vs ranged than both
6loodymir 25 Jan, 2019 @ 4:03am 
When changing dualwield and melee sidearm, one of welded guns went into inventory, but anotrer just disappears.
SonOfNitrous 6 Feb, 2019 @ 11:17pm 
Hi!
seems that ther's an issue - atm offhand weapon "stays offhand" while switching weapons. If u switch to melee, dualwielding will be divided to separate SidearmSlots. And there's a glitch that can lead to weapon dessapearance because of described above.

Would be very cool if dualwielding could be saved in a single slot, so it's possible to have for ex. shotgun, dual pistols and a knife

Srry 4 my english
cheers!
roolo  [developer] 7 Feb, 2019 @ 12:55am 
@SonOfNitrous
That's impossible without completely overhauling Simple Sidearms. SS just switches the main weapon, and has no notion of any off-hand weapon, and this isn't something I can fix with a simple patch.

As for the "weapons disappearing", I'll have to look into that. I tried reproducing it before, but I couldn't. However, I've received some reports recently that should help me reproduce it. If you have any info that might help, for instance the exacts steps that I should take to make a weapon disappear, don't hesitate to provide it.

SonOfNitrous 7 Feb, 2019 @ 7:08am 
Hope u could get in touch with SS author and make smth about it ;)

Considering dissapearance - I ran on this bug when pawn "Where'sMyWeapon-ed" and had full slots. Also offhand weapon sometimes disappear in ui during switching weapons using SS. Will try to reproduce.
roolo  [developer] 17 Feb, 2019 @ 5:14am 
I tried reproducing the "weapons disappearing" issue again, without success. Now matter how hard I try, weapons won't disappear. Sometimes they move to the inventory, or they are dropped to the ground, but that's all in correspondence with how things should work.

@SonOfNitrous
I've sent you a friend request so I can ask you more about the issue you're having.
Last edited by roolo; 17 Feb, 2019 @ 5:15am
Ancile 17 Feb, 2019 @ 4:04pm 
To add to the disappearing weapon, I'll be honest it must be some kind of mod conflict as my debug doesn't list anything going on.

For reproducing it, (and this is with any variety of melee/ranged be it modded or vanilla):
1) Equip a ranged mainhand, just through right click and all that.
2) After it's been equipped and registered, I'll select another weapon (ranged or melee in this case) and equip it as offhand.
3) After that I'll select a melee weapon and have it equipped as a sidearm.
4) At this point if I manually switch between the ranged or melee loadouts, the offhand weapon will disappear. And I do check the inventory to see if it's still there. That said, as I type this out I wonder if RPG inventory could somehow be eating the offhand?
roolo  [developer] 19 Feb, 2019 @ 2:55am 
Originally posted by Ancile:
To add to the disappearing weapon, I'll be honest it must be some kind of mod conflict as my debug doesn't list anything going on.

For reproducing it, (and this is with any variety of melee/ranged be it modded or vanilla):
1) Equip a ranged mainhand, just through right click and all that.
2) After it's been equipped and registered, I'll select another weapon (ranged or melee in this case) and equip it as offhand.
3) After that I'll select a melee weapon and have it equipped as a sidearm.
4) At this point if I manually switch between the ranged or melee loadouts, the offhand weapon will disappear. And I do check the inventory to see if it's still there. That said, as I type this out I wonder if RPG inventory could somehow be eating the offhand?

Thanks a lot for your clear step-by-step instructions. It proves for me that it indeed must be some 3rd mod that's conflicting. When I follow the steps, the sidearm weapon just switches with the main hand weapon like how it's supposed to and nothing disappears.

I'll definitely test now if RPG inventory has anything to do with it.

Edit: I tested it with RPG inventory and it worked perfectly fine with it. Could you do me a favour and press ctrl+f12 just after you reproduce the issue to share your log? Place the link you'll get here.

Last edited by roolo; 19 Feb, 2019 @ 3:03am
Ancile 19 Feb, 2019 @ 8:31pm 
Did as you said, reproduced the error and uploaded the log. Nothing shows up on the debug window so I'm worried this may not be too informative.

{LINK REMOVED}
roolo  [developer] 19 Feb, 2019 @ 9:37pm 
Originally posted by Ancile:
Did as you said, reproduced the error and uploaded the log. Nothing shows up on the debug window so I'm worried this may not be too informative.

{LINK REMOVED}

It's probably more useful than you expect. Aside from any errors (which there aren't any), it also gives your mod list and a complete overview of what code your mods patch.

Edit: looking at you log, it could well be Pick up and Haul. Not sure though. I'll surely investigate that when I have time.
Last edited by roolo; 20 Feb, 2019 @ 12:13am
Ancile 20 Feb, 2019 @ 4:25pm 
Huh. Now that's an interesting thought. I'll give it a try and remove that and report in

Removed Pick up and Haul. No more disappearing weapon. Good call.
Last edited by Ancile; 20 Feb, 2019 @ 9:03pm
< >
Showing 1-15 of 49 comments
Per page: 1530 50