Obenseuer/Modding

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 startedEdit

Mod loader installationEdit

  • 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 furnitureEdit

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

Furniture prefabEdit

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 prefabEdit

Rendered on user layer 11, named as ItemPreview.

Component structure:


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

LayersEdit

  • 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