How would I go about removing/disabling wear and tear on weapons and apparel?

Started by ethanwdp, January 12, 2017, 09:27:17 AM

Previous topic - Next topic

ethanwdp

It's a bit too micromanagement-y for me, and I've spent the better part of an hour trying to Google ways to remove or circumvent it.


I've already edited Apparel_Various to have deterioration rate at 0, so high-tec power armour no longer degrades while on the ground. However, bullets still affect the durability of worn items. It's a feature that works as intended, and I want to make it not work as intended. How would I go about doing that? Should I just manually edit each wearable item to have a ridiculous amount of HP?



skullywag

Theres an xml tag for <useHitPoints>True</useHitPoints>, havent tested it but changing this on all the defs in a mod might do it.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

ethanwdp

Quote from: skullywag on January 12, 2017, 09:35:53 AM
Theres an xml tag for <useHitPoints>True</useHitPoints>, havent tested it but changing this on all the defs in a mod might do it.
...Oh. I feel kinda dumb now.

Not only was that in the class I was editing, it also happens to be the class that all of the mods that I have installed use as a 'base' for their items.

Thank you so much, it seems to be working just fine.