PEAK
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
last year
Downloads
11.3K
Size
85KB

HazardChaos (PEAK) – v0.1.13

Spawns Dynamite, Tornado, and Tumbleweed dynamically near players, optionally hands Tornado control to the game’s AI, and shows per-type spawn timers. Runs only in Level_* scenes (e.g., Level_1) — not in Airport/Title/Pretitle.

Features

Per-type schedulers: Independent intervals, TTLs, and caps for each hazard.

Smart placement: Forward cone from the chosen player anchor, ground raycast, collision-safe; optional line-of-sight.

Multiplayer-aware:

Host (MasterClient) performs the spawns → all clients see them.

Anchor selection modes to choose whose vicinity to target.

Optional capacity scaling per additional player.

Tornado AI hand-off: If the vanilla TornadoSpawner + RPCA_InitTornado path exists, the game’s AI takes over; otherwise the mod’s mover is used.

Burst spawns: Configure how many Dynamite/Tumbleweed to spawn at once per tick.

Grace period: Optional protection window after level load before any timers start.

  • (NEW) Challenge Mode: Aggressive Tumbleweed

UI:

Overlay with three independent timers (one per hazard), live counts, status (F9 toggle).

Optional version watermark on menus/in-game with position/size/margin/alpha (F10 toggle).

How it behaves in multiplayer

Only the MasterClient (host) schedules & spawns hazards.

Spawn positions are chosen near an “anchor” (configurable): host camera, random player, round-robin across players, or nearest to host camera. All players are affected by spawned hazards; spectators are handled via camera anchor.


Controls (Hotkeys)

Hotkey Action Note

F6 | Spawn Tornado near anchor | host only

F7 | Spawn Dynamite near anchor | host only

F8 | Spawn Tumbleweed near anchor | host only

F9 | Toggle overlay UI | local

F10 | Toggle version watermark | local

F11 | Toggle Settings UI | host only


Default Settings (from code)

Intervals (independent per type)

Intervals.IntervalDynamiteSec = 15.0

Intervals.IntervalTornadoSec = 90.0

Intervals.IntervalTumbleweedSec = 12.0


Lifetimes (TTL)

TTL.DynamiteTTL = 10.0

TTL.TornadoTTL = 20.0

TTL.TumbleweedTTL = 20.0

Caps (concurrency limits)

Spawning.MaxSimultaneousGlobal = 6

Spawning.MaxDynamite = 2

Spawning.MaxTornado = 1

Spawning.MaxTumbleweed= 3

Burst spawns (how many per tick)

Spawning.BurstCountDynamite = 2

Spawning.BurstCountTumbleweed= 3

Grace period (level start protection)

Spawning.GracePeriodSeconds = 60.0

Tornado movement (mod fallback)

Tornado.MoveSpeed = 10.0

Tornado.RetargetSeconds = 3.0


Configuration Challenge TumbleWeed (Default)

Challenge.Tumbleweed.Scale = 4

Challenge.Tumbleweed.Speedmult = 3

Challenge.Tumbleweed.RetargetSeconds = 1.5


Multiplayer anchor selection & scaling

Multiplayer.AnchorMode = RandomPlayer

// Options: HostOnly | RandomPlayer | RoundRobin | NearestToHostCamera

Multiplayer.PerPlayerExtraSlots = 1

// Adds capacity per extra player to all caps above


Mode selection

Mode.GameMode = RandomPlayer

// Options: Off | NormalOnly | ChallengeOnly | Both


Overlay UI

UI.SpawnTimerUI = false

UI.ToggleKey = F9

Adjust any of the keys above to fit your session or server rules.

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