Merc level 10

SorenMageofMareth

Well-Known Member
Aug 28, 2015
339
27
So I'm working up a new gun merchandise and was wondering what exactly does the captor range perk do. It says get rid of physique requirements but are there any? What does it mean? Do it make mercs count as power armored and get rid of those massive accuracy penalties? What?
 

Xeivous

Well-Known Member
Sep 21, 2015
2,456
1,396
I've honestly got no clue. I wasn't aware there were physique requirements for some weapons and it not saying that it does the power armor thing makes me think it's not that.

Why it and that giant slayer perk the level before exist is a complete fucking mystery to me.
 

Couch

Scientist
Creator
Aug 26, 2015
1,628
933
There's code to prevent the equipping of weapons flagged with the Power Armor flag unless the PC meets the requirements for the function pc.canUsePowerArmorWeapon() to return true. The same check is also performed to keep the PC from actually attacking with the weapon if they somehow equipped it anyway. Wearing armor with the Power Armor flag will presumably cause this function to return true, as will having sufficient Physique or having the Bigger Guns perk. I can't confirm this because I can't find the code for the function itself, since Github's search system is not ideal; all I could find other than the code defining its usage is that Chaurmine overrides it to true for himself.
 

Thebiologist

Well-Known Member
Jun 24, 2017
585
644
32
There's code to prevent the equipping of weapons flagged with the Power Armor flag unless the PC meets the requirements for the function pc.canUsePowerArmorWeapon() to return true. The same check is also performed to keep the PC from actually attacking with the weapon if they somehow equipped it anyway. Wearing armor with the Power Armor flag will presumably cause this function to return true, as will having sufficient Physique or having the Bigger Guns perk. I can't confirm this because I can't find the code for the function itself, since Github's search system is not ideal; all I could find other than the code defining its usage is that Chaurmine overrides it to true for himself.

If you try to equip an armor with the power armor flag you get the same message, you're not strong enough to equip that armor.

As far as the code goes, it only works with the big guns perk and 40+ physique:

public function canUsePowerArmorWeapon() : Boolean
{
return this.inPowerArmor() || this.physique() >= 40 || this.hasPerk("Bigger Guns");
}

Because the this.inpowerarmor is set to false by default.

public function inPowerArmor() : Boolean
{
return false;
}
 
Last edited: