We recommend using the Thunderstore Mod Manager or an alternative for installing mods
Tells how your and your friends miserable lives ended. Now updated for the DLC!
Last updated | 4 months ago |
Total downloads | 175824 |
Total rating | 28 |
Categories | Mods Client-side Tweaks |
Dependency string | NotTsunami-ShowDeathCause-3.0.1 |
Dependants | 93 other mods depend on this mod |
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.19This mod lets you know how your and your friends miserable lives ended. This is based on the original ShowDeathCause with several improvements and updated for the latest game version.
The death notice lets everyone know what killed you and how. The end game report screen is improved too! This fork provides the following improvements over the old version:
Chat Message (Before) | Chat Message (After) |
---|---|
![]() |
![]() |
Game End Report (Before) | Game End Report (After) |
---|---|
![]() |
![]() |
* Screenshots are taken on ShowDeathCause 2.0.0
It is highly recommended to use r2modman to install ShowDeathCause because it will set up everything for you! If you are installing manually, you will need to make a folder in Risk of Rain 2\BepInEx\plugins
called ShowDeathCause
and drop the contents of the zip into it.
Version 3.0.0 is a MAJOR release, with a lot of changes under the hood. A very large shoutout goes to DestroyedClone for the support of additional languages along with the newly added death messages, and Bubbet for helping me learn Harmony. I recommend showing your support for these two by checking out their mods!
OnPlayerCharacterDeath
Thank you for your interest in contributing a translation! You can contribute a translation by following the steps below:
ShowDeathCause.cs
(I have omitted several of the list.Add()
calls as there are a lot of tokens, but the [...] block refers to all of the tokens):Language.onCurrentLanguageChanged += () =>
{
var list = new List<KeyValuePair<string, string>>();
if (Language.currentLanguageName == "en")
{
list.Add(new KeyValuePair<string, string>("SDC_KILLER_FALL_DAMAGE", "<color=#964B00>Fall Damage</color>"));
[...]
list.Add(new KeyValuePair<string, string>("SDC_PLAYER_DEATH_VOID", "<color=#621e7d>JAILED!</color> <color=#00FF80>{0}</color> killed by <color=#FF8000>{1}</color>."));
}
Language.currentLanguage.SetStringsByTokens(list);
}
Language.onCurrentLanguageChanged += () =>
{
var list = new List<KeyValuePair<string, string>>();
if (Language.currentLanguageName == "en")
{
list.Add(new KeyValuePair<string, string>("SDC_KILLER_FALL_DAMAGE", "<color=#964B00>Fall Damage</color>"));
[...]
list.Add(new KeyValuePair<string, string>("SDC_PLAYER_DEATH_VOID", "<color=#621e7d>JAILED!</color> <color=#00FF80>{0}</color> killed by <color=#FF8000>{1}</color>."));
}
else if (Language.currentLanguageName == "fr")
{
}
Language.currentLanguage.SetStringsByTokens(list);
}
list.add();
calls from the en
section to your branch, and then translate them as per the suggestion below. The final code should look like:Language.onCurrentLanguageChanged += () =>
{
var list = new List<KeyValuePair<string, string>>();
if (Language.currentLanguageName == "en")
{
list.Add(new KeyValuePair<string, string>("SDC_KILLER_FALL_DAMAGE", "<color=#964B00>Fall Damage</color>"));
[...]
list.Add(new KeyValuePair<string, string>("SDC_PLAYER_DEATH_VOID", "<color=#621e7d>JAILED!</color> <color=#00FF80>{0}</color> killed by <color=#FF8000>{1}</color>."));
}
else if (Language.currentLanguageName == "fr")
{
list.Add(new KeyValuePair<string, string>("SDC_KILLER_FALL_DAMAGE", "<color=#964B00>Fall Damage</color>"));
[...]
list.Add(new KeyValuePair<string, string>("SDC_PLAYER_DEATH_VOID", "<color=#621e7d>JAILED!</color> <color=#00FF80>{0}</color> killed by <color=#FF8000>{1}</color>."));
}
Language.currentLanguage.SetStringsByTokens(list);
}
Anything in brackets ({}) or wrapped in <> does not need to be translated. For example, if you were translating the SDC_PLAYER_DEATH
token, which reads <color=#00FF80>{0}</color> killed by <color=#FF8000>{1}</color> ({2} damage taken).
as of version 3.0.0, you would only translate "killed by" and "damage taken".
As noted in the changelog, the 3.0.0 release would not have been possible without the help of the following:
Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.
Upload date | Version number | Downloads | Download link | |
---|---|---|---|---|
2022-3-7 | 3.0.1 | 33379 | Version 3.0.1 | Install |
2022-3-7 | 3.0.0 | 669 | Version 3.0.0 | Install |
2021-11-2 | 2.0.2 | 33186 | Version 2.0.2 | Install |
2021-10-27 | 2.0.1 | 2840 | Version 2.0.1 | Install |
2021-4-24 | 1.0.5 | 36582 | Version 1.0.5 | Install |
2020-8-18 | 1.0.4 | 58406 | Version 1.0.4 | Install |
2020-6-23 | 1.0.3 | 4343 | Version 1.0.3 | Install |
2020-4-6 | 1.0.2 | 4545 | Version 1.0.2 | Install |
2020-2-9 | 1.0.1 | 1874 | Version 1.0.1 | Install |