RimWorld

RimWorld

270 ratings
TMaterials - Glass
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
1.122 MB
6 Aug, 2022 @ 7:39am
5 Aug @ 11:05am
28 Change Notes ( view )

Subscribe to download
TMaterials - Glass

In 1 collection by test
test's mods
19 items
Description
Adds transparent glass that you can make everything out of and it will be transparent.
This also introduces a new way to decorate your base by putting floors under glass walls/furniture! Check the description for examples.


This mod adds a few transparent glass materials, that can be obtrained by smelting stone at the smeltery:


Try building any floor and putting a transparent wall on top!



(Industrial floor from Audrey's Styles: Industrial)

This also works well with some furnitures that occupy full tiles, like tables!
(Modded floors used: polished stone floor from VFE - Architect; wood mosaic from Refined Floors; Floor from SZ_Floors; Industrial floor from Audrey's Styles: Industrial. The carpets are from vanilla ideology.

There is also a new glass floor which uses water shader.



You can even make a whole house out of glass!


Glass works great with texture masks
Modded furniture used: Vanilla Furniture Expanded; Chinese Traditional Cultural Things Expanded



Mod settings:
If XML Extensions is loaded, mod settings can be accessed from Options > "+" next to "Mod options" > TMaterials Glass



How this was done:
There is no custom code or anything, rimworld actually already supports transparent materials out of the box.

A resource can be make transparent like this by simply adding something like <color>RGBA(168, 229, 255, 128)</color> into its stuffProps. The fourth value is the transparency, however it doesn't work well when it is under 128.


Compatibility:
  • Glass+Lights/Just Glass/Dubs Skylights: will use my glass instead. All addons should also be patched to use my glass, but make sure to load this mod after the addons (autosort should do it). Integration can be disabled in settings, for example if you want to use Scorpio's Resource Dictionary
  • Soil Relocation Framework: Allows smelting sand into glass
  • Medieval conversion mods: if conversion mods are loaded, medieval glass setting will be on by default, it makes various changes to glass to make it fit medieval theme. Otherwise it can be manually enabled in mod settings.
  • XML Extensions: lets you to disable research requirements and Glass+Lights integration. Mod settings can be found in Options > "+" next to "Mod options" > TMaterials Glass

Languages
English
French (provided by Max)



Links
my discord - https://discord.gg/BkgJ63eMux
non-steam - https://github.com/idkman2021/Rimworld-TMaterials
157 Comments
Dizzy Ioeuy 27 Aug @ 2:08pm 
@test If you set it up so it works graphically like a vent or door- I mean like not a connected graphic like how walls do it, I can do the graphic for you.
Dizzy Ioeuy 24 Aug @ 12:27pm 
@test It DOES work with NWN Fog of war. at least it does for me.
test  [author] 24 Aug @ 7:17am 
@Dizzy Ioeuy that could be a good structure mod, I'm too bad at graphics to do it tho
test  [author] 24 Aug @ 7:16am 
@Eclipse

- real fog of war - no (at least not on my end, this is an XML-only mod)

- Rebuild doors and corners - yes, merges two glasses if you have ReplaceLib https://gtm.steamproxy.vip/workshop/filedetails/?id=3417393194

- Open the windows - according to the description they are made out of metal, but if Glass+Lights is installed, they are made out of Glass+Lights glass. So if you load TMaterials after both, glass from Glass+Lights is replaced by Tmaterial glass, and Open the window will also use tmaterial glass. Without Glass+Lights they will be made out of metal
test  [author] 24 Aug @ 7:06am 
@LZIM if I am not mistaken the heavy pawn thing is from vanilla traits expanded, then glass should behave like any other metallic material unless they explicitly coded something about it
Eclipse 24 Aug @ 4:05am 
Is it compatible with real fog of war?
Rebuild doors and corners?
Open the windows?
LZIM 21 Aug @ 10:45am 
Silly question, when a heavy pawn sits on and breaks furniture they end up hurting themselves. Does the same occur for pawns near glass items that break?
Dizzy Ioeuy 18 Aug @ 6:01pm 
This mod is pretty great. I just wish you had a "window" structure- not looking to open or close it or anything, just so that it looked more like a window and not an entire wall. Basically same stats as the glass walls just not appearing to be the ENTIRE wall
kifo 5 Aug @ 11:29am 
Thank you!! Yes I placed Dubs Skylights Glass+Light Patch after the Addon R:DC patch and before Tmaterials and it worked. Thanks for the tip. I found out whats the problem with the 2nd error, a conflict with JPT Open the Windows mod.
test  [author] 5 Aug @ 11:03am 
@kifo thanks, fixed.

By the way I also tried adding Dubs Skylights Glass+Light Patch and it loaded with no errors as well. Maybe its a loading order issue, for example you had Dubs Skylights Addon R:DC Patch before both Dubs Skylights Addon and ReBuild: Doors and Corners