Barotrauma

Barotrauma

Soft Crush Depth
9 Comments
FRONK 25 Feb @ 12:43pm 
Love the idea for the mod, but I'm seeing the following error:

```
SoftCrushDepth: Playing crush depth damage sound
[CL LUA ERROR] USERNAME C:/Users/USERNAME/AppData/Local/Daedalic Entertainment
GmbH/Barotrauma/WorkshopMods/Installed/3345160878/Lua/Autorun/init.lua:(62,39-199): attempt to index a nil value
```

This took place while I was near but not at my sub's crush depth in singleplayer (~3250 current depth vs 3500 crush depth).

Any idea how to fix this?
ReBingoooo 7 Nov, 2024 @ 7:30am 
Hi, I have a mod that for some reason changes the crush depth of speciffically humans not subs, is there a mod, or a way to change it to normal without deleting the mod? cos now without spawning a better diving suit the game is unplayable, but i want the achievements.:steamsad:
Nebual  [author] 13 Oct, 2024 @ 7:05pm 
@|FNN|Grey Foxx I'm not sure how common it is in vanilla (outside of an Abyss Latcher dragging you down), but my campaign using Dynamic Europa (which changes which stations sell subs/etc) is currently midway through Biome 3 and I think our seed is rather unlucky, there's very few sub selling stations and we haven't yet found one willing to sell a Tier 3 sub.

@GAGO ^w^: I might make it configurable at some point. For now, forking the mod into LocalMods and tweaking the numbers (eg. setting MinWallDamageProbability up to 0.5 would be quite harsh, or setting MaxEffectThreshold to 50 would mean that the max damage would be done a mere 50m past the threshold, rather than my 1000m)

@Havel L. Krik I doubt it - the numbers I'm adjusting are not exposed to XML at all.
Havel L. Krik 12 Oct, 2024 @ 9:34pm 
Is there any way to a mod similar to this without needing Lua?
GAGO ^w^ 11 Oct, 2024 @ 9:37pm 
Can you Make mod wich makes so you literally collapse in seconds if you go past crush depht
Paws 11 Oct, 2024 @ 7:17pm 
late game subs are like 20k each, plus the upgrade materials for hulls tend to be really expensive / a bit of a pain to get, so if your crew isnt... the best all of your money will get drained into medicine and supplies and all of that and you'll eventually hit a hard wall probably
7th Calvary Airborne Foxx 11 Oct, 2024 @ 4:50pm 
I don't understand the need for this. I've not played much of the game (never gotten past the second gate) but I've never had problems getting the more expensive subs (orca, humpback, camel, etc). Are these not the subs you're talking about not being able to buy?) I usually start with barsuk and by the time I am through the first gate I'm in at least an orca. So is there more than what I'm seeing or what I know?
valveworshipper 9 Oct, 2024 @ 4:42pm 
lovely
POSTACI 8 Oct, 2024 @ 1:25am 
epic