Obenseuer/Modding: Difference between revisions

From Stalburg Wiki
Jump to navigation Jump to search
(added Layer information)
mNo edit summary
 
Line 1: Line 1:
Custom Unity files for [[Obenseuer]] can be loaded using the [https://github.com/Ierdna100/OSLoader OSLoader], created by Ierdna100. Additional modding library, the [https://github.com/BoettcherDasOriginal/OSML_ObenseuerSimpleModdingLibrary/ OSML] created by BoettcherDasOriginal, is available for OSLoader.
Custom Unity files for [[Obenseuer]] can be loaded using the [https://github.com/BepInEx/BepInEx BepInEx]. Additional modding libraries, the [https://github.com/leonarudo/Lavender Lavender] created by leonarudo and the [https://github.com/ObenseuerModding/GreenMushLib GreenMushLib] created by RobynLlama, are also available.
 
''A more detailed modding documentation can be [https://obenseuermodding.github.io/Information/ found here]'' and the needed resources ''[https://github.com/ObenseuerModding found here]''
 
==Getting started==
===Mod loader installation===
* Download the latest stable release of BepInEx - ''[https://github.com/BepInEx/BepInEx/releases/tag/v5.4.23.2 Download BepInEx]''
* On Steam, open game properties of Obenseuer and navigate to '''Local Files''' and '''Browse them'''. Extract files from the downloaded .ZIP archive into the root folder of the Obenseuer you have just opened
* Download unstripped assemblies - ''[https://unity.bepinex.dev/corlibs/2019.4.40.zip Download Core Files]'' · ''[https://unity.bepinex.dev/libraries/2019.4.40.zip Download Libraries]''
* Inside the root folder of the Obenseuer, create a new folder called <code>unstripped</code> and extract files from both the downloaded .ZIP archives into that <code>unstripped</code> folder
* Inside the root folder of the Obenseuer, open the file called <code>doorstop_config.ini</code> to edit it and find the <code>find dll_search_path_override = </code> property, change that property to <code>find dll_search_path_override = unstripped</code>
* Run the Obenseuer game for the mod loader to generate all the needed configuration files
* To install new mods, from the root folder of the Obenseuer, navigate to <code>..\BepInEx\plugins</code> and place the downloaded files there


==Adding new furniture==
==Adding new furniture==

Latest revision as of 20:19, 9 December 2024

Custom Unity files for Obenseuer can be loaded using the BepInEx. Additional modding libraries, the Lavender created by leonarudo and the GreenMushLib created by RobynLlama, are also available.

A more detailed modding documentation can be found here and the needed resources found here

Getting started[edit | edit source]

Mod loader installation[edit | edit source]

  • Download the latest stable release of BepInEx - Download BepInEx
  • On Steam, open game properties of Obenseuer and navigate to Local Files and Browse them. Extract files from the downloaded .ZIP archive into the root folder of the Obenseuer you have just opened
  • Download unstripped assemblies - Download Core Files · Download Libraries
  • Inside the root folder of the Obenseuer, create a new folder called unstripped and extract files from both the downloaded .ZIP archives into that unstripped folder
  • Inside the root folder of the Obenseuer, open the file called doorstop_config.ini to edit it and find the find dll_search_path_override = property, change that property to find dll_search_path_override = unstripped
  • Run the Obenseuer game for the mod loader to generate all the needed configuration files
  • To install new mods, from the root folder of the Obenseuer, navigate to ..\BepInEx\plugins and place the downloaded files there

Adding new furniture[edit | edit source]

Furnitures are made out of two prefabs, the furniture prefab and the preview prefab.

Furniture prefab[edit | edit source]

Rendered on user layer 12, named as Placeable.

Component structure:


Prefab (FurniturePlaceable.cs)
  -> rotate (empty object)
     -> Stuff (components, like the MeshRenderer, of the furniture)

Preview prefab[edit | edit source]

Rendered on user layer 11, named as ItemPreview.

Component structure:


Preview Prefab
  -> rotate (ObjectPreview.cs)
     -> Stuff + Collision (Rigidbody(kinematic), Box Collider(trigger), InsideTrigger.cs)

Layers[edit | edit source]

  • Layer 08: IgnoreCamera
  • Layer 09: Ragdoll
  • Layer 10: Player
  • Layer 11: ItemPreview
  • Layer 12: Placeable
  • Layer 13: Wall
  • Layer 14: NotWalkableSurfaceAI
  • Layer 15: NPC
  • Layer 16: OnlyWorldCollision
  • Layer 17: Usable
  • Layer 18: PostProcessing
  • Layer 19: PostProcessingWasteland
  • Layer 20: 3DSkybox
  • Layer 21: UI
  • Layer 22: DontHideFirstPerson
  • Layer 23: UsableStatic
  • Layer 24: FirstPerson
  • Layer 25: PlayerClip