R.E.P.O.
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
2.8K
Size
58KB

MonsterRoulette

Every round starts with a spin of fate. When a new level begins, a roulette wheel appears on every player's screen. It picks a monster, a second wheel picks how many (1-10), and then they spawn. 8x Huntsman? Good luck.

How it works

  1. Monster wheel: a level starts, and after a short delay an animated wheel spins and lands on a random monster.
  2. Count wheel: a second wheel picks how many of that monster will come (1-10).
  3. Challenge: a siren, red screen flash and camera shake play, then the monsters spawn on the map, away from the players. By default they come looking for you.

Everything is synced in multiplayer. The host rolls both wheels and sends the result to everyone, timed with Photon's server clock. Every player sees the same wheel spin and stop at the same moment.

Features

  • Animated wheels with tick sounds, reveal chimes and a siren (no extra assets)
  • Weighted monster list, works with vanilla and modded enemies (through REPOLib)
  • Spawns away from players and outside the truck
  • Host-authoritative: only the host spawns monsters
  • /roulette chat command: the host can start a roulette by hand (good for testing)
  • Fully configurable through a JSON file

Config

File: BepInEx/config/ThomasPlays.MonsterRoulette.json (created on first start). The mod reads it again at every round start, so you can edit it while the game is running.

Setting Default Description
enabled true Turn the event on/off
triggerChancePercent 100 Chance that a round gets a roulette
minLevelsCompleted 0 Only start after this many completed levels
startDelaySeconds 8 Delay after the level start
minCount / maxCount 1 / 10 Range of the count wheel (limited to 1-10)
maxWheelSegments 12 Maximum number of monsters shown on the wheel
extraTurns 4 Full turns before a wheel stops
introSeconds, monsterSpinSeconds, countSpinSeconds, revealHoldSeconds, outroSeconds 1.5 / 5 / 4 / 1.5 / 3 Animation timing
minSpawnDistanceFromPlayers 18 Monsters spawn at least this far away (meters)
delayBetweenSpawns 0.35 Pause between two spawns
alertMonstersToPlayers true New monsters investigate a random player's position
useAllEnemiesWhenListEmpty true Use every enemy if no name in monsters matches
monsters list name, weight, enabled for each monster
uiScale 1 Size of the wheel UI (personal)
soundVolume 0.6 Volume of the roulette sounds (personal)
availableEnemies auto Written by the mod: all enemy names found in your game. Copy names from here into monsters.

In multiplayer the host's config decides everything except uiScale and soundVolume.

Example monster entry

{ "name": "Huntsman", "weight": 2.0, "enabled": true }

Notes

  • Every player needs the mod so the network event matches.
  • Group enemies such as Gnome or Bang spawn as a whole group per count.
  • Monsters spawn on top of the game's normal enemies. 10x of a strong monster is meant to be brutal!

Dependencies


Deutsch (kurz)

Zu Beginn jedes Levels dreht sich bei allen Spielern ein Glücksrad. Es wählt ein Monster aus, ein zweites Rad bestimmt die Anzahl (1-10), danach spawnen die Monster. Alles läuft synchron im Multiplayer, der Host entscheidet. Einstellbar in BepInEx/config/ThomasPlays.MonsterRoulette.json. Mit /roulette kann der Host das Rad von Hand starten.

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