Barotrauma

Barotrauma

35 ratings
Death Skills Keeper
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.642 KB
Jan 23, 2022 @ 2:19pm
Apr 15, 2023 @ 6:01pm
2 Change Notes ( view )

Subscribe to download
Death Skills Keeper

Description
Adjusts how many skill points are lost upon death in a Campaign.

Vanilla:
1. if you die, drop 75% of your skills down to the lowest starting value for your job. Captain's starting range is "40-50 Helm, 25-35 Weapons, 15-25 Mech/Electrical, 5-10 Medical". Thus, dying with 50 Medical, would drop to 20. Dying a second time, would drop 12.5.
2. Also Reapers Tax if you respawn mid-round, which further reduces skills and speed, but at least it is curable and somewhat avoidable.

Death Skills Keeper leaves Reaper's Tax as-is, but adjusts the unavoidable skill drop:
Now you drop 33%, up to a max loss of 10 (configurable), down to the highest starting value for your job. So Captain dying with 50 Medical, drops to 40. Dying with 20 Medical, drops to 17. This seems less punishing for newer characters, while still leaving _some_ cost for death.


This requires the (serverside) LuaForBarotrauma by Evil Factory to work: https://steamcommunity.com/sharedfiles/filedetails/?id=2559634234

By editing Mods/DeathSkillsKeeper/Lua/config.lua , you can adjust the percentage and/or fixed amount of skills lost (0 works), and the minimum (Job's startMax, startMin, or a fixed number like 50).

Github Source[github.com]
17 Comments
JamesDreemurr Mar 20, 2024 @ 10:35am 
is there a way to make it so dead people won't lose their wallets too?
molotov_mox Jan 12, 2024 @ 3:19pm 
thank you so much, i hate how you lose skills on death. personally, losing the mission money, having to restart, and the humilation of dying because your ai teamates decided to open every airlock on the ship and killing you is enough of a frustration for me.
Yawn Nov 30, 2023 @ 5:51am 
@dommygutman the game now has a setting you can adjust to make you lose however many skill points you want. It's in the settings for the server.
dommygutman Nov 22, 2023 @ 7:42am 
Is this still viable to be used? or has barotrauma broke something in the mod.
ButtERR Jun 6, 2023 @ 12:38pm 
The ideal scenario is a wreck, corpses of the crew sometimes contain money.
ButtERR Jun 6, 2023 @ 12:37pm 
@Nebual, you just grab a character who died and had credits in his wallet. The money automatically transfers to your wallet.
Nebual  [author] May 28, 2023 @ 12:35pm 
Potentially, what do you have in mind?
笼目深沙希 May 23, 2023 @ 6:19am 
Is it possible to add a function to modify the Reaper's Tax obtained after respawning
Nebual  [author] Apr 15, 2023 @ 6:10pm 
I'd also like to prevent crew from losing their money on death, since it doesn't seem to drop anywhere that can be recovered, but I haven't yet found where in Baro's code that actually happens, to patch it out. There's mentions in the code of finding money on corpses, but I've never experienced that in my sessions...
Nebual  [author] Apr 15, 2023 @ 6:08pm 
Update v1.1
- Fixed it not working, by including @Bedragaren's fix
- Skill drop on death is now a hybrid %-with-cap system:

Rather than a flat cap of 5, the skill reduction is now 33% of the skill gain, capped at a max of 10.

This means a Captain (who defaults to a starting max of 10 Medical) with 50 Medical, has 40 points of "skill gain". In Vanilla, 1 death would drop 30 points, and a second another 7.5 points, down to 12.5. Now, the captain loses 33% of 40 (= 12.5, capped to 10), and then a second death drops 33% of 30 = 10, down to 30.

So still much less punishing than Vanilla, and less punishing at lower skills than the prior version of this mod, but slightly harder to maintain very high skills through deaths.

Thanks @Bedragaren for maintaining this in my absence! If you accept my friends invite, I'll add you as a Contributor.