CapeClothFix
Stops mod capes clipping through your legs since Valheim 1.0.
Disclaimer
This mod was written with AI. I directed it and tested on my own private server but it is provided as-is, with no promise of support. Back up your world and characters before adding any mod to a save you care about.
Why it exists
Valheim 1.0 moved the base game's capes to a new cloth system (Magica Cloth 2). It now only gives the player's body colliders to capes built on that system. Mod capes still built on Unity's older Cloth component get no colliders at all, so they swing straight through your legs when you run.
We made this for our own private modded server after Therzie's capes started clipping. It's shared here in case it helps anyone else.
What it does
When you equip a cape that uses the old Unity Cloth, it copies the player's body colliders onto it, using the same shapes the base game gives its own capes. The copies sit on a layer that collides with nothing else, so gameplay physics are untouched.
Install
Client-only and visual only. Each player who wants fixed capes installs it. There's no network traffic and nothing is needed on the server.
Compatibility
- Built for Valheim 1.0.15 and BepInEx 5.4.2350.
- Tested in game with Therzie Armory 1.4.2 (Black Troll Cape) and Therzie Warfare 1.9.4 (Rotten Leather Cape).
- Should also fix other mod gear that uses the old Unity Cloth, such as Southsil Armor's capes. That hasn't been tested in game.
- Capes on the new cloth system, including the base game's, are left alone.
Config
zyx.capeclothfix.cfg:
Enabled(default On).Radius Multiplier(default 1.1). Raise it if capes still clip; lower it if they float off the body.
Changes apply the next time you equip the cape. The log shows Added N body colliders to ... each time
it fixes one.