CustomDamageNumbers
Customize your damage numbers's look.
About this mod Author’s original text
Custom Damage Number Plugin
Allows you to change damage number's appearance:
- Texture
- Separate texture for critical hits
- Size
- Lifetime/duration
- Movement
- Max digits
Settings can be adjusted from the config file. (Risk of Rain 2/BepInEX/config/com.Minitte.CustomDamageNumbers.cfg)
@Minitte#6490 on the Risk of Rain 2 modding discord if you need something.
Installation
For r2modman
- Just install with r2modman.
For not r2modma
- Extract into the plugins folder
- Should look kinda like this /Risk of Rain 2/BepInEx/plugins/Minitte-CustomDamageNumbers/
Custom Texture Location
/Risk of Rain 2/BepInEx/plugins/Minitte-CustomDamageNumbers/
/Risk of Rain 2/r2modman/BepInEx/plugins/Minitte-CustomDamageNumbers/
Recommend backing up your own damage number texture/image file before updating.
Making your own Damage Number Texture
- Use a square texture (512x512 is default)
- Split into 4x4 even sections (512x512 -> each section is 128x128 and there are 16 of them)
- Use the example damage number texture to know where numbers go
- Your custom texture goes into the plugin folder. (Risk of Rain 2/BepInEx/plugins/Minitte-CustomDamageNumbers)
- Configure the configs with the filename of your texture. (example: my_damage_texture.png)
- JPEG.jpg does not support transparency!
You could also make one with google drawings using this template:
- File > Make a Copy
- Open your copy of the template
- View > Guides > Show guides
- Use text box or drag in pictures or draw.
- File > Download > PNG
11 Digit Damage Number Shader (alternative)
This uses a custom material/shader which is less stable and optimized than the default one. Kinda experimental.
Enabling this shader will override the default handling/format for spawning damage numbers. Other mods may not work with this enabled.
To enable: In config file, set useLongLineShader to true (useLongLineShader=true)
Default(RoR2) shader vs the alternative:
- RoR2 dmg number shader squishes numbers together with more digits
- The alternative shader will only use the primary texture.
Videos
More damage number digits:
Twitter animal emoji for damage:
Math for damage (Separate critical hit texture):
Troubleshooting
My damage numbers are white rectangles.
The path may not be correct. If you installed this manually, make sure the path to this plugin is:
Plugin Folder: /Risk of Rain 2/BepInEx/plugins/Minitte-CustomDamageNumbers/
Plugin DLL: /Risk of Rain 2/BepInEx/plugins/Minitte-CustomDamageNumbers/CustomDamageNumberPlugin.dll
Change Log
1.2.2
- Updated installation instructions for non-r2modman players
- Added troubleshooting info for white rectangle issue
- Improved plugin path path processing
- Removed mod from networked mod list. (Doesn't require multiplayer sync)
1.2.1
- Increased the default max digits to 6
- Fixed some typos on the readme
1.2.0
- Added options for a separate texture on critical hits
- Added more digit support using the default shader
- Included another sample damage number texture using math symbols
Older change log entries in ChangeLog file.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.
Install these first, or the mod will not work: