SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Jack's Armor Penalty Tweak - Vanilla

JBy JackRob

Redistributes the stat penalty between armor pieces.

Jack's Armor Penalty Tweak - Vanilla

Description

<p>In short: This patch mod will redistribute the stat penalties to be less severe with helmets and more severe with body armor.</p> <p>In vanilla, each armor piece (helmet, body, legs) will penalize you in equal amounts.&nbsp; This makes helmets more burdensome in comparison to the body armor despite using much less material and being targeted less often in combat.</p> <p>With this mod: Wearing the entire set of armor will still incur the same penalty as vanilla, but will punish you less for wearing just a helmet or leggings since these are targeted less than the body in combat.</p> <p>This is based on the initial calculation of taking damage as <a href="https://wiki.vintagestory.at/index.php/Armor" target="_blank" rel="noopener">explained here on the wiki</a>.&nbsp; Helmets will incur 20% of the overall penalty of the set, while Leggings will harbor 30% and Body Armor will grant the remaining 50% to match the chance that armor is targeted in an attack.</p> <h1>Compatibility</h1> <p>This change necessitates replacing the entire "statModifierbyType" entry with new targets, so any mod that points at the old targets won't work.</p> <p><strong><span style="text-decoration: underline;">Works perfectly</span></strong> with mods that change or add other stats like <a href="https://mods.vintagestory.at/show/mod/12456">Warm Armor</a> as well as mods that change the crafting recipe.</p> <p><strong><span style="text-decoration: underline;">Does not work</span></strong> with mods that tweak or nulifies the same penalties.</p> <p>Mods that changes both penalties and other stats like <a href="https://mods.vintagestory.at/show/mod/4141">Armor Overhaul</a> will only half work, as my changes will overwrite theirs.</p> <p>This only affects vanilla armors.&nbsp; Mod-added armors will retain the same penalty ratio and needs a seperate patch to conform.</p> <p>If another mod uses the same operation to replaces the same "statModifierbyType" entry, Im not sure what would happen.</p> <h1>Notes</h1> <p>The tooltip in-game will round decimal points down, so while the penalty is a near perfect 50%/30%/20% split in caculations, the tooltip for armor may not reflect this perfectly.&nbsp; For instance, the Lamellar Armor movement penalty is -1.8%/-2.7%/-4.5% for helmets, legs, and body respectively, the tooltip will show 1%/2%/4% instead.&nbsp; The Character Window should show the resulting penalty more correctly however.</p> <p>This is a mod I made for me to use.&nbsp; If you personally would like something tweaked such as removing archery penalty, I would suggest you open up this mod and change it to your heart's content.&nbsp; You can even publish it on this site if you feel others will benefit with or without credit to me, as the code is too simple for me to claim.</p> <h2>Credit</h2> <p>I put this mod together thanks to viewing the codes of mods like Armor Warm and Armor Overhaul.</p>

Download

No download link is available for this entry right now.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.