Semi-Transparent Resources: Modding tool to enable material transparency
By default RimWorld forces materials (stuff / resources) to be fully opaque, even though the engine supports semi-transparent materials out of the box. This mod makes this feature available to modders.
Q: Loading order?
A: After any mod that uses this feature.
Q: Safe to add to and remove from a save game?
A: Yes. If the mod is disabled, things will simply become opaque again.
There aren’t even any warnings if the mod is missing.
Q: Mod compatiblity?
A: It should be compatible to any and all mods. It does not change anything on its own.
Q: What are the items in the preview image?
A: They are NOT part of this mod. I simply edited birch lumber and synthread to take a
picture. Actual items are added by mods using this mod’s feature
Q: How do I use it?
A: It’s a modding tool. It adds an XML attribute "Revolus.TransparentStuff.Opacity" for
<ThingDef>s. Its values may be between 0.5 and 1.0. It is an engine restriction
that higher transparency is not possible. The attribute must be set in the <ThingDef>s
directly, not its "ParentName"!
You can set opacity of the item, and its stuff individually.
"Revolus.TransparentStuff.Opacity.Graphic" is the item.
"Revolus.TransparentStuff.Opacity.Stuff" is the building material / things made of it.
Q: What is opacity?
A: opacity = 1 – transparency <=> transparency = 1 – opacity
Q: Source code?
A: Contained in the workshop upload.