Church Glass
Church windows of stained glass: melt twenty glass colours, set them as panes and cut them to shape with straight edge, compass and window templates. Five painted picture windows. The sun throws them onto the floor in colour.Church Glass – coloured windows, cut to shape
Melt coloured glass at the forge, set it as plain panes with the hammer, and cut the panes to shape where they stand: with a straight edge, a compass, or a template for a whole window. Every piece is a pane of its own that you can recolour, cut again or take down, and because every cut runs through the whole window, the pieces always fit. The glass works like glass. It colours the light behind it, glows when daylight is behind it, and the sun throws your window onto the floor as a coloured picture, at the angle the sun really has. Five finished picture windows are in the hammer too: Odin the Allfather, Yggdrasil, Thor and the Midgard Serpent, a longship at sunrise, and Fenrir.
| Where | Cost | |
|---|---|---|
| Coloured glass (20 colours, 20 pieces per melt) | Forge | 1 Crystal, 1 Tin, and the dye of the colour |
| Glass panes (one per colour) | Hammer → Church glass, stonecutter | glass of that colour, 1 piece per quarter square metre |
| Glass cutters (straight edge, compass, template) | Hammer → Church glass, stonecutter | nothing |
| Picture windows (5) | Hammer → Glass pictures, stonecutter | Crystal, Tin, Stone and dyes (see below) |
Panes and cutters appear in the hammer once you know crystal.
Melting the glass
Every melt takes one crystal for the glass, one tin for the leading, and a dye. It yields 20 pieces of glass.
| Colour | Dye | Colour | Dye |
|---|---|---|---|
| Clear | none | Peach | 2 Honey, 1 Bone fragments |
| Milk white | 2 Bone fragments | Brown | 2 Resin, 1 Coal |
| Smoke grey | 1 Coal, 1 Bone fragments | Emerald | 2 Guck |
| Black | 3 Coal | Leaf green | 3 Blueberries, 3 Dandelion |
| Ruby red | 5 Raspberries | Turquoise | 3 Blueberries, 1 Guck |
| Blood red | 2 Bloodbags | Sky blue | 3 Blueberries, 1 Bone fragments |
| Rose | 3 Raspberries, 1 Bone fragments | Cobalt blue | 5 Blueberries |
| Orange | 3 Raspberries, 3 Dandelion | Night blue | 4 Blueberries, 1 Coal |
| Amber | 4 Resin | Violet | 4 Thistle |
| Gold | 5 Dandelion | Purple | 3 Raspberries, 3 Blueberries |
Mixed colours take two dyes, as blue and yellow make green. Bone ash really does make milky glass.
Setting panes
- Take the hammer and open Church glass. After the three cutters come the twenty glasses, one pane each.
- Choose the size with H (Shift + H goes back): 1 × 1 m, 2 × 2 m, 1 × 2 m, 2 × 1 m, 50 × 50 cm, 50 cm × 1 m, 1 m × 50 cm, 25 × 25 cm. The pane costs 1 glass per quarter square metre (a 1 m pane 4, a 2 m pane 16), at least 1.
- J tilts the pane from upright to 26°, 45° and flat, for roof lights and glass floors. The mouse wheel turns it about the vertical as usual.
- Place it like a wall. Panes snap to each other and to vanilla walls and beams at their corners and the middle of their sides, and you can set a pane while aiming at another one. Shift held places without snapping, as for any piece.
Snapping with Q and E
As with vanilla pieces, Q and E step through the pane's snap points, and the game names the one you chose. The help above the build bar shows it too (snaps at: bottom left corner).
| Order | Snap point |
|---|---|
| 1–4 | bottom left, bottom right, top left, top right corner |
| 5–8 | middle of the bottom, top, left and right side (on sides of 1 m and more) |
The order is the same for every size, and the chosen point stays chosen when you change the size or the glass. That makes a glass front quick:
- Press E once: bottom left corner.
- Aim at the lower right corner of the wall, beam or pane you build on and click. The new pane's bottom left corner sits exactly on it.
- Aim at the lower right corner of the pane you just set and click again, and so on along the front.
- For the next row, aim just below the top left corner of the pane underneath. Switch glass or size whenever you like; the corner stays chosen.
With Q back to nearest point, a pane snaps with whichever of its points is closest, as vanilla pieces do.
Fill a window opening with panes of one colour, or several. Everything else is cutting.
Cutting
Select a glass cutter and look at a window. The cut shows as a glowing line on the glass before you make it, and the help above the build bar says how many pieces it would make. Click to cut. The cut lands where the glass is: each pane it runs through falls into pieces of its colour, each a pane of its own.
- Straight edge: a line through the point you aim at. The mouse wheel turns it through sixteen angles: level, 1:2, 45°, 2:1, upright and back, and those of the rose and the hexagon (22.5°, 30°, 60°, 67.5°).
- Compass: a circle around the point you aim at. The mouse wheel sets the radius in eighths of a metre, from 12.5 cm to 4 m (with Ctrl in half metres). For a centre beside the glass, aim beside it: the cutter keeps to the plane of the window you last looked at.
- Template: lays a shape over the whole window. The mouse wheel picks it:
| Template | What it cuts |
|---|---|
| Round arch | a half circle on the full width, its crown on the top edge |
| Pointed arch | the gothic arch: each side drawn from the opposite springing point |
| Round window | the largest circle that fits, in the middle |
| Rose | a round boss, eight segments around it and sixteen outside |
| Border | a band 12.5 cm wide all round |
| Cross | a level and an upright line through the middle |
- H switches between the whole window (every pane touching in one plane) and this pane only (the pane in view with all pieces cut from it). A diamond field in the lower pane only, then a border through the whole window: that is a gothic light.
- Points snap to an eighth-metre grid and to the corners of the pieces within 5 cm, so cuts meet each other and the edges. Hold Shift to place the point freely.
- A cut must run through: one that ends in the glass does nothing there. A circle wholly inside one pane would leave a hole, which glass cannot have, so its lead is carried out sideways to the edge.
- Parts thinner than 4 mm vanish under the lead.
Recolour a piece: select the glass you want in the hammer, look at the piece and press K. The new glass comes out of your bag, the old goes back in. Take a piece down with the hammer as usual. Copy (Shift + middle mouse) on a piece selects its glass, its size if it is still a whole pane, and its tilt.
The glass is shared out. A pane's glass is divided among its pieces by area. Taking all of them down gives back exactly what the pane cost; small offcuts give nothing on their own.
Building a gothic light
- Set two 2 × 2 m panes of cobalt glass, one above the other, into a 2 × 4 m opening.
- Template Pointed arch on the window. The top corners are now pieces of their own: recolour them dark, or take them down.
- Straight edge at 2:1 and 1:2, this pane only, on the lower pane every metre: a diamond field.
- Straight edge, whole window: upright at a quarter metre from each side, level a quarter metre above the sill. That is the border.
- Compass in the arch: 75 cm, then 37.5 cm around the same point. A medallion with a ring.
- Recolour the pieces: gold medallion, ruby ring, amber border, sky and turquoise diamonds.
Picture windows
Five finished windows in a dressed stone frame, built in one piece:
| Window | Size | Cost |
|---|---|---|
| Allfather window: Odin with his spear Gungnir, Huginn and Muninn | 2 × 4 m, pointed arch | 4 Crystal, 3 Tin, 10 Stone, 8 Blueberries, 4 Dandelion, 4 Raspberries |
| Yggdrasil rose: the world tree over its three wells | 3 m round | 4 Crystal, 3 Tin, 12 Stone, 6 Blueberries, 4 Dandelion, 3 Guck |
| Thunderer window: Thor fishing for the Midgard Serpent | 2 × 4 m, pointed arch | 4 Crystal, 3 Tin, 10 Stone, 8 Blueberries, 4 Raspberries, 3 Dandelion |
| Longship window: a dragon ship sailing into the sunrise | 3 × 3 m, round arch | 4 Crystal, 3 Tin, 12 Stone, 8 Blueberries, 5 Dandelion, 5 Raspberries |
| Fenrir window: the bound wolf howling at the moon | 2 × 4 m, pointed arch | 4 Crystal, 3 Tin, 10 Stone, 6 Blueberries, 6 Bone fragments, 3 Thistle |
The sizes include the frame, so the windows sit in a wall on the vanilla 2 m grid. Turn them with the mouse wheel and tilt them with J like panes.
Light
- Coloured sunlight. When the sun reaches a window, it throws the window onto floor and walls in its colours, lead lines included. The patch moves with the sun: short and steep at noon, long in the morning and evening. No sun, no colours: when clouds, a roof or a mountain shade the window, the light fades. At night the moon throws a faint, blue-tinged copy.
- Glow. Glass glows with the light behind it. Seen from a dark room the window lights up. Seen from outside by day it stays dark and reflects the sky, as real church windows do.
- No white light through coloured glass. Panes cast the sun's shadow, so only coloured light falls through them.
- Panes that touch in one plane form one window. The nearest windows (8 by default) get their light; each uses three lights. A change to a window rebuilds only that window's light.
- Light without walls. The coloured beam is not stopped by floors or walls behind the room: under a window high up it also reaches the storey below. Glass in its path counts as clear.
- The camera looks through glass. Standing beside a window, the camera no longer jumps in front of every pane between it and you. Walls and everything else stop it as before.
The real thing
Leaded glass is made the way the cutters work. The glazier lays out the window full size, scores each piece with a straight edge or a compass, and breaks the glass along the score. A score has to run from edge to edge: glass breaks along it, it cannot be cut out from the middle. The pieces are then set in H-shaped lead cames, and the lead line between two pieces is one came shared by both. A circle in the middle of a pane is always held by lead lines that run on to the edge.
Coloured glass is a filter. It lets through a share of each colour of light and swallows the rest. So does the glass here. What you see through a pane is the world behind it multiplied by the glass colour. The patch on the floor is the sunlight multiplied by the glass the ray passed through.
The game cannot colour a light beam by a picture. A light can be cut to a shape by a grey mask, though. So every window gets three lights from the sun's direction, one red, one green and one blue. Each is masked by how much of its colour the glass lets through. Added up on the floor they give the full picture:
light on the floor = sun × (red share, green share, blue share) of the glass the ray crossed
The lights stand 20 m out towards the sun, so the rays are almost parallel, as sunlight is.
Configuration
BepInEx/config/zap.churchglass.cfg
Building (server-synced, admin only): StationGlass (forge), StationPanes and StationPictures (stonecutter), MeltBase (Crystal:1,Tin:1), MeltYield (20), PaneHealth (20), PictureHealth (300), one Dye_<colour> per colour, one Recipe_<picture> per picture window.
Client: SunLight (on), LightStrength (1), GlowStrength (1), LitWindows (8), CameraThroughGlass (on), ShowHelp (on), KeySize (H), KeyTilt (J), KeyRecolor (K), KeyScope (H, with a cutter).
Multiplayer and compatibility
- Everyone needs the mod. Outline, colour and glass of every piece are stored in the world, and everyone sees the same. Cutting and recolouring respect wards and need the stonecutter near, like taking a piece down.
- Updating from 1.0: the shaped panes you set stay as they are. They are no longer in the hammer, but you can recolour, cut and take them down like new panes.
- Glass needs no support and gives none. It hangs in its lead, so it never collapses a building, and nothing rests on it. It does not weather in the rain.
- Placing hooks into the vanilla ghost rotation and snapping. Gamepads place panes, but size, tilt and the cutter settings have keyboard keys and the mouse wheel only.
- The coloured light is drawn on each client. With
SunLight = falsethe glass still looks and glows the same.
Deutsch
Kirchenglas – farbige Fenster, zugeschnitten. Du schmilzt farbiges Glas an der Schmiede, setzt es als einfache Scheiben mit dem Hammer und schneidest die Scheiben dort zu, wo sie stehen: mit Lineal, Zirkel oder einer Schablone fürs ganze Fenster. Jedes Stück ist danach eine eigene Scheibe, die du umfärben, weiter schneiden oder abbauen kannst. Weil jeder Schnitt durch das ganze Fenster läuft, passen die Stücke immer zusammen. Das Glas färbt das Licht dahinter, leuchtet, wenn Tageslicht dahinter liegt, und die Sonne wirft dein Fenster farbig auf den Boden. Dazu gibt es fünf fertige Glasbilder: Odin, Yggdrasil, Thor mit der Midgardschlange, ein Langschiff und Fenrir.
Glas schmelzen an der Schmiede: 1 Kristall, 1 Zinn und ein Farbstoff ergeben 20 Stück Glas. Beeren, Löwenzahn, Distel, Harz, Honig, Kohle, Glibber und Knochenfragmente färben, Mischfarben brauchen zwei Farbstoffe.
Scheiben setzen (Hammer → Kirchenglas, Steinmetzbank): Für jede der zwanzig Farben gibt es eine Scheibe. H wählt die Größe (1 × 1, 2 × 2, 1 × 2, 2 × 1 m, 50 × 50 cm, 50 cm × 1 m, 1 m × 50 cm, 25 × 25 cm), J neigt sie (aufrecht, 26°, 45°, flach). Eine Scheibe kostet 1 Glas je Viertelquadratmeter. Scheiben rasten an Ecken und Seitenmitten ein und lassen sich auch setzen, wenn du auf eine andere Scheibe zielst. Wie bei Vanilla schalten Q/E den Einrastpunkt durch (Ecke unten links, unten rechts, oben links, oben rechts, dann die Seitenmitten); der Name steht in der Hilfe. Die Reihenfolge ist für jede Größe gleich und bleibt beim Wechsel von Größe oder Glas erhalten. Für eine Glasfront: einmal E (Ecke unten links), dann jeweils auf die untere rechte Ecke dessen zielen, woran du anbaust, und klicken. Umschalt gedrückt setzt ohne Einrasten.
Zuschneiden: Wähle einen Glasschneider und schau auf ein Fenster. Der Schnitt leuchtet vorher als Linie auf dem Glas, die Hilfe zeigt, wie viele Stücke entstehen. Klick schneidet. Lineal: eine Gerade durch den Zielpunkt, das Mausrad dreht sie in 16 Winkeln. Zirkel: ein Kreis um den Zielpunkt, das Mausrad stellt den Halbmesser von 12,5 cm bis 4 m ein (mit Strg in halben Metern); für einen Mittelpunkt neben dem Glas zielst du daneben. Schablone: Rundbogen, Spitzbogen, Rundfenster, Rose, Rand oder Kreuz, eingepasst ins ganze Fenster. H schaltet zwischen ganzem Fenster und nur dieser Scheibe (samt ihren Stücken) um. Alles rastet im Achtelmeter-Raster und an den Ecken der Stücke ein, mit Umschalt frei. Ein Schnitt muss durchgehen; ein Kreis ganz in einer Scheibe bekommt Bleilinien zur Seite, denn Glas hat keine Löcher.
Umfärben: Glas im Hammer wählen, auf das Stück schauen, K drücken; das Glas wird im Inventar getauscht. Abbauen wie gewohnt. Das Glas einer Scheibe wird nach Fläche auf ihre Stücke verteilt: Alle Stücke zusammen geben genau zurück, was die Scheibe gekostet hat.
Glasbilder (Hammer → Glasbilder, Steinmetzbank) stehen fertig im Steinrahmen und passen ins 2-m-Raster der Wände.
Licht: Scheint die Sonne aufs Fenster, liegt sein Bild farbig auf Boden und Wänden und wandert mit der Sonne. Ohne Sonne gibt es keine Farben, nachts nur einen schwachen Abglanz des Mondes. Die Kamera schaut durch Glas, statt neben Fenstern hin und her zu springen (CameraThroughGlass). Scheiben aus 1.0 bleiben in deiner Welt erhalten und lassen sich ebenso umfärben und schneiden. Alle Spieler brauchen den Mod.
