RimWorld

RimWorld

Stuffed Guns
8 Comments
cawphee.black Jan 2, 2024 @ 12:53pm 
Thanks and no worries I guess. I commented out all the pila related patches since I pretty much never use that as a weapon anyways.
Commander Shrekard  [author] Jan 2, 2024 @ 12:26pm 
From what I can glean from my testing, some other mod is doing this. With only vanilla + expansions, no error. On one of my modded setups, I get that same error.
It also only seems to affect the texture mask, NOT the stats. Essentially, the whole thing is colored and not the metal bit only.
It's been a while since I worked on this mod, plus I used black magic to even get it to work using only Defs, so it may take me a bit to figure out why only the pila does that.
For now, you can ignore the error though, as long as it's not crashing the game, it's fine.
cawphee.black Jan 2, 2024 @ 11:16am 
any thoughts on this startup error?

[Stuffed Guns - Start of stack trace]
Verse.PatchOperationReplace(xpath="Defs/ThingDef[defName= "Pila"]/costList"): Failed to find a node with the given xpath
Verse.PatchOperationSequence: Error in the operation at position=36
[End of stack trace]

I'm getting errors at the end map generation involving the following call
RimWorld.StatWorker_MarketValue.CalculatedBaseMarketValue

But not sure if this is related
Holgast Nov 14, 2022 @ 1:40pm 
It used to be here on the workshop, I guess the sketchy site is a workshop scraper.
Commander Shrekard  [author] Nov 14, 2022 @ 7:02am 
I found the vanilla source files and figured out how to properly apply texture masks, so expect some better visuals to come out. First update will be vanilla weapons.

@Holgast I never heard of gunmetal but looked it up and found it. Unfortunately it’s on a kind of sketchy website with popups when you try to download. Not sure if it could be found elsewhere but this mod basically does the same thing while also changing damage values.
Holgast Nov 14, 2022 @ 4:20am 
There was an older mod which did this which I thought was called Gunmetal, but I can't find it anywhere now.
Commander Shrekard  [author] Nov 13, 2022 @ 11:00am 
I'll look into that Vazrua, thanks.
Vazrua Nov 13, 2022 @ 10:22am 
For masking you need to make a texture for the item, having red as the area you’re applying the colour to and black being unchanged, and of course it should lineup with the original image. Then the mask texture needs to have the same name as the item, followed by .m or _m I believe the syntax changes depending on what the item you’re colouring is, ie items, apparel, pawns or buildings. Sorry for the either or answer, been awhile since I made a new mask.