Barotrauma

Barotrauma

132 ratings
Traumatic Presence
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.514 MB
Dec 27, 2024 @ 12:51pm
Dec 30, 2024 @ 8:19am
6 Change Notes ( view )

Subscribe to download
Traumatic Presence

Description
TRAUMATIC PRESENCE

This is a client-sided C# mod that integrates Rich Presence support into the game via Discord-RPC-CSharp.
Additionally, it may or may not also group players in the Steam friends tab via Steamworks. Steam's enhanced rich presence can't really be toyed around with as much as Discord's. The strings for that functionality are set but I haven't seen it in action myself.



INSTALLATION
- Install client-side Lua for Barotrauma.
- Make sure that you have "Enable CSharp Scripting" checked, otherwise the mod will not work.
- Enable the mod in the mod list. The load order doesn't matter
- You're good to go.



List of things that it can display:
  • Boss encounters
  • Sub name
  • Biome
  • Gamemode
  • Round missions
  • Player count
  • PvP Mode info (Team scores/Chosen subs if there is no score.)
  • Character info such as the role icon, name of the role, cause of death, chosen faction(PvP)
  • Whether you appear to be spectating or not
  • Submarine editor to some extent.

Modded roles are supported but the icons have to be added in manually and discord doesn't seem to return anything if an image key is invalid (I'd really, really like to be wrong though). Oh and the icons have to be 512x512.



Linux & MacOS
The builds are there, however they're untested as I've neither Linux or MacOS at my disposal.



Source code
Can be found on GitHub here [github.com]



Bugs
I finished an entire campaign from start to finish while developing this mod and I believe that I caught pretty much everything. I could also be wrong though. Please let me know if you somehow managed to make the mod implode or the mod implodes baro.
it's called traumatic because that's the quality of the code
38 Comments
MorzaMasti Apr 23 @ 1:19pm 
oh, don't have any logs, I'll try tomorrow, this appears after 2-3 campaign missions
Lenny  [author] Apr 23 @ 12:37pm 
Any crash logs? Playing through yet another multiplayer campaign right now and neither my mateys nor I have crashed so far
MorzaMasti Apr 23 @ 11:55am 
crashes online campaign
Gesugao-san Mar 18 @ 6:06pm 
Thank you. I need this.
Осеменитель Mar 12 @ 2:42am 
Crashes both online and in single-player mode
Осеменитель Mar 12 @ 2:41am 
It is not compatible with mods unknown to me, it was in assembly with other mods, which is why the game crashes periodically. I can send you the crash log if you're interested.
microwave Mar 9 @ 2:48pm 
This mod dosent effect the server, its entirely on the hosts side if it crashes.
Vovanguard Mar 9 @ 7:17am 
something is wrong with this, crashing our campaign
Magos Feb 2 @ 7:15am 
I also tried just Lua For Barotrauma and Traumatic Presence and bug is still on