RimWorld

RimWorld

Vanilla Factions Expanded - Pirates
CoolMark 27 Nov, 2024 @ 10:20am
I cant equip warcaskets weapons on my warcasket
I tried everyhing, disabling all mods in a new save, changing roles , being sure that the pawn is capable of violence, changing combat stats, changing types of warcaskets but despite all that, it still wont work. any ideas on how i could fix it?
< >
Showing 1-6 of 6 comments
BIgTenChucka 5 Dec, 2024 @ 3:32pm 
Same here. Looking into it, the code being referenced "CompProperties_WeaponBox" doesnt exist. Looking for a fix now
BIgTenChucka 5 Dec, 2024 @ 3:48pm 
nvm that theory is shot, older versions didnt have one either.
BIgTenChucka 5 Dec, 2024 @ 4:56pm 
Ok temporary solution for you:

search your mods folder for a file called "MeleeWarcasket" and "RangedWarcasket". make sure you pick the ones in the "1.5" directory.

open those with notepad, near the top maybe a couple dozen lines down you'll find a section of code that says the following:
<modExtensions>
<li Class="HeavyWeapons.HeavyWeapon">
<isHeavy>true</isHeavy>
<supportedTraits>
<li>VFEP_WarcasketTrait</li>
</supportedTraits>
<disableOptionLabelKey>VFEP.RequiresWarcasket</disableOptionLabelKey>
</li>
</modExtensions>

Delete that, save, and now its fixed. Side effect is now any pawn can pick up a warcasket weapon. Abuse it or dont, your call

looks like the code defining who is allowed to equip them is broken, its deep code ♥♥♥♥ idk how to fix, but the fix I described just bypasses that completely
Last edited by BIgTenChucka; 5 Dec, 2024 @ 5:15pm
CoolMark 7 Dec, 2024 @ 8:36am 
Thanks a lot man u did good
BIgTenChucka 8 Dec, 2024 @ 2:49pm 
Hey thanks bro! hah not bad for a guy who literally never learned anything about programming or coding right? proud of myself for that one lol.
Originally posted by BIgTenChucka:
Ok temporary solution for you:

search your mods folder for a file called "MeleeWarcasket" and "RangedWarcasket". make sure you pick the ones in the "1.5" directory.

open those with notepad, near the top maybe a couple dozen lines down you'll find a section of code that says the following:
<modExtensions>
<li Class="HeavyWeapons.HeavyWeapon">
<isHeavy>true</isHeavy>
<supportedTraits>
<li>VFEP_WarcasketTrait</li>
</supportedTraits>
<disableOptionLabelKey>VFEP.RequiresWarcasket</disableOptionLabelKey>
</li>
</modExtensions>

Delete that, save, and now its fixed. Side effect is now any pawn can pick up a warcasket weapon. Abuse it or dont, your call

looks like the code defining who is allowed to equip them is broken, its deep code ♥♥♥♥ idk how to fix, but the fix I described just bypasses that completely


I deleted the sting of code, but it only made it possible to equip some of the warcasket weapons. The Gravity Hammer, Broadsword and Autorifle all work, but the Handheld Cannon, Grenade Launcher, and Uranium Slug Rifle still do not work. Forcibly adding things to the pawn's inventory via mods or dev mode gets around this.
< >
Showing 1-6 of 6 comments
Per page: 1530 50