RimWorld

RimWorld

Combat Shields
hyplaces 24 May, 2019 @ 11:17am
Bug: infinite equipping loop between two shields
I notice that pawns will sometimes get stuck in a loop equipping and dropping two shields when they already have a belt item equipped. It often happens when they have medical kits equipped from Dub';s Rimkit mod in their belt slot. It looks like they keep trying to equip shields, but the shield goes into their inventory, and then they try to equip another shield.

Any advice? I keep all of the extra shields forbidden and change outfit restrictions to fix it for now. Thanks for this awesome mod!
< >
Showing 1-15 of 31 comments
FatherlyWarhead 25 May, 2019 @ 6:29pm 
I'm having this swapping issue other people are reporting and i think i have an idea as to why.

I think it's something to do with the dual wield mod. I've got a bunch of people using dual SMGs and having a sword or the like as a sidearm (sidearm mod of course).
Two of my people are brawlers though, so i've picked out a melee weapon each and told them both to equip shields (forbidden them in the "Anything" outfit for everyone else).
First person runs to get a shield "Orange". Picks up a Scutum. I draft her to see if she gets it out - she doesn't, only her sword.
Tell her to drop it. She automatically finds an Aspis to pickup. Draft her again, not equipped.
I undraft her and she runs over to the Scutum again and begins her loop of picking them both up - even though i force the Aspis and prioritise a job elsewhere, she eventually runs back and continues the loop.
She did previously have two swords, but she got wrecked by gunfire before she could achieve anything and nearly died of blood loss, hence the switch.
I've used the mod before and had no problems. But it's something to do with pawns having dual wielded at some point.
Also, she did grab a shield belt before this (one of the bubble shields) and was stuffing the Scutum and Aspis in her inventory.

I'm also running a ton of mods, but the only one i know i didn't have when it was working was dual wield.
Perhaps something to do with the three mods all running together mucks them up somehow. Dual wield and sidearms works fine as the melee weapon is pulled out and the original mainhand weapon stowed, while keeping the offhand out (which is generally fine).
Although, as i'm writing this i can recall having a pawn who was attacked in melee (who had two guns) and dropped them to pull out a shield and sword. So perhaps it's to do with the options in the mod on when a pawn will drop their weapons.
Raszul 28 May, 2019 @ 1:53pm 
I have the same bug (using Simple Sidearms with this mod and having my pawns enter an infinite loop of picking up a shield then swapping with another one over and over).

However when I swap them to their melee weapon it works just fine ...
so... maybe its related to how the shield is put away while in "ranged combat mode" that makes the pawn forget it had one, pick up a new one, drop the old one, forget it had one, pick up a new one ... etc ad infinitum ...

just a thought.

EDIT: the pawns with one-handed weapons were fine. its only the ones using a rifle that bugged out for me. the one with an SMG worked just fine...
Last edited by Raszul; 28 May, 2019 @ 3:32pm
Oograh 30 May, 2019 @ 6:16am 
Any idea how to fix this?
I am running Simple Sidearms and have the same bug, the pawns keep equipping shields in a loop thats really frustrating.
Raszul 30 May, 2019 @ 3:07pm 
Fix it? nope.

But there is a work-around.
a) do not use shields for anyone using a two-handed weapon
b) permit shields only for ppl with one-handed weapons only (most melee weapons, pistols, smgs)

basically you'll end up with
> melee pawns (shields+melee weapon (blunt) +melee sidearm (sharp) + shield belt)
> short range pawns (shields +pistol/smg +melee sidearm +optionally: smoke pop belt)
> riflemen (no shield +two-handed firearm +any sidearm)
or something along those lines


Note: I use apparel policies to permit/deny shields and the Outfitter mod to have my pawns pick the best gear automagically.
Last edited by Raszul; 30 May, 2019 @ 3:08pm
FatherlyWarhead 2 Jun, 2019 @ 6:43am 
As long as the weapon they've got equipped is one handed it seems to work fine. If you're having issues switch out the weapons they've got to be one handed. I know some of the medieval times swords are two handed when they seem like they would be one handed for example.

Raszul 2 Jun, 2019 @ 7:23am 
it is still annoying that my riflemen (shotguns, bolt-action rifles, ...) have to get a separate policy for apparel that does not include shields or they get stuck with an infinite loop ... -.-'

Especially since I want them to swap to shield+gladius for melee but put both of those away while using their rifles ...
Last edited by Raszul; 2 Jun, 2019 @ 7:24am
HITDICK 22 Jun, 2019 @ 7:00am 
if i have 2 Riot shield,sometime my people will wear one and change other one and change this one...Never stop until it collapses:steamsad:
HITDICK 22 Jun, 2019 @ 7:00am 
plz fix it
:lunar2019deadpanpig::lunar2019deadpanpig::lunar2019deadpanpig:
Raszul 22 Jun, 2019 @ 4:11pm 
the only way I found to get around the bug is to make a apparel policy that forbids shields for those ppl that use a two-handed weapon...
MeneerRay 12 Jul, 2019 @ 5:03pm 
not fixed yet?
VoidRose 19 Jul, 2019 @ 11:26am 
Has anyone notice this bug on the female pawns? Do find it a bit odd
Raszul 26 Jul, 2019 @ 11:40am 
Let me explain this bug a bit.

When the shield is picked up it checks whether the pawn is currently wielding a one-handed or a two-handed weapon. Should they wield a two-handed one, then the shield is flagged for getting replaced rather than refused to be picked up. Which then has the pawn move to another nearby shield, pick that one up, notice they are still wielding a two-handed weapon, then move to the nearest shield - the one they just dropped - to replace it, check again and ... loop at infinity.

or something along those lines.

Shields are not meant to be used with two-handed weapons and bug out when one attempts to do so anyways.

Hence the best option I found so far is to set up separate apparel policies for those that are meant to use one-handed weapons (permitting shields) and those that are meant to use two-handed weapons (forbidding shields). Then assign those as needed.
jfd 27 Aug, 2019 @ 11:13am 
I have the same problem.
jfd 27 Aug, 2019 @ 11:14am 
Originally posted by Raszul:
Let me explain this bug a bit.

When the shield is picked up it checks whether the pawn is currently wielding a one-handed or a two-handed weapon. Should they wield a two-handed one, then the shield is flagged for getting replaced rather than refused to be picked up. Which then has the pawn move to another nearby shield, pick that one up, notice they are still wielding a two-handed weapon, then move to the nearest shield - the one they just dropped - to replace it, check again and ... loop at infinity.

or something along those lines.

Shields are not meant to be used with two-handed weapons and bug out when one attempts to do so anyways.

Hence the best option I found so far is to set up separate apparel policies for those that are meant to use one-handed weapons (permitting shields) and those that are meant to use two-handed weapons (forbidding shields). Then assign those as needed.

I have multiple weapons mod (I think thats how its called) and its still happening.

The mod allows you to have multiple weapons on your pawn. I also have the dual weapons mod which allows them to hold 2 weapons at a time. Its still happening even tho the colonist has a place.
Last edited by jfd; 27 Aug, 2019 @ 11:14am
VoidRose 19 Sep, 2019 @ 9:49pm 
So the constant switching shields is still going on?
< >
Showing 1-15 of 31 comments
Per page: 1530 50