You are viewing a potentially older version of this package. View all versions.
Saintmoon-Enforcer_Variants-1.1.1 icon

Enforcer Variants

Makes EnforcerGang's Enforcer and Nemesis Enforcer variants of the Hallowed Concepts Enforcer.

Date uploaded a month ago
Version 1.1.1
Download link Saintmoon-Enforcer_Variants-1.1.1.zip
Downloads 53
Dependency string Saintmoon-Enforcer_Variants-1.1.1

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2117 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2117
pseudopulse-Survariants-1.0.9 icon
pseudopulse-Survariants

A system for adding survivor variants.

Preferred version: 1.0.9
EnforcerGang-Enforcer-3.11.10 icon
EnforcerGang-Enforcer

Adds the Enforcer from Risk of Rain 1 as a fully fleshed out playable survivor.

Preferred version: 3.11.10

README

Enforcer Survariants Compatibility

When both Survariants and EnforcerGang-Enforcer are installed, this plugin hides the EnforcerGang Enforcer and Nemesis Enforcer from the regular survivor row and registers both as variants of the Hallowed Concepts Enforcer. This follows the same Survariants integration pattern described by R-MOR REFORGED REVIVED.

The package name on Thunderstore is Survariants (not “Survivariants”).

Build and import locally

After creating a Risk of Rain 2 profile in r2modman and installing BepInExPack, Survariants, and EnforcerGang's Enforcer into that profile, run the included packaging script from PowerShell:

.\BuildAndPackage.ps1 -BepInExCoreDir "C:\path\to\r2modman\profile\BepInEx\core"

It builds against the local Risk of Rain 2 assemblies and the selected profile's BepInEx files, then creates an importable zip in the parent outputs folder. In r2modman, use Import local mod and select that zip. The loader uses reflection for the Survariants API, so it does not need a compile-time reference to Survariants.dll.

Behavior and detection

The plugin waits until RoR2 has loaded, locates the official Enforcer2 survivor and the mod survivors (EnforcerBody and NemesisEnforcerBody), and registers them with Survariants' public catalog API. It fails closed with a log message if a survivor or the API is missing. Each survivor's normal selection entry is hidden only after its variant registration succeeds.

Install

Install this package with BepInEx, Survariants, and EnforcerGang's Enforcer mod in the same profile. All players in a multiplayer lobby should use the same mod set.