Jak stworzyć mod dla Wrestling Empire

There are two different types of mods; code mods and content mods. Code mods use the BepInEx modding framework to alter the games code directly whereas content mods add or change certain game assets (such as costumes, motywy, and characters). To better understand how this works, please see the diagram below.

Note that WECCL (Wrestling Empire Custom Content Loader) is technically a code mod itself.

Code Mods

Code mods are created through BepInEx and will require knowledge of C#. Due to the complexity of BepInEx mods and reading obfuscated code, this guide will not be covering the details on how to create them. The following links can help you on the way:

Please note that code mods are recommended to be put in Wrestling Empire\BepInEx\plugins\Manual instead of justpluginsto prevent the mod launcher from interfering.

Content Mods

Content mods consist of structured files to be loaded through WECCL. Creating them generally requires no coding knowledge. Before starting with making content mods, please make sure that WECCL is installed.
Zazwyczaj, content that should be added goes inAssetsand content that overrides existing assets goes inOverrides”.

When testing your mods, the “Assets” oraz “Overridesfolders can be found in: Wrestling Empire\BepInEx\plugins\Manual\Assets Wrestling Empire\BepInEx\plugins\Manual\Overrides (You can create the folders if they do not exist)

Any audio file placed inAssetswill be loaded as a new theme. For all other features, please refer to the documentation of WECCL: Github

Uploading Mods

The easiest way to upload mods to Steam Workshop is through the dedicated uploader that can be downloaded tutaj.

The uploader contains a template mod which you can check to understand the file structure. To prepare for uploading, you first need to create an “Przedmiot”. An “Przedmiot” essentially serves as areservationfor your mod. It simply creates the ID to be used for the mod and all its versions.

After creating the item, you can put everything in itscontent folder

When navigating to WorkshopContent, you should see something like this:

(“YourModbeing the name of the item)

Inside the content folder (“YourMod” tutaj), you need two things:

A plugins folder with everything youd usually put in “podręcznik” wewnątrz. A manifest.txt file with the following contents:

modName: <mod name>
author: <author>
wersja: <wersja> (SemVer recommended)
assemblyHash: <assembly hash> (only for code mods)

You can get the assembly hash by running Wrestling Empire\Wrestling Empire_Data\Managed\Assembly-CSharp.dll through this połączyć.

Note that the template mod has theassemblyHashkey despite being a content mod. When actually publishing content mods, you should remove it since content mods are
version-independent.

When done, put a preview image in WorkshopContent, fill in the rest of the fields, then click “Składać”.

Ważny: when publishing content mods, make sure to add WECCL as a dependency through Steam Workshop.

Wybierz “Add/Remove Required Itemsfrom the menu on the right, then choose the required mods from the menu that shows up.

This step also applies to mods with other dependencies.

Ten poradnik o Wrestling Empire został napisany przez IngoH. Możesz odwiedzić oryginalną publikację z tego połączyć. Jeśli masz jakiekolwiek wątpliwości dotyczące tego przewodnika, nie wahaj się z nami skontaktować tutaj.

O autorze