Cómo crear un mod para House of the Dying Sun

Are you interested in enhancing your gaming experience by adding your own content or incorporating creations from other players? This guide is perfect for you!

Getting Started with Thunderstore

Thunderstore simplifies the process of getting started, managing mods, and configuring your game. You can choose to install either the Thunderstore Mod Manager o r2modman, both of which serve the same purpose.

Una vez instalada, open the mod manager and search for «House of the Dying Sun.» Select it and, si se le solicita, make it your default game (unless you don’t intend to mod other Unity games). Elegir la «Por defecto» profile, ir «install modsand install BepInExPack_HOTDS.

Felicidades! You are now ready to install and develop mods.

Developing a Mod

To create a mod, you’ll need to know the installation location of your game. You can find this by right-clicking on «House of the Dying Sun,» seleccionando «Gestionar,» y luego eligiendo «Explorar archivos locales.» The path should be visible in the address bar when you click on it.

You’ll also need .NET Framework 3.5. si no lo tienes, you can install it from [source].

Empecemos:

  1. Open the command prompt.
  2. Navigate to the location where you want your project to be located. I recommend using the Documents folder.

If this is your first time working with BepInEx plugins, type the following command:

dotnet new install BepInEx.Templates --nuget-source https://nuget.bepinex.dev/v3/index.json

This command installs C# templates for BepInEx.

Ahora, let’s create our project:

dotnet new bepinex5plugin -n TestPlugin -T net35 -U 5.4.6

With the project created, you can open the folder with your preferred code editor. If you’re using Visual Studio, right-click on any empty space in the folder and select «Open with Visual Studio.»

Ahora, let’s import the game’s assembly. In Visual Studio, right-click on Dependencies and choose «Add Assembly Reference.» Haga clic en el «Navegar…» button and navigate to the game’s installation location. Abre el «dyingsun_Data» folder and then the «Managed» carpeta. Double-click on «Assembly-CSharp.dll.» The assembly should now be added as a reference, allowing you to access all its classes.

Now you’re ready to start developing your own mods for House of the Dying Sun!

esta guía sobre House of the Dying Sun fue escrito por Jamesthe1. Puedes visitar la publicación original desde este Enlace. Si tiene alguna duda sobre esta guía, por favor no dude en comunicarse con nosotros aquí.

Sobre el Autor