Mods / Jack's Armor Penalty Tweak - Vanilla

Tags: #Tweak
Author: JackRob
Side: Both
Created: Oct 6th 2024 at 11:09 PM
Last modified: Aug 31st at 12:11 AM
Downloads: 1195
Follow Unfollow 39

Latest release (for Vintage Story 1.21.0, potentially outdated):
JacksArmorTweak_v1.2.0.zip  1-click install


In short: This patch mod will redistribute the stat penalties to be less severe with helmets and more severe with body armor.

In vanilla, each armor piece (helmet, body, legs) will penalize you in equal amounts.  This makes helmets more burdensome in comparison to the body armor despite using much less material and being targeted less often in combat.

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.

This is based on the initial calculation of taking damage as explained here on the wiki.  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.

Compatibility

This change necessitates replacing the entire "statModifierbyType" entry with new targets, so any mod that points at the old targets won't work.

Works perfectly with mods that change or add other stats like Warm Armor as well as mods that change the crafting recipe.

Does not work with mods that tweak or nulifies the same penalties.

Mods that changes both penalties and other stats like Armor Overhaul will only half work, as my changes will overwrite theirs.

This only affects vanilla armors.  Mod-added armors will retain the same penalty ratio and needs a seperate patch to conform.

If another mod uses the same operation to replaces the same "statModifierbyType" entry, Im not sure what would happen.

Notes

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.  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.  The Character Window should show the resulting penalty more correctly however.

This is a mod I made for me to use.  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.  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.

Credit

I put this mod together thanks to viewing the codes of mods like Armor Warm and Armor Overhaul.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.2.0 jacksarmortweak 194 Aug 31st at 12:11 AM JacksArmorTweak_v1.2.0.zip 1-click install

Updated for VS 1.21.0

Includes changes for new Bear Hide Armors.

1.1.0 jacksarmortweak 558 Dec 15th 2024 at 5:46 PM JacksArmorTweak_v1.1.0.zip 1-click install
  • Updated to work with 1.20
1.0.0 jacksarmortweak 443 Oct 6th 2024 at 11:14 PM JacksArmorTweak_v1.0.0.zip 1-click install

Initial Release.


6 Comments (oldest first | newest first)

💬 LunaGore, Aug 30th at 12:34 AM

S'all good!

💬 JackRob , Aug 29th at 5:57 PM (modified Aug 29th at 5:57 PM)

LunaGore

Sorry for the late reply, but I'll be updating this shortly.

💬 LunaGore, Aug 10th at 3:40 PM

Will this be updated for the 1.21 release?

💬 JackRob , Dec 15th 2024 at 5:48 PM

Zach2039

Thanks for letting me know, I have fixed it and uploaded a new version supporting 1.20-rc4.

💬 Zach2039, Dec 15th 2024 at 5:31 PM

Sadly, this mod doesn't work at the moment without some editing; `game:itemtypes/wearable/armor.json` has been moved to `game:itemtypes/wearable/seraph/armor.json` in one of the 1.20 updates, which keeps the patches from being applied.

💬 Xiloxi, Nov 12th 2024 at 10:33 AM

Do you think it would be cooler to tie ranged weapon accuracy to the helmet and the charge time to the chestplate? Ranged weapon accuracy and charge time for sure shouldn't be effected by leggings imo

 

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом