/ror2arena

Arena is a Risk of Rain 2 mod for fighting your friends at the end of each stage.

Primary LanguageC#MIT LicenseMIT

Risk of Rain 2 Arena Mod

Arena is a Risk of Rain 2 mod for fighting your friends at the end of each stage.

See the mod's readme for more details.

Download it from the Thunderstore.

Development

Make sure you are familiar with the modding wiki.

To be able to reload the mod while developing without restarting the game (which could take a significant amount of time), follow these steps:

  1. Follow the setup instructions (the steps before "Getting the boilerplate") here.
  2. For easier debugging also install these mods:
  3. Install ScriptEngine.
  4. Change the second argument of the copy command in the post-build event in the Arena.csproj file to use the correct path to your BepInEx\scripts folder. More info.
  5. Start the game modded.
  6. Build the solution in Debug configuration.
  7. Load the mod by pressing F6 on the main menu.

Whenever you make changes to the code, repeat step 6 and 7. Make sure you reload the mod only on the main menu, not during a run, otherwise (because of the way the mod is structured) you could end up with some unexpected behavior.

Debugging

The mod logs information about what it is doing into the BepInEx console.

Use the F2 key during gameplay to dump the internal state of the mod there.