This commit is contained in:
2023-11-20 04:46:26 -06:00
parent f0b1709f1c
commit 2ca83e25d9
451 changed files with 74477 additions and 407 deletions

View File

@@ -0,0 +1,83 @@
{
"ConfigVersion": "2",
"CauseOfDeathPrefix1": "It appears",
"DeadPlayerPrefix": "this",
"MaleGender": "man's",
"FemaleGender": "woman's",
"CauseOfDeathPrefix2": "cause of death was",
"CauseOfDeathDefs": [
{
"AmmoType": "unknown",
"CauseMessage": "unknown."
},
{
"AmmoType": "falldamage",
"CauseMessage": "the result of falling from a great height."
},
{
"AmmoType": "melee",
"CauseMessage": "from some kind of blunt force trauma."
},
{
"AmmoType": "zombie",
"CauseMessage": "probably the result of a zombie attack."
},
{
"AmmoType": "bullet",
"CauseMessage": "from a gunshot wound..."
},
{
"AmmoType": "explosion",
"CauseMessage": "from an explosion of some kind."
},
{
"AmmoType": "grenade",
"CauseMessage": "from a grenade explosion perhaps..."
},
{
"AmmoType": "landmine",
"CauseMessage": "from a land mine explosion perhaps..."
},
{
"AmmoType": "transport",
"CauseMessage": "from being run over by a vehicle."
},
{
"AmmoType": "wolf",
"CauseMessage": "from a wolf attack maybe?"
},
{
"AmmoType": "bear",
"CauseMessage": "from being mauled by a large creature, probably a bear..."
},
{
"AmmoType": "fire",
"CauseMessage": "third-degree burns."
},
{
"AmmoType": "bleeding",
"CauseMessage": "from bleeding out."
},
{
"AmmoType": "hunger",
"CauseMessage": "starvation."
},
{
"AmmoType": "thirst",
"CauseMessage": "dehydration."
},
{
"AmmoType": "woundinfection",
"CauseMessage": "wound infection."
},
{
"AmmoType": "contamination",
"CauseMessage": "toxic contamination."
},
{
"AmmoType": "suicide",
"CauseMessage": "suicide, but I could be wrong..."
}
],
"DebugOn": 0
}

View File

@@ -0,0 +1,4 @@
protocol = 1;
publishedid = 2810260908;
name = "ZenCauseOfDeath";
timestamp = 5249652613941438925;

View File

@@ -0,0 +1,10 @@
name = "Zenarchist's Cause of Death Mod"; // name
picture = ""; // picture in expanded description
logoSmall = ""; // icon next to mod name when description is not expanded
logo = ""; // logo below game menu
logoOver = ""; // on mouse hover over logo
tooltip = ""; // tool tip on mouse hover
overview = "Adds the ability to check a player's cause of death."; // overview
action = "https://zenarchist.io/"; // link
author = "Zenarchist"; // author
version = "1.0"; // version

View File

@@ -0,0 +1,23 @@
What Is This?
This mod adds the ability to check other player's cause of death.
Simply walk up to a dead player and hold F on them to check for a cause of death.
The causes are configurable in the server-side json file (for changing the text/language).
Intallation Instructions:
Install this mod like any other mod. Make sure to copy the .bikey into your server keys, and then once you run your server with the mod installed the mod will automatically generate the default json config file in your server profile folder under Zenarchist/ZenCauseOfDeathConfig.json.
I believe I've covered most of the vanilla causes of death but modded ones may require adding your own config.
To do that set DebugOn=1 in the config json and then kill a player (can be a dummy survivor) and hold F on it to get the "ammo" type that caused the damage included in the message.
This mod must be installed on both the server & client.
Repack & Source Code:
You can repack this mod if you like, and do anything else you want with it for that matter. The source code is on my GitHub at www.zenarchist.io
Enjoy!