Obenseuer/Modding: Difference between revisions

Nextej (talk | contribs)
Nextej (talk | contribs)
mNo edit summary
Line 31: Line 31:
| Stubo's Show XP Gain || StuboUK || ✓ || Mod || Shows the skill experience gain notification every time player receives some || [https://github.com/StuboUK/os-StubosShowXPGain/releases On GitHub]
| Stubo's Show XP Gain || StuboUK || ✓ || Mod || Shows the skill experience gain notification every time player receives some || [https://github.com/StuboUK/os-StubosShowXPGain/releases On GitHub]
|-
|-
| SnippitySnappity || shiggityshaggs || ✓ || Mod || Adds furniture snapping functionality to all furniture || [https://github.com/shiggityshaggs/ObenseuerSnippitySnappity/releases On GitHub]
| SnippitySnappity || shiggityshaggs || ✓ || Mod || Adds furniture snapping functionality to all furniture and removes building restrictions || [https://github.com/shiggityshaggs/ObenseuerSnippitySnappity/releases On GitHub]
|-
| Fix My Choo || norbby42 || ✓ || Fix || When a minitrain is deleted during Tenement Mine Depo renovation, it will be respawned in its original location || [https://github.com/norbby42/FixMyChoo/releases On GitHub]
|}
|}


== Adding new furniture ==
== For modders ==
=== Adding new furniture ===
Furnitures are made out of two prefabs, the furniture prefab and the preview prefab.
Furnitures are made out of two prefabs, the furniture prefab and the preview prefab.


=== Furniture prefab ===
==== Furniture prefab ====
Rendered on user layer <code>12</code>, named as <code>Placeable</code>.
Rendered on user layer <code>12</code>, named as <code>Placeable</code>.


Line 48: Line 51:
</pre>
</pre>


=== Preview prefab ===
==== Preview prefab ====
Rendered on user layer <code>11</code>, named as <code>ItemPreview</code>.
Rendered on user layer <code>11</code>, named as <code>ItemPreview</code>.


Line 59: Line 62:
</pre>
</pre>


== Layers ==
=== Rendering layers ===
* Layer 08: IgnoreCamera
* Layer 08: IgnoreCamera
* Layer 09: Ragdoll
* Layer 09: Ragdoll