You are viewing a potentially older version of this package. View all versions.
tristanmcpherson-R2API-2.3.7 icon

R2API

A modding API for Risk of Rain 2

Date uploaded 4 years ago
Version 2.3.7
Download link tristanmcpherson-R2API-2.3.7.zip
Downloads 39028
Dependency string tristanmcpherson-R2API-2.3.7

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
RiskofThunder-R2API_ContentManagement-1.0.1 icon
RiskofThunder-R2API_ContentManagement

API for adding content to the game

Preferred version: 1.0.1
RiskofThunder-R2API_Networking-1.0.2 icon
RiskofThunder-R2API_Networking

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

Preferred version: 1.0.2
RiskofThunder-R2API_RecalculateStats-1.2.0 icon
RiskofThunder-R2API_RecalculateStats

API for manipulating Character Stats

Preferred version: 1.2.0
bbepis-BepInExPack-5.4.2109 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2109
RiskofThunder-R2API_DamageType-1.0.4 icon
RiskofThunder-R2API_DamageType

API for registering damage types

Preferred version: 1.0.4
RiskofThunder-R2API_Difficulty-1.1.1 icon
RiskofThunder-R2API_Difficulty

API for adding custom in-game difficulties

Preferred version: 1.1.1
RiskofThunder-R2API_Orb-1.0.1 icon
RiskofThunder-R2API_Orb

API for creation and management of custom Orb types.

Preferred version: 1.0.1
RiskofThunder-R2API_LobbyConfig-1.0.1 icon
RiskofThunder-R2API_LobbyConfig

API for modifying the in-game lobby rules

Preferred version: 1.0.1
RiskofThunder-R2API_Language-1.0.1 icon
RiskofThunder-R2API_Language

API for modifying the language localisation of the game

Preferred version: 1.0.1
RiskofThunder-R2API_Dot-1.0.1 icon
RiskofThunder-R2API_Dot

API for adding custom damage over time effects

Preferred version: 1.0.1
RiskofThunder-R2API_Deployable-1.0.1 icon
RiskofThunder-R2API_Deployable

API for adding custom deployables

Preferred version: 1.0.1
RiskofThunder-R2API_CommandHelper-1.0.1 icon
RiskofThunder-R2API_CommandHelper

API for registering console commands

Preferred version: 1.0.1
RiskofThunder-R2API_ArtifactCode-1.0.1 icon
RiskofThunder-R2API_ArtifactCode

API for making Artifact Codes

Preferred version: 1.0.1
RiskofThunder-R2API_Director-1.1.1 icon
RiskofThunder-R2API_Director

API for easily modifiying the Director (RoR2 monster / interactable spawner) behaviour

Preferred version: 1.1.1
RiskofThunder-R2API_Unlockable-1.0.2 icon
RiskofThunder-R2API_Unlockable

API for adding custom achievements and unlockables

Preferred version: 1.0.2
RiskofThunder-R2API_TempVisualEffect-1.0.2 icon
RiskofThunder-R2API_TempVisualEffect

API for adding custom temporary visual effects for characters.

Preferred version: 1.0.2
RiskofThunder-R2API_Sound-1.0.2 icon
RiskofThunder-R2API_Sound

API for adding custom sounds or musics

Preferred version: 1.0.2
RiskofThunder-R2API_Prefab-1.0.3 icon
RiskofThunder-R2API_Prefab

API for Prefab creation, networking and duplication

Preferred version: 1.0.3
RiskofThunder-R2API_Loadout-1.0.2 icon
RiskofThunder-R2API_Loadout

API for registering skills, skins and entity states

Preferred version: 1.0.2
RiskofThunder-R2API_Items-1.0.3 icon
RiskofThunder-R2API_Items

API for adding custom items

Preferred version: 1.0.3
RiskofThunder-R2API_Elites-1.0.2 icon
RiskofThunder-R2API_Elites

API for adding custom elite types

Preferred version: 1.0.2
RiskofThunder-R2API_SceneAsset-1.1.1 icon
RiskofThunder-R2API_SceneAsset

API for retrieving assets that live exclusively in game scenes

Preferred version: 1.1.1
RiskofThunder-R2API_Core-5.0.10 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.0.10

README

R2API – a modding API for Risk of Rain 2

Build Status

Note to Mod Developers

Breaking Change for next RoR2 Content Update: R2API Submodules (ResourceAPI, SurvivorAPI, etc) will be only enabled by using the R2APISubmoduleDependency attribute somewhere in your mod. As of the next update (for new BepInEx) all submodules will be enabled by default.

Example usage:

[R2APISubmoduleDependency("SurvivorAPI", "DifficultyAPI")]

About

R2API is designed to provide an abstraction layer in order to expose and simplify APIs to allow developers to modify Risk of Rain 2 more easily, while still keeping mod interoperability in mind.

At it's heart, R2API is meant to be base work, which is why it doesnt include any additional in game functionality, be it for developing or for users in general. This is by choice. A game with just R2API should feel and behave the same as an unmodded game, the isModded flag excluded.

Installation

The latest stable version is NO LONGER included in the BepInEx Pack on Thunderstore.

Bleeding Edge

Latest bleeding edge builds of master are hosted on Azure, and may be downloaded using the Artifacts drop down menu. The contents of R2API should be extracted into the BepInEx folder.