Perhaps cut the "guard" distance in half if you don't have a weapon in your gunslot & turn the NPCs hostile if you activate a weapon while in range. Much loot has been lost to overzealous NPCs..