
You are viewing a potentially older version of this package. View Latest Version
CogaCurtains
Drapes that move: satin, sheer and embroidered voile curtains with real cloth physics, tie-backs on E, and resizing. Valheim-style cloth, no asset files.Coga Curtains
Curtains that behave like cloth. Open the hammer and go to the Curtains tab.
Fabrics
All five come in normal (2 m), Tall (3 m) and Grand (4 m) sizes:
- Black Satin, with gold tie-backs
- White Satin, with black tie-backs
- White Sheer, with ribbon bows
- Black Satin over White Sheer: the satin ties back to reveal the sheer behind it
- Embroidered Voile: white voile with leafy embroidery along the hem, tied with linen ribbon bows
The fabrics are made from Valheim's own cloth materials, so they match the game.
Using them
- E ties the curtain back into a cinched bundle, or lets it down. Everyone on the server sees the same state.
- Resize: aim at a curtain and press ] for wider or [ for narrower. Hold Shift to change the height instead. Sizes go from 0.5 m to 40 m, are saved, and are seen by everyone.
- Physics: the cloth sways in Valheim's wind (calmer indoors), and the fabric parts and settles back when you walk through it.
- Snapping: the rod ends snap to wall edges.
All curtains are free to build.
Install
Every player and the server need it. If the server does not have it, the Curtains tab is hidden: nothing can be placed and lost, and you can still join that server.
- Players: install it with Gale, r2modman or the Thunderstore Mod Manager. Jötunn is installed with it.
- Dedicated server: install it the same way, or copy
plugins\CogaCurtains.dllinto the server'sBepInEx\plugins\folder and restart the server.
Settings
The config file is BepInEx\config\com.c0ga.curtains.cfg:
| Setting | Default | What it does |
|---|---|---|
Look.ClothPhysics |
true | Turn this off for static curtains, the cheapest option. |
Resize.WiderKey / NarrowerKey |
] / [ |
The resize keys. |
Safety.AllowOnRemoteServers |
false | Not needed to play on a server that has this mod: the Curtains tab turns on by itself there. Turning this on forces the tab on even when the server does not have the mod, and that server would delete any curtains you place. |
About this mod
- No asset files. Curtain meshes and fabric textures are generated when the game starts. They are built from Valheim's own cloth materials and textures, read from the game at runtime. No game files or other mods' assets are included in this package.
- Networking. The only thing sent over the network is a small ping to the server, which checks whether it has this mod too. Curtain size and tie state are saved with the world like any other piece. Nothing else is sent anywhere.
- Made with AI assistance. The code was written with Claude, an AI assistant, and tested in game by the author and their friends.
- Source and bugs. The source code is not public yet. Report problems on the Thunderstore page.