ROUNDS
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
2 days ago
Downloads
178
Size
23KB
Dependency string
Skler-ShrinkingZone-1.0.1

ShrinkingZone — ROUNDS Mod

A closing "safe zone" for ROUNDS: a circular perimeter that shrinks over time, damaging any player caught outside it (battle-royale ring style).

Files

  • ShrinkingZonePlugin.cs — BepInEx plugin entry point, hooks round start/end.
  • ZoneController.cs — spawns the ring visual, shrinks it, and damages players outside it.
  • ShrinkingZoneMod.csproj — build project; references the 4 game DLLs needed to compile.
  • manifest.json — Thunderstore package manifest.

Requirements

  • BepInEx (5.4.x) installed for ROUNDS
  • UnboundLib — round lifecycle hooks
  • (Optional) ModdingUtils — extra player/health helpers if you want cleaner damage calls

Tuning

All the knobs are public static fields at the top of ShrinkingZonePlugin:

StartRadius = 50f;
FinalRadius = 8f;
ShrinkStartDelay = 5f;
ShrinkDuration = 25f;
DamagePercentPerSecond = 0.10f; // 10% of the player's MAX health per second
DamageTickInterval = 0.5f;

Damage scales off each player's max health rather than a flat number, so the zone hurts proportionally regardless of health-boosting cards a player has picked up. At the defaults, a player fully outside the zone loses 5% of their max health every second (i.e. dies in ~20s of standing outside it).

Building

  1. Open ShrinkingZoneMod.csproj and edit the <GamePath> property near the top to point at your actual ROUNDS install folder, e.g.:

    <GamePath>C:\Program Files (x86)\Steam\steamapps\common\ROUNDS</GamePath>
    

    Everything else (Managed folder, plugins folder) is derived from this.

  2. Double-check the reference filenames actually match what's on disk — open your ROUNDS_Data\Managed and BepInEx\plugins folders and confirm:

    • Photon3Unity3D.dll, PhotonUnityNetworking.dll, PhotonRealtime.dll, and UnityEngine.CoreModule.dll exist with those exact names (Unity/Photon DLL naming varies a bit between versions — if a name doesn't match, update the <HintPath> in the .csproj accordingly).
    • The UnboundLib subfolder name under BepInEx\plugins\ matches what's in the .csproj (Willis81808-UnboundLib is a guess based on common naming — yours may differ, especially if you installed via a mod manager that names folders differently).
  3. Build:

    dotnet build
    
  4. Copy the resulting ShrinkingZoneMod.dll (in bin/Debug/netstandard2.1/) into ROUNDS/BepInEx/plugins/.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.