Pingprovements

v1.8.0·Updated 2022-03-04

Several improvements to Pings, like multiple pings and adjustable timers or colors per type

About this mod Author’s original text

Pingprovements

This mod has been ~~hacked together~~ carefully assembled to work again on the latest version of the game (when the first DLC came out). It might break very fast. I don't know.

Original README

A mod that improves pings in Risk of Rain 2 in several different ways.

Features

  • Allows multiple pings by the same player
  • Colors pings by the tier of the target
  • Configurable lifetimes for all ping types
  • Configurable colors for all ping types
  • Show labels for ping targets (instead of just chat messages)
  • Show the distance to pings
  • Show a notification on item pings containing the item description (like pickup notifications) if the item has already been discovered
  • Hide offscreen ping labels

Installation

Simply copy Pingprovements.dll to your BepInEx plugin folder.

Configuration

After the game has been started with the mod installed once, you will have a config file available with following options:

  • Durations
  • DefaultPingLifetime: Lifetime of the default walk ping in seconds (Default: 6)
  • EnemyPingLifetime: Lifetime of the enemy ping in seconds (Default: 8)
  • InteractablePingLifetime: Lifetime of the interactable ping in seconds (Default: 30)
  • Colors
  • DefaultPingColor: Color of the default ping text (Default: 0.525,0.961,0.486,1.000)
  • EnemyPingColor: Color of the enemy ping text (Default: 0.820,0.122,0.122,1.000)
  • InteractablePingColor: Color of the interactable ping text (Default: 0.886,0.871,0.173,1.000)
  • TieredInteractablePingColor: Color pings in their target tier color (Default: true)
  • SpriteColors
  • DefaultPingSpriteColor: Color of the default ping sprite (Default: 0.527,0.962,0.486,1.000)
  • EnemyPingSpriteColor: Color of the enemy ping sprite (Default: 0.821,0.120,0.120,1.000)
  • InteractablePingSpriteColor: Color of the interactable ping sprite (Default: 0.887,0.870,0.172,1.000)
  • ShowPingText
  • Chests: Shows item names and cost on chest pings (Default: true)
  • ShopTerminals: Shows item names and cost on shop terminal pings (Default: true)
  • Drones: Shows drone type on broken drone pings (Default: true)
  • Shrines: Shows shrine type on shrine pings (Default: true)
  • Pickups: Shows item names on pickup pings (Default: true)
  • Enemies: Show names on enemy pings (Default: true)
  • Distance: Show the distance to made pings (Default: true)
  • HideOffscreenPingText: Hides the ping label if the ping goes offscreen (Default: true)
  • Notifications
  • ShowItemNotification: Show pickup-style notification with description on ping of an already discovered item (Default: true)

This mod overrides the internal fixedTimer for pings after it has been built, so no special conditions like teleporter or shrine pings will change the time for InteractablePingLifetime.

Changelog

1.8.0

  • Feature: Now functions! And uses the in game functions for creating notifications!

1.7.0

  • Feature: Ping Indicators on interactables are now colored in their game-defined tier color. This is enabled by default, but can be adjusted with the new TieredInteractablePingColor option in the Colors section! If the option is enabled and a tier cannot be found properly, it'll fall back to using InteractablePingColor.

Notes on Ping Colors: These ping colors are not chosen by me, these are the colors the game defines. This might be a bit jarring considering the Shrine of Combat/Shrine of the Mountain feature a very bright pink.

1.6.3

  • Bugfix: Add another null reference check because apparently users lose their bodies sometimes.
  • Code Quality: Major refactor splitting mod functionality in more subclasses to ease feature development for later.

1.6.2

  • Bugfix: Add another null reference check that caused per-frame error output with some mod combinations.

1.6.1

  • Task: Rebuild with the 1.0 Release assemblies.

1.6.0

  • Bugfix: Fixed "interactible" typo to "interactable", as it should be everywhere.
  • Bugfix: Fixed configuration parsing being broken for non-english languages that don't use "." as default float delimiter. Than

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:

bbepis-BepInExPackRiskofThunder-HookGenPatcher

File & checksum

Filename
Pingprovements-1.8.0.zip
File size
42.0 KiB