You are viewing a potentially older version of this package. View all versions.
Kirtle-ModularCarpets-0.1.0 icon

ModularCarpets

Modular carpets for the hammer: tiles, corners, junctions and stair runners that snap onto stone stairs. 6 patterns in 10 colours from crafting materials. Build any width or shape; schematic-mod safe.

Date uploaded 2 days ago
Version 0.1.0
Download link Kirtle-ModularCarpets-0.1.0.zip
Downloads 26
Dependency string Kirtle-ModularCarpets-0.1.0

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 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.2360
ValheimModding-Jotunn-2.30.3 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.3

README

Modular Carpets

Carpets for the hammer that fit together like building pieces: straight runs, ends, corners, T-junctions and crossings, plus edge, corner and fill pieces to build carpets of any width or shape, and stair runners that follow the steps of stone, grausten and black marble stairs and snap straight onto them.

Six patterns, each in ten colours taken from crafting materials. Each pattern has its own hammer tab (Modular Carpets - Jute, - Twill, ...).

Patterns and colours

Every pattern comes in every colour, shown here as room rugs built from the modular pieces.

Jute

Jute in all colours

Twill

Twill in all colours

Tartan

Tartan in all colours

Crosses

Crosses in all colours

Kilim

Kilim in all colours

Jarl

Jarl in all colours

Pieces

Every pattern, in every colour, comes as this set:

Piece Size Border
Carpet 2×2 both sides
Carpet end 2×2 both sides and one end
Carpet corner 2×2 turns around the outside
Carpet T-junction 2×2 one side, inner corners toward the branches
Carpet crossing 2×2 inner corners only
Carpet edge 2×2 one side
Carpet outer corner 2×2 two adjacent sides
Carpet edge, inner corner left / right 2×2 one side and an inner corner
Carpet fill 2×2 none
Wide-to-narrow reducer 4×2 a 4 m carpet narrowing to a regular one
Stair runner one stair both sides
Stair runner, left / right edge one stair one side
Stair runner, fill one stair none

Two edges side by side make a 4 m carpet; a field of fills bordered by edges and outer corners makes a room rug; the inner-corner pieces join a wide carpet to a branch. The reducer snaps every metre along its long sides, so carpets can attach centred or flush with either side.

Stair runners only fit the solid stairs (stone, grausten, black marble), not the open wood stairs.

Colours and recipes

Each colour comes from a crafting material, in progression order: leather, deer hide, troll hide, bear hide, wolf pelt, linen, red jute, carapace, blue jute and asksvin hide. Every piece costs leather scraps, and colours other than leather add a little of their material (1 for 2×2 pieces, 2 for the reducer and stair runners). The hammer only shows pieces whose materials you have found, so colours appear as you progress. Deconstructing refunds everything.

Carpets behave like the vanilla straw rug: comfort, health, burning, sounds and effects.

Compatibility

  • Schematic and blueprint mods: every pattern and colour is its own piece, so copied builds keep their carpets exactly as built.
  • Multiplayer: everyone on the server needs the mod.

Configuration

Graphics / Full resolution textures (default off): paints carpets at 256 px per metre instead of 128. Uses about 130 MB of video memory instead of 33 MB. Takes effect after a restart.

Size and performance

The whole mod is one DLL of about 0.5 MB. Carpets are painted from compact pattern masks when the game starts, using every CPU core: well under a second on a modern CPU, about 2.5 s in all to register the 900 pieces. Hammer icons are rendered once and cached.

Source

Source code, build instructions and how to add patterns: https://github.com/xKirtle/ModularCarpets (MIT licence).

CHANGELOG

Changelog

0.3.0

A new modular piece for L-shaped rugs.

New piece

  • Carpet fill, inner corner: a fill with just one inner-corner square and no ribbons, for the inside of a bend where a wide carpet turns a corner. Rotate it to put the corner where you need it.

It comes in every pattern and colour, right after carpet fill in each hammer tab. Existing pieces and placed carpets are unchanged.

Mod page

  • The Pieces section lists the new piece, and a new example shows a wide carpet turning a corner.

0.2.0

Five new patterns, and a mod page that shows every piece.

New patterns

  • Selbu: eight-pointed stars, after Norwegian knitting, with a sawtooth border.
  • Peel: overlapping circles that leave pointed lenses, with a scalloped border.
  • Hail: a quiet scatter of small diamonds and dots.
  • Cabin: nested squares around a bright centre, with a checker border.
  • Medallion: one large ringed wheel per metre, with a beaded border.

Each has its own hammer tab after Jarl, in all ten colours. That makes eleven patterns and 1,650 pieces. Existing patterns and placed carpets are unchanged.

Mod page

  • New Pieces section: every floor piece by its hammer name, how the modular pieces fit together into wide carpets, and the stair runners on a staircase.
  • Patterns are collapsible, and their pictures are sharper.

Performance

  • About 1 MB in total. Registering all pieces now takes about 5 s when the game starts, up from about 2.5 s.
  • With Full resolution textures, carpets use about 240 MB of video memory (60 MB by default).

0.1.0

First public release.

Pieces

  • Modular carpets: carpet, end, corner, T-junction, crossing, edge, outer corner, inner corners (left and right), fill, and a 4 m wide-to-narrow reducer. Combine them into runners, wide carpets or whole room rugs of any size.
  • Stair runners: plain, left edge, right edge and fill. They follow the steps of stone, grausten and black marble stairs and snap straight onto them.

Patterns and colours

  • Six patterns: Jute, Twill, Tartan, Crosses, Kilim and Jarl, each in its own hammer tab ("Modular Carpets - Jute", ...).
  • Ten colours from crafting materials: leather, deer hide, troll hide, bear hide, wolf pelt, linen, red jute, carapace, blue jute and asksvin hide. Colours unlock as you discover their material.
  • Every piece costs leather scraps, plus a little of its colour's material. Deconstructing refunds everything.

Compatibility

  • Every pattern and colour is its own piece, so schematic and blueprint mods copy carpets exactly as built.
  • Carpets behave like the vanilla straw rug (comfort, health, burning).
  • Everyone on a server needs the mod.

Performance

  • About 0.5 MB in total. Carpets are painted when the game starts, using every CPU core.
  • Optional Full resolution textures setting for sharper carpets, at four times the video memory.