House of the Dying Sun の Mod を作成する方法

独自のコンテンツを追加したり、他のプレイヤーの作品を組み込んだりして、ゲーム体験を向上させることに興味がありますか?? このガイドはあなたに最適です!

Getting Started with Thunderstore

Thunderstore simplifies the process of getting started, MODの管理, そしてゲームを設定する. You can choose to install either the Thunderstore Mod Manager また r2modman, both of which serve the same purpose.

インストールしたら, open the mod manager and search forHouse of the Dying Sun.Select it and, プロンプトが表示された場合, make it your default game (unless you don’t intend to mod other Unity games). を選択 “デフォルト” profile, に行く “MODをインストールする,” and install BepInExPack_HOTDS.

おめでとう! 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 onHouse of the Dying Sun,” 選択する “管理,” and then choosing “ローカル ファイルを参照します。” The path should be visible in the address bar when you click on it.

You’ll also need .NET Framework 3.5. お持ちでない場合は, you can install it from [source].

始めましょう:

  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.

今, 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 selectOpen with Visual Studio.

今, let’s import the game’s assembly. In Visual Studio, right-click on Dependencies and chooseAdd Assembly Reference.” クリックしてください “ブラウズ…” button and navigate to the game’s installation location. 開く “dyingsun_Datafolder and then theManaged” フォルダ. Double-click onAssembly-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!

このガイドについて House of the Dying Sun によって書かれた Jamesthe1. 原文はこちらからご覧いただけます リンク. このガイドに関してご不明な点がございましたら, お気軽にお問い合わせください ここ.

著者について