Mod articles
-
This article is to give code of an Empty Mod in Visual Studio 2022.
Step 1 : Create an empty DLL project with latest .NET Framework (4.8).
Step 2: You need to add "references" to DLLs of the game that you use. Only few DLL are needed to get references & allow compilation to work.
--Directories should be like " F:\Going.Medieval.v0.14.23\Going Medieval_Data\Managed\Assembly-CSharp.dll" , then you need :
- AssemblyCSharp.dll
- UnityEngine & UnityEngine.CoreModule
- And DLLs from mod launcher & harmony with "F:\Going.Medieval.v0.14.23\Mods\GoingMedievalModLauncher.dll" :
- GoingMedievalModLauncher.dll
- 0harmony.dll (from Nuget Pack...