# \[merged\] More windows and and buildable skylights

**URL:** https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819
**Category:** The Lab
**Tags:** mod
**Created:** [February 24, 2020, 3:35am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819 "2020-02-24T03:35:05Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 24, 2020, 3:35am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/1 "2020-02-24T03:35:05Z")

</div>

# MORE WINDOWS and buildable skylights!!

This has been merged into base game enjoy 🙂

# TO-DO

I need to fix something here but can’t remember needs C++

# Content

- SKYLIGHTS Buildable in this mod
- metal grate window
- single pane window
- double pane window
- Triple pane window
- Quadruple Pane window
- Plastic windows
- Reinforced windows for all window types
- Tempered glass and window (with a recipe to make tempered glass sheet)
- Rigid plastic sheet (for plastic windows)

![window](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/9/928e4a10612d23053aa4079e4f2df98942b76e49.png)

---

<div class="post-metadata">

### Author: ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)
#### Post date: [February 24, 2020, 7:03am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/2 "2020-02-24T07:03:21Z")

</div>

> [@TheGoatgod](#):
>
> if anyone knows how to fix not being able to pass through a window please tell me

I’m not quite getting the question here, so I have to ask a bit specific: Do you want to fix not being able to pass through it (as in: “I want to go through it but it’s not letting me; how do I do that?”) or do you want to fix it so you can’t go through it (as in “Stop being able to pass through it”)?  
If it’s the later one, remove the “SMALL\_PASSAGE” flag.

Also, there’s a typo in your source code: You call it “pain glass” instead of pane 😌 …

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 24, 2020, 7:40am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/3 "2020-02-24T07:40:57Z")

</div>

hi thanks for the comment, sorry for not being pecific. i want to go through it but its not letting me, it works fine when you build curtains for them but its not working only with the window. i have fixed my type in the mod i just noticed it haha, and would you know if its posible to make a view distance for looking out a window? as id like to reduce it with bath room windows

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 24, 2020, 7:41am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/4 "2020-02-24T07:41:55Z")

</div>

hi thanks for the comment, sorry for not being specific. I want to go through it but it is not letting me, it works fine when you build curtains for them but it is not working only with the window. I have fixed my type-o in the mod I just noticed it haha, and would you know if it’s possible to make a view distance for looking out a window? as id like to reduce it with bathroom windows.

---

<div class="post-metadata">

### Author: ![Erk](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/erk/32/3871_2.png) [@Erk](https://discourse.cataclysmdda.org/u/Erk)
#### Post date: [February 24, 2020, 5:07pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/5 "2020-02-24T17:07:59Z")

</div>

I would assume normal windows are double pane glass… Single pane are very rare except in historical houses.

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 25, 2020, 8:33am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/6 "2020-02-25T08:33:36Z")

</div>

yeah i know i thought about that but im gonna leave double pane in for the mean time, atleast till i add more types hmm i could just change double to single and change the values

---

<div class="post-metadata">

### Author: ![MarkJerue](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MarkJerue](https://discourse.cataclysmdda.org/u/MarkJerue)
#### Post date: [February 25, 2020, 3:22pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/7 "2020-02-25T15:22:57Z")

</div>

Can you add in a window made out of wood that has a handle on it?

Say… a windoor?

---

<div class="post-metadata">

### Author: ![Hirmuolio](https://avatars.discourse-cdn.com/v4/letter/h/dc4da7/32.png) [@Hirmuolio](https://discourse.cataclysmdda.org/u/Hirmuolio)
#### Post date: [February 25, 2020, 4:42pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/8 "2020-02-25T16:42:35Z")

</div>

There wouldn’t really be any gameplay difference between single/double/triple window types.

Unless insulation system is added there is no point in adding insulated glasses.

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 25, 2020, 8:21pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/9 "2020-02-25T20:21:30Z")

</div>

there stronger as the pane increases thats a gameplay difference and I want more variety that’s my point

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 25, 2020, 8:22pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/10 "2020-02-25T20:22:58Z")

</div>

i can yeah but it will only be in name and if it’s entirely made out of wood it wouldnt be a window but give me more info and so i can picture what your thinking and it would look like a normal window until i think about making tiles for the mod

i am however going to make a hatch i hope will work the way im thinking

---

<div class="post-metadata">

### Author: ![Robert\_Everetti](https://avatars.discourse-cdn.com/v4/letter/r/e8c25b/32.png) [@Robert\_Everetti](https://discourse.cataclysmdda.org/u/Robert_Everetti)
#### Post date: [February 25, 2020, 10:46pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/11 "2020-02-25T22:46:17Z")

</div>

True for professionally built houses, but if I’m making a survival shack I’d probably make it single pane IRL due to having fewer materials. I think single pane would help for immersion & resource reasons.

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 25, 2020, 11:10pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/12 "2020-02-25T23:10:38Z")

</div>

ill add in single pane in a few hours well when my run dies lol

---

<div class="post-metadata">

### Author: ![khearn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/khearn/32/7903_2.png) [@khearn](https://discourse.cataclysmdda.org/u/khearn)
#### Post date: [February 26, 2020, 2:22am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/13 "2020-02-26T02:22:02Z")

</div>

New homes may all be built with double pane windows, but I suspect many homes in New England aren’t new. Heck, I live in California and have seldom lived in homes that were built with double panes. And this end of the country is a whole lot newer than that end.

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 26, 2020, 3:46am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/14 "2020-02-26T03:46:13Z")

</div>

I live in Scotland, it’s not uncommon (but neither is it common) to see single pane, but the majority of buildings have double pane  
plus if you look at office buildings bare in mind it’s usually a thick sheet or industrial even retail at least here you do (the pics are from different places not in scotland)  
[pubs](https://media-cdn.tripadvisor.com/media/photo-s/08/ec/73/42/old-fashioned-windows.jpg)  
[shops](https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.cntraveller.com%2Fgallery%2Fwhere-to-shop-in-london&psig=AOvVaw3QESfTlvsqDl5i8rLyHmIB&ust=1582774551666000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCKC1hOyk7ucCFQAAAAAdAAAAABAD)  
[warehouse](https://www.google.com/url?sa=i&url=http%3A%2F%2Fshop.sama-sama-studio.com%2Fshop%2Fwarehouse-window%2F&psig=AOvVaw2d4eE5tVPgkv87wHdcQatr&ust=1582774674505000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCPjShaal7ucCFQAAAAAdAAAAABAD)  
[office building](https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.shutterstock.com%2Fvideo%2Fclip-12886865-pan-office-building-windows-sky-hd-1080p&psig=AOvVaw3SGGHN7nNTjUv091w3IKku&ust=1582775049973000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCIiostmm7ucCFQAAAAAdAAAAABAV)  
[even churchs](https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.alamy.com%2Flight-shining-through-coloured-window-panes-in-ornate-arched-stained-image156515892.html&psig=AOvVaw0Nnm__Cukd4hW44AmGURB5&ust=1582774884249000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCJDo25Gm7ucCFQAAAAAdAAAAABAD)  
my daughters nursery has single pane windows (and is kept warm)

---

<div class="post-metadata">

### Author: ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)
#### Post date: [February 26, 2020, 6:13am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/15 "2020-02-26T06:13:34Z")

</div>

Well, I downloaded your mod and played around with it for a bit. I was able to pass through all of the windows - and that’s also a problem, since I was able to pass through them **from the outside**  **while they were closed** , too.  
Also, (o)pening a double pane glass window with a curtain from the inside will turn it into a double pane glass window (without curtains).  
By the way, the movement cost of the windows are set to 50, which makes it faster to go through windows than to walk on the ground (100).

Is it intentional that you can’t open/close the curtains once you placed them (on all other windows except double pane)? And to be able to see through them anyway (again, all windows with curtain except double pane)? And the double pane window (with and without curtain) is the only type of window you can (try to) pry open…

Then about the bathroom windows (frosted glass): Sadly, I don’t think there’s a way to reduce or distort the vision through a terrain tile (other than blocking it completely) using the json file. You need to do this in the source code of the game or hack something together with lua (_edit: lua support was dropped some time ago and I missed that change_)…

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 26, 2020, 6:42am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/16 "2020-02-26T06:42:23Z")

</div>

thank you for the feed back i made some changes when i fixed then i think ive got things in the wrong places i will look into this later, it is a WIP atm and every feed back is valued thank you again, i will change the movement cost to around 125-150 or look and find out what it is for a normal window, also have you tested them for braking them, i fixed the fact you couldnt pass through windows without courtains in .3 i think, im going to look at it just now but not testing anything ill test everything before making new content as id like to get this right, then ill be adding single pane and hatches (hatches are kinda off point but i think would be a good addion)

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 26, 2020, 7:04am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/17 "2020-02-26T07:04:23Z")

