Skip to content

Modding Valheim by custom patches using BepInEx and Harmony

Notifications You must be signed in to change notification settings

abhishekarya1/ValheimMods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ValheimMods 🪓

Features

  • Roof and fire checks disabled for crafting station
  • Fire, exposure, and wet checks disabled for bed
  • Carry all items through portal
  • Start with base HP as 100

Tools

Setup

  • Create Class Library (.NET Framework) in Visual Studio
  • Copy all files from BepInExPack_Valheim to game folder's root
  • Copy below DLL files to libs folder in the project
Valheim\BepInEx\core\0Harmony.dll
Valheim\BepInEx\core\BepInEx.dll
Valheim\valheim_Data\Managed\assembly_valheim.dll
Valheim\valheim_Data\Managed\UnityEngine.dll
Valheim\valheim_Data\Managed\UnityEngine.CoreModule.dll
  • Add references to above files in Visual Studio
  • Rename .cs file to mod class name and patches go in here

Installing the Mod

  • Copy DLL from \bin\Debug with the same name as the mod class
  • Paste in Valheim\BepInEx\plugins
  • Check if it's loaded during game startup in BepInEx console

References

About

Modding Valheim by custom patches using BepInEx and Harmony

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages