Have you wanted to add something to the game, or perhaps mix it up with things other people have created? このガイドはあなたのためのものです!
Setting up with Thunderstore
Thunderstore makes getting started, managing mods, and configuring so much easier. You can either install:
– Thunderstore Mod Manager
– R2modman
Both of these do pretty much the same thing.
インストールしたら, open the mod manager and look for “House of the Dying Sun,” then open it. (If prompted to make this your default game and you do not intend on modding other Unity games, you are free to do so.) を選択します。 “デフォルト” プロフィール, に行く “MODをインストールする,” and install BepInExPack_HOTDS.
You are now ready to install and develop mods!
Develop a mod
In order to make a mod, you will need to know where your game is installed. You can do this by right-click on “House of the Dying Sun,” then hovering over Manage, and then selecting “ローカル ファイルを参照します。” The path should be in the address bar when you click on it.
You will also need .NET Framework 3.5. If you do not have it, インストールしてください から.
初め, open command prompt. 2番, browse to the place you want your project to be located in; I prefer my Documents folder.
If this is your first time having worked with BepInEx plugins, type the following:
dotnet new install BepInEx.Templates --nuget-source https://nuget.bepinex.dev/v3/index.json
This will install some C# templates for BepInEx.
Now we will create our project:
dotnet new bepinex5plugin -n TestPlugin -T net35 -U 5.4.6
With the newly-created project, we can open this folder with our editor of choice. If you’re using Visual Studio, you can right-click on any empty space in the folder and select “Open with Visual Studio.”
Now we can import the game’s assembly. Visual Studio の場合, right-click on Dependencies and select “Add Assembly Reference…” をクリックしてください “ブラウズ…” ボタン, and navigate to where the game is installed. 開ける “dyingsun_Data” と “Managed,” then double-click “アセンブリ-CSharp.dll”. It should now be added as a referenced assembly, and you can access all its classes.
これが今日私たちがこの目的で共有するすべてです House of the Dying Sun ガイド. このガイドは元々、次の者によって作成および執筆されました。 Jamesthe1. このガイドを更新できなかった場合, これに従って最新のアップデートを見つけることができます リンク.