Loincloth of Shame
Die and your Starting Rags turn a random shame colour — now with surprise polka dots, smileys, boars, wolves, skulls and more. Valheim 1.0.Loincloth of Shame
Every time you die in Valheim, your Starting Rags snap to a random shame colour: hot pink, lime green, royal purple, screaming orange and more. The colour stays through respawn, so your friends can see exactly how many times you've embarrassed yourself.
Keep dying and it gets worse.
Features
- A random shame colour on every death, never the same colour twice in a row
- NEW: 20 shame colours, double the old palette
- NEW: Surprise patterns. Most deaths give a plain colour, but now and then (15% by default) you get a pattern instead: polka dots, stripes, checkers, flowers, hearts, smileys, or one of 13 pixel-art motifs: lightning bolts, boars, wolves, stags, ravens, axes, hammers, shields, mead mugs, fish, mushrooms, skulls and goats.
- NEW: Your corpse wears your shame too, during the death animation
- NEW: Custom palette, plus pattern size, fabric detail, brightness and skirt-puff settings
- Works for male (loincloth) and female (chest rags and loincloth) characters
- Visible to every other player who also has the mod installed (see Multiplayer below)
- Hidden automatically when you equip real armour, for other players too
- Saved with the character itself, so your shame follows you between worlds and servers
- Shows on the main menu character preview
Configuration
Settings are in BepInEx/config/YouDied.LoinclothOfShame.cfg, or you can change them in-game with Configuration Manager.
| Setting | Default | What it does |
|---|---|---|
| CustomPalette | (empty) | Replaces the 20 built-in colours with your own, e.g. Hot Pink=FF66B3, Toxic=7FFF00, 00BFFF |
| Patterns | All | Which patterns can roll (see the list in the config), or All. Set it to Solid for plain 1.3-style colours. List a pattern twice to make it more likely. |
| PatternChance | 15 | % chance a death rolls a pattern instead of a plain colour (100 = always) |
| PatternSize | 5 | 1 = tiny, 10 = big |
| ClothDetail | 25 | How much of the rag fabric texture shows through. 0 = flat, bright colour. |
| Brightness | 80 | Overall brightness. Lower it if colours wash out in direct sunlight. |
| SkirtPuff | 0 | Puffs the 3D rag skirt outward (mm) if your body pokes through it |
| ResetToVanilla | false | Flip it on to wash your loincloth back to vanilla rags. It switches itself back off. |
Shame Palette
Hot Pink · Royal Purple · Bright Yellow · Lime Green · Sky Blue · Screaming Orange · Red · Silver · Deep Pink · Mint · Teal · Turquoise · Lavender · Peach · Coral · Gold · Chartreuse · Magenta · Baby Blue · Electric Blue
Installation
- Install BepInExPack Valheim 5.4.2351 or newer
- Drop
LoinclothOfShame.dllintoBepInEx/plugins/LoinclothOfShame/ - Launch Valheim and die with dignity... or don't
Compatibility
- Valheim 1.0+ (Unity 6)
- BepInExPack Valheim 5.4.2351+
- Client-side only. The server doesn't need it.
- No known mod conflicts
Multiplayer
Everyone who wants to see custom loincloths needs the mod installed.
Each player's game draws everything from its own files. The colours and patterns are created by the mod on each player's machine, so a player without the mod has nothing to draw them with. That player sees your normal vanilla rags. This can't be worked around: clothing colour is never sent over the network, only which item you're wearing.
- Server: doesn't need the mod. Your shame look travels as a few small values on your character, which a vanilla server passes along untouched. Works on dedicated and hosted servers.
- Players with the mod: see each other's shame colours and patterns, including on corpses.
- Players without the mod: see vanilla rags. Nothing breaks for them, and they get no errors or desyncs.
- Easiest setup for a group: share an r2modman/Thunderstore profile code so everyone gets the same mods in one click.
Support
Join us on Discord: https://discord.gg/z3vzqtFsa3
Changelog
1.4.0
- Valheim 1.0 support (Unity 6 engine)
- Fixed loading of the rag mask textures under the new Unity
- Colours now come out at full strength. Before, the fabric's shading darkened them.
- Each patch now loads on its own, so if a future game update renames a method, only that one feature turns off instead of the whole mod
- NEW: 20 shame patterns: polka dots, stripes, checkers, flowers, hearts, smileys and 13 pixel-art motifs
- NEW: Your corpse keeps the look you died in. The new look appears when you respawn.
- NEW: Reset to vanilla toggle
- Soft, clean edges, with no colour spilling onto the skin around the rags
- NEW: Custom palette, pattern size, fabric-detail, brightness and skirt-puff settings
- NEW: Shame is saved in the character file (backup copy kept in
BepInEx/config/LoinclothOfShame/) - Fixed: Other players' shame now hides when they wear real armour
- Fixed: Shame didn't reload on PCs set to European number formats (decimal commas)
- Fixed: Material and texture leaks. The old version created new material copies every frame and never freed other players' textures.
- Fixed: Windows and Mac clients now agree on the network sync key
- Shame saves from older versions are imported automatically
1.3.0
- Shame colour now shows on the main menu character preview screen after relog
- Fixed colour resetting every frame after being applied (cache invalidation bug)
- Fixed armour detection incorrectly reading tinted texture as real armour
1.2.0
- Other players with the mod can now see your shame colour (ZDO network sync)
- Shame colour now correctly hides when real armour is equipped over the rags
- Fixed female character incorrectly showing as unarmoured when armour was equipped
- Shame colour now persists through logout and relog
1.1.0
- Female character support. Chest rags now tint correctly in addition to the loincloth bottom.
- Precise pixel masking using UV mesh data, so only actual rag pixels are coloured
1.0.0
- Initial release
- Random shame colour on death for male and female characters
Credits
Made with love (and shame) by YouDied!
