Changes

Jump to navigation Jump to search
794 bytes added ,  13:17, 2 May 2024
Line 176: Line 176:     
=== Mesh replacements ===
 
=== Mesh replacements ===
You can add mesh replacement, which work kind of like the texture atlas, but allow the player replace entire meshes + materials for a piece of furniture.
+
You can add mesh replacement, which work kind of like the texture atlas, but allow the player replace entire meshes + materials for a piece of furniture. This feature is only available as of Beta 1.7.35.
 +
 
 +
Replacements are grouped together, a replacement groups can be mapped to on or more furniture. As an example, all stairs in the game use 2 replacement groups: "Stairs" and "Railings". Each group contains a list of possible replacements for that group. The replacement has a thumbnail for the UI and a material that all meshes that get replaced will use, when that replacement is active. Each replacement also has a list of mesh replacements, which tell the game which objects should use which mesh when that replacement is active.
 +
 
 +
So the overall structure is:
 +
 
 +
Replacement group -> replacements -> meshes
 +
 
 +
To add mesh replacements, you need to add a "replacements.tyd" to the root of your mod folder. Here's an example of a replacement file:
    
=== Components ===
 
=== Components ===

Navigation menu