You are viewing a potentially older version of this package. View all versions.
Coga-CogaCurtains-0.2.0 icon

CogaCurtains

Drapes that move: satin, velvet, sheer, lace and embroidered voile curtains in ten fabrics with real cloth physics, tie-backs on E, and resizing. Valheim-style cloth, no asset files.

By Coga
Date uploaded 2 weeks ago
Version 0.2.0
Download link Coga-CogaCurtains-0.2.0.zip
Downloads 31
Dependency string Coga-CogaCurtains-0.2.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333
ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2

README

Coga Curtains

Curtains that behave like cloth. Open the hammer and go to the Curtains tab.

Fabrics

All twelve 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
  • Red Satin, Royal Blue Satin and Forest Green Satin, with gold tie-backs
  • Burgundy Velvet: deep and matte, with gold tie-backs
  • Black Lace: lace flowers on a fine net with a scalloped hem, light shows through the pattern; black tie-backs
  • Black Floral Lace: dense floral lace (roses, leaves and curling scrolls on a honeycomb net) with a scalloped hem; black tie-backs
  • Spider Web Lace: orb webs with little spiders, some hanging on a thread, and a hem of web fans; black tie-backs

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.dll into the server's BepInEx\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.

CHANGELOG

Changelog

0.2.1

  • Safer with mixed versions: the server now tells each player which curtains it has, and only those appear in the build menu. A newer client on an older server can no longer place fabrics the server would delete. Servers on 0.1.x and 0.2.0 still work: players see the original five fabrics there.

0.2.0

  • Seven new fabrics, each in the three sizes (21 new curtains, 36 in total): Red Satin, Royal Blue Satin, Forest Green Satin, Burgundy Velvet, Black Lace, Black Floral Lace and Spider Web Lace.
  • The three laces are real open lace with a scalloped hem, so light comes through the holes:
    • Black Lace: lace flowers and picot rings on a fine net.
    • Black Floral Lace: dense roses, leaves and curling scrolls on a honeycomb net.
    • Spider Web Lace: orb webs with little spiders, some hanging on a thread.

0.1.2

  • The DLL no longer contains any build-machine file paths (debug info is left out of release builds).
  • Clearer explanation of the AllowOnRemoteServers setting in the README.

0.1.1

  • First public release.
  • 15 curtains: 5 fabrics in 3 sizes, with cloth physics, tie-backs on E, and resizing with ] / [ (hold Shift to change the height).
  • Curtains stay loaded at a distance, the same as a base's walls.
  • If the cloth simulation ever breaks, the curtain rebuilds it instead of disappearing.