EnemyHitLog

版本 v0.3.0·更新於 2020-08-23

Log enemy damage dealt to players and allies in the chat

截圖 共 2 張

模組介紹 作者原文

EnemyHitLog

Log damage taken in the chat.

Features

  • Logs damage taken by players and allied entities (supports friendly fire)
  • Logs damage-on-tick (DoT) debuffs
  • Colorized labels for less dull messages
  • Toggles and Filters to reduce spam in the chat

Configuration

This mod can become quite noisy. To have control over this, a configuration file is provided by this mod. It is located at /Risk of Rain 2/BepInEx/config/com.Xay.EnemyHitLog.cfg, generated after Risk of Rain 2 has been launched once with BepInEx with the mod installed.

Toggles

You can toggle the following:

  • Player logging ([true]|false)
  • Ally logging, i.e. Engineer Turrets, Beetle Guard or Aurelionite (true|[false])
  • Utilities logging, i.e. Drones & Turrets (true|[false])

Setting the above toggles to false lets the mod become inactive.

  • Fall damage logging ([true]|false)
  • Shrine of Blood logging (true|[false])
  • Debuff logging ([true]|false)

Filters

You can filter out messages in the following ways:

  • DamageToMaxHealthThreshold: Do not log any damage which has a lower value than the given percentage of the Player's HP. For example, if this variable is 10, only damage as high as at least 10% of the Player's max. HP (not counting barrier and shield) will be logged to the chat. Default value is 5.

Installation

Drop the EnemyHitLog.dll into your /Risk of Rain 2/BepInEx/plugins folder.

Known Bugs/Missing Features

  • Some attacks may not be tracked by the RoR2 Hook, such as Clay Dunestriders' regeneration attack when it gets low HP

If you experience any bugs or have suggestions, let me know on GitHub by creating an Issue or bugging me in the Risk of Rain 2 Modding Discord.

To-Do

  • Log timed Debuffs like Slow, ClayGoo, Nullified
  • Summarize Splash damage into one damage message

Changelog

0.3.0

  • Added fall damage
  • Added Shrine of Blood damage
  • Added Poison, Blight, and Burn tick debuffs
  • Added friendly fire handling
  • Added FallDamage toggle to Config file (default is true)
  • Added ShrinesOfBlood toggle to Config file (default is false)
  • Added proper Captain label color
  • Updated some Survivor label colors
  • Updated mod logo
  • Updated some logging text
  • Updated/Fixed DamageToMaxHealthThreshold such that its filter functionality applies to any damage event
  • Fixed typos in Config descriptions and entity labels

0.2.0

  • Added DamageToMaxHealthThreshold to configuration (see Configuration section)
  • Added Debuffs to configuration (see Configuration section)
  • Code refactoring and some optimizations

0.1.1

  • ReadMe update

0.1.0

  • First Release

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

tristanmcpherson-R2APIbbepis-BepInExPack

檔案與校驗

檔案名稱
EnemyHitLog-0.3.0.zip
檔案大小
114.5 KiB