Back to mods
Sliding Windows project artwork

Vintage Story Mod DB · Vintage Story mod

Sliding Windows

Want openable glass windows? Need a sink for all your lead and solder? Look no further... Now you can craft slideable glass windows from glass slabs or leaded glass and wood planks. If you want matching swinging doors or trapdoors, check out the content-only

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Sliding Windows release should I use?

Updated 8 months ago
Latest stable file 1.3.1
Game version 1.21.2, 1.21.3, 1.21.4
Loader Built-in Vintage Story mod system

Sliding Windows 1.3.1 targets 1.21.2, 1.21.3, 1.21.4. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Sliding Windows required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does Sliding Windows 1.3.1 need?

1.3.1. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Sliding Windows without breaking your instance.

Built for Sliding Windows 1.3.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3.1. It targets 1.21.2, 1.21.3, 1.21.4; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3.1. It opens that exact file at the source.

About this project

What does Sliding Windows add?

Want openable glass windows? Need a sink for all your lead and solder?

Look no further...

Now you can craft slideable glass windows from glass slabs or leaded glass and wood planks. If you want matching swinging doors or trapdoors, check out the content-only mods Glass Doors and Glass Trapdoors.

What's new

v1.3.1 (latest)

- Added compatibility patches that fix transparency rendering while animated/open for the other glass window/door mods
- Moved rain sounds to the *Weather* group instead of *Ambient* and normalized volume against other weather sounds. 
- Fixed a bug with glass pane texture sizing that was only noticeable on leaded windows

v1.3

- Added 3x2 horizontally sliding doors (made from a pair of 3x1 fixed windows, also included in this mod)
- Reworked animation rendering so that opened doors don't cause items to disappear behind them
- Collapsed the handbook entries into one page for each size, and grouped display of the windows on other handbook pages

v1.2

- Added dynamic rain and hail sounds while indoors during precipitation
- Added support for a modconfig and (untested!) ConfigLib (optional) so you can turn off the rain sounds
 

v1.1

- Added 2x2 horizontally sliding doors (made from a pair of 2x1 fixed windows, also included in this mod)

v1.0 

- Added 2x1 vertically sliding windows (made from a pair of 1x1 fixed windows, also included in this mod)

Behaviors and features

  • Unlike vanilla doors, these variants are horizontally centered within the block footprint (like leaded glass panes, in the middle of the block).
  • For vertical windows, the bottom sash opens up when interacted with.
  • For horizontal windows (patio doors) the side with the handle is the one that moves, and they retain the same auto-mirror logic and coordinated opening as vanilla.
  • All sliding windows are airtight when closed, just like doors. Fixed windows are airtight always.
  • Windows have real collision, too. The hitbox for the vertical window leaves just less than one block height clear at the bottom when open.
  • Works with RealSmoke and supports all Wildcraft tree species.
  • These are based heavily on the vanilla doors so should inherit almost all of those behaviors and attributes (with the exception of rotation on opened).
 

Example mod config:

{
  "EnableRainSoundsOnWindows": true,
  "EnableRainSoundsOnAllGlass": false,
  "VolumeScale": 1.0
}
Expand for instructions on editing the modconfig

EnableRainSoundsOnWindows controls whether to hear the rain at all. false will remove rain sounds completely. default is true

EnableRainSoundsOnAllGlass controls whether to play these sounds on all Glass materials in vanilla. true will give you more rain sounds. default is false. This hasn't been tested a lot, so use at your own risk, and let me know how it goes. These would play on top of any other rain sounds (like what leaded panes already use)

VolumeScale lets you increase or decrease the volume of these sounds. They're already part of your "Weather" game sounds, but if you want them quieter or louder, you can adjust to any number between 0.0 (muted) and 2.0 (twice as loud as default, which is 1.0).

Compatibility & Known issues

- Vintage Story glass transparency rendering bug (expand for details) -- affects whether particles are visible through windows (RealSmoke and XV Shaders, etc) fixed (with a workaround) in 1.3

Weighted Order Independent Transparency makes transparent things block everything behind them
There is a known rendering bug in VS that sometimes occludes (hides) other transparent blocks and particle effects if they're behind a partially-transparent object, like these windows or regular leaded glass panes and blocks. The bug is more than 3 years old now so I don't know when it'll get fixed. If you know something about weighted order independent transparency rendering, give it a shot and let us know how it goes.

- Wildcrafttree woods are compatible, as long as you aren't mixing vanilla and wildcrafttree wood materials. (just pick one or the other library)

- As far as I know, none of these recipes conflict with other mods, but let me know if they do!

- You don't have to use ConfigLib to edit the modconfig, and I don't use it personally, but I did try to make it ConfigLib compatible. Please test it and let me know if it's wonky.

Notes, Etc. 

 
Some credits: 
- LunaTheFox for the genius suggestion to use lead solder for these recipes. What else are you gonna do with it?
- Mykara for the atmospheric rain on window sounds. Please test this and let me know if it's too loud, etc.
- actioninja for help with the recipe grouping in the handbook
 
If you don't want glass, check out Sliding Wooden Shutters and More by Joboy456
 
This is my first code mod (I've done a few JSON ones but this is the first in C#)! If you have ideas for improvements, feel free to open a PR or Issue in the repo. I'm very new to C#!

Project description from Vintage Story Mod DB.

Pick your setup

Sliding Windows releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Sliding Windows versions and loaders

5 of 5 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.