R2API Skills

v1.0.5·Updated 2026-10-09

API for skills

About this mod Author’s original text

R2API.Skills

Use Cases / Features

Adds extra fields (can be accessed with extension methods) to GenericSkill that controls its appearance in character selection screen:

  • Hide a GenericSkill in skills tab when first skill is selected (for example a passive selection where you can select an empty skill that does nothing)
  • Hide a GenericSkill in loadout tab.
  • Set a GenericSkill priority to reorder the rows in skills and loadout tabs.
  • Set a title token override to change default one (like Misc, Primary etc) in loadout tab.

Adds extra fields (can be accessed with extension methods) to SkillDef:

  • GetBonusStockMultiplier and SetBonusStockMultiplier (bonus stock multiplier for this skill)
  • GetCooldownRefreshSound and SetCooldownRefreshSound (custom cooldown refresh sound for this skill)

Changelog

'1.0.4'

  • Add GetCooldownRefreshSound and SetCooldownRefreshSound to SkillDef

'1.0.3'

  • Remake bonusStockMultiplier logic

'1.0.2'

  • Add GetBonusStockMultiplier and SetBonusStockMultiplier to SkillDef

'1.0.1'

  • Fix an incompatibility with another mod

'1.0.0'

  • Initial Release

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

RiskofThunder-HookGenPatcherbbepis-BepInExPackRiskofThunder-R2API_Core

File & checksum

Filename
R2API_Skills-1.0.5.zip
File size
23.9 KiB