Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
SmoothArmorScaling
Replaces the piecewise damage reduction function and provides several global gear configuration options.
By kruft
| Date uploaded | 2 years ago |
| Version | 0.2.0 |
| Download link | kruft-SmoothArmorScaling-0.2.0.zip |
| Downloads | 161 |
| Dependency string | kruft-SmoothArmorScaling-0.2.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.
Preferred version: 5.4.2202README
Smooth Armor Scaling
- Replaces the piecewise damage reduction function and provides several global gear configuration options.
Damage Reduction Function
The standard armor formula is a piecewise function in which 1 armor = 1 damage reduction for up to half of the incoming damage, after which it has diminishing returns. Refer to the wiki page for details.

This mod replaces that piecewise function with a singular function:
float basis = 1.0f + (ac * armorEffectiveness / dmg);
return dmg / (basis * basis);
This function follows the behavior of the original relatively closely but has smooth scaling across all values. Armor will be more effective vs larger hits and behave more consistently vs varying hit sizes.
Gear Configuration
As of v0.2.0 the armorEffectiveness configuration setting has been removed and the following settings added:
playerBaseArmor Add flat armor to players.
gearArmorMultiplier Multiply base armor of Head, Chest, and Leg pieces.
gearFlatArmor Add flat armor to Head, Chest, and Leg pieces.
gearArmorPerLevel Armor added per quality level for Head, Chest, and Leg pieces.
capeFlatArmor Add flat armor to Capes.
capeArmorPerLevel Armor added per quality level for Capes.
As opposed to the hidden effect of armorEffectiveness these settings are properly reflected on the tooltip values for the gear and player.
ServerSync enabled
Valheim Modding Server
Github
Discord Kruft#6332
CHANGELOG
Changelog
0.4.3
- Bump for Call to Arms!
0.4.2
- Remove
BepinProcessto resolve server side process name issue.
0.4.1
- Fix readme typo
0.4.0
- Add
damageTakenmultiplier - Add
smoothArmorScalingtoggle - Adjust granularity of
armorEffectivenessto 0.01 - Adjust range of gear multiplier
0.3.0
- Reinclude
armorEffectivenessalongside armor settings. - Update documentation
0.2.0
- Remove
armorEffectiveness - Add player and gear armor configuration options
- Update Documentation
0.1.2
- Reimplement
RoundedValueRange - Update Icon
- Add Github
0.1.1
- Clamp
armorEffectivenessto [0..5] in steps of 0.05 - Update Documentation
- Update Icon
0.1.0
- Initial Release