</div>

okay i have fixed so you cant see through windows with closed curtains and i have change it so you cannot walk through windows when they are close (however i dont know why you can walk through them from the outside i will have a look at this one later i think it could be small\_passage) i will test it later, im not touching lua or game source code so thats out of the window lol

edit: i know what it is i need to change movement cost for the windows and “move\_cost”: 1, is set for all windows idk why its 50 and this is the reason you can walk through windows from the outside

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 26, 2020, 7:46am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/18 "2020-02-26T07:46:09Z")

</div>

i dont have time to test right now but everything should be fixed

> [@Valase](#):
>
> Is it intentional that you can’t open/close the curtains once you placed them (on all other windows except double pane)

edit: need to fix looks like with them ill do this later but the windows work as intended just it looks like the curtains are closed

---

<div class="post-metadata">

### Author: ![MarkJerue](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MarkJerue](https://discourse.cataclysmdda.org/u/MarkJerue)
#### Post date: [February 26, 2020, 3:53pm UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/19 "2020-02-26T15:53:46Z")

</div>

I had meant it as a terrible pun, but having Googled “windoor” it turns out it’s a legit company.

Now that I’m spending my workday looking at windows… a few of these look pretty neat!

> **[Dutch door](https://en.wikipedia.org/wiki/Dutch_door)**
>
> A Dutch door (American English), stable door (British English), or half door (Hiberno English), is a door divided horizontally in such a fashion that the bottom half may remain shut while the top half opens. They were known in early New England as a double-hung door.\[citation needed\] The initial purpose of this door design was to keep animals out of farmhouses or to keep children inside while allowing light and air to filter through the open top; essentially combining a door with a fairly large w...

  

> **[9063 - WinDoor](https://windoorinc.com/products/windows/9063/)**
>
> Our 9063 series fixed window features a thermally broken frame for ideal climate control, resulting in lower energy bills costs and more stable temperature ranges. Available with impact and non-impact glass as well as custom sizes and options.

  

> **[WinDoor\_Full\_Brochure\_12-2019-Right.pdf](https://windoorinc.com/wp-content/uploads/sites/4/2020/01/WinDoor_Full_Brochure_12-2019-Right.pdf)**
>
> 2.63 MB

  

> **[0094-0018-wd-estate-entrance-brochure-update-f-web.pdf](https://windoorinc.com/wp-content/uploads/sites/4/2019/06/0094-0018-wd-estate-entrance-brochure-update-f-web.pdf)**
>
> 6.47 MB

For a legit “window-door”… page 9 of the second brochure seems nice.

Otherwise, I’m surprised I didn’t think of shutters and of fixed windows! And blinds!

---

<div class="post-metadata">

### Author: ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)
#### Post date: [February 27, 2020, 4:18am UTC](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819/20 "2020-02-27T04:18:22Z")

</div>

nice I think this would be a nice addition and do-able, I will add this into a new mod though more build-ables when I’ve completed this, I have some c++ work to do for this mod to be complete so my “simple” mod has turned into a bigger project (i like a challenge) expect this to be in a pr after E assuming I’ve worked out the c++ side of things

when i get onto this expect a big mod to come out with new doors and such skimming through that i see i have work to do 🙂 might have to do a complete overhaul of the construction but not right now one thing at a time

[Next page](https://discourse.cataclysmdda.org/t/merged-more-windows-and-and-buildable-skylights/22819.md?page=2)
