This package has been marked as deprecated, and it's suggested another
alternative is used.
You are viewing a potentially older version of this package.
View all versions.
Date uploaded | 5 years ago |
Version | 0.3.0 |
Download link | Mattomanx77-SeikoML-0.3.0.zip |
Downloads | 13556 |
Dependency string | Mattomanx77-SeikoML-0.3.0 |
README
SeikoModLoader
A modloader and rudimentary API for Risk Of Rain 2
Installing
- Download the latest version.
- Extract the contents of the archive in your
\Risk of Rain 2\Risk of Rain 2_Data\Managed
folder - Run the InstallMod.bat file in order to install the modloader
Adding mods
- Download any SeikoML compatible mods from the Thunderstore.
- Do not extract the files
- Place the zip file as is inside your mods folder located in
\Risk of Rain 2\Risk of Rain 2_Data\Managed\mods
Uninstalling the modloader
- Delete the patched Assebly-CSharp.dll
- Rename Assembly-CSharp-Vanilla.dll to Assembly-CSharp.dll
Creating mods for SeikoML
Creating mods for SeikoML is as simple process. First thing first, you'll have to create a C# project in your IDE of choice (We recommend Visual Studio).
After you have your project, make sure you add SeikoML.dll and Assembly-Csharp.dll as your dependencies so you can reference them in your code.
Then you can start creating mods by creating a class that inherits from the ISeikoMod
interface:
using System;
using RoR2;
using SeikoML;
namespace MyMod
{
public class MyCoolMod1 : ISeikoML
{
public static void OnStart() //This is inherited from the Interface and is Ran the moment the modloader loads
{
Debug.Log("Hello World!"); //Prints a message in the Game's log file!
}
}
}
This is just the basework, you can head over to the Example mods to see more of how the API works and how you can use it in your own mods!