doshyw-CompetitiveSurvival icon

CompetitiveSurvival

For last-one-standing co-op runs: personal gold, XP and levels, earned by your own kills (split by damage share) and actions.

By doshyw
Last updated a day ago
Total downloads 9
Total rating 0 
Categories Mods Client-side Server-side AI Generated
Dependency string doshyw-CompetitiveSurvival-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2120 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2120
RiskofThunder-HookGenPatcher-1.2.9 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.9
RiskofThunder-R2API_Networking-1.0.4 icon
RiskofThunder-R2API_Networking

Networking API around the Unity UNet Low Level API (LLAPI)

Preferred version: 1.0.4
RiskofThunder-R2API_Core-5.3.0 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.3.0

README

Competitive Survival

A mod created to allow playing a networked competitive gamemode in Risk of Rain 2. Players share a co-op lobby, and whoever survives the longest wins. That can be done in vanilla Risk of Rain 2, but without any changes it rewards players for focusing on collecting the most chests over killing enemies. To make that more fair/fun, this mod separates each player's gold, experience and level out to only the amount they individually earned.

AI disclosure

This mod was produced in concert with AI code development tools (i.e., drafted with an LLM, and checked/corrected by the human author). This README document is human-authored.

How Gold/Experience is earned

Source Who gets the gold and XP
Killing an enemy Players who damaged it (in proportion with the damage dealt).
Barrels and other interactables Player who used it.
Gold pickups Player who touched it.
XP from items Player holding the item.
End-of-stage gold-to-XP conversion Each player, based on their personal leftover gold.

For kills:

  • Damage from your drones, turrets and other minions counts as yours.
  • Overkill damage and environmental damage (e.g., fall damage) don't count.
  • XP and Gold rewards are scaled such that the total in circulation matches the vanilla amount (e.g., for a 2-player game where each player always damages every enemy 50/50, they would receive identical gold/XP amounts to in vanilla).
  • XP and Gold whose source cannot be individually linked to a player (e.g., a kill by Aurielionite from the Halcyon Seed) is split evenly amongst all players.

Personal levels

Each player has their own XP total and level:

  • Stats, the HUD's level number and XP bar, the level-up effect and sound, Crowdfunder's cost and Prayer Beads all follow your own level.
  • Drones, turrets and other minions use their owner's level.

Out of scope

Everything else (items, abilities, etc) is unchanged. Items that heal or buff "allies" still affect other players, and other players benefit from debuffs you place on enemies.