Barotrauma

Barotrauma

178 ratings
Ragdoll Cam
3
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
460.024 KB
10 Jan @ 1:52am
27 Jan @ 7:15am
4 Change Notes ( view )

Subscribe to download
Ragdoll Cam

Description
A mod originally made by StarryCult
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2787984747

This mod changes the camera to rotate with your character when you ragdoll! It makes for some fun explosions!

There is a config file inside the folder of it! The file path will be something like:
C:\Program Files (x86)\Steam\steamapps\workshop\content\602960\3404418999\Lua
It might differ depending on which drive Barotrauma is installed in.

I plan on adding an in game config menu. If anyone is willing or wants to help out feel free to shoot me a message!

You do need to enable client side lua!

74 Comments
evanwolfyou  [author] 30 Jun @ 1:59pm 
i might need to check that out
jossebul 30 Jun @ 1:55pm 
this mod is very cool but I get a lot of errors that say "attempt to index a nil value"
evanwolfyou  [author] 16 Jun @ 4:13pm 
there is a chance i could
Was it ever thus? 16 Jun @ 7:57am 
yeah, but imagine being outside of the sub and being unable to figure out where is up and where is down let alone where your sub is located.
Getting lost in this way should be the main value such mods provide.

funnycam indeed works in the water, but you still use vanilla swimming controls, so it is disorienting in a bad way and also you always know where the right/left/up/down is, which defeats the purpose of this camera in the first place.

you think you could make water camera but with better controls than in funnycam?
evanwolfyou  [author] 10 Jun @ 12:35pm 
@Red52792 that is what the original mod funnycam is. It's just really disorienting and I didn't really like it in water
Red52792 10 Jun @ 12:11pm 
it woul be cool that if you are in water the camera stops facing upwards and you could move to where the camera is facing when pressing up instead if going up
evanwolfyou  [author] 27 Apr @ 5:29pm 
the camera doesnt activate in water
Sullivas 27 Apr @ 3:06pm 
Problem. Activating the camera when you are in water includes when you are soaking wet after leaving an airlock, requiring you to dry off. Kinda annoying.
B_Kirill 23 Apr @ 4:05am 
This is a really good mod, but it's really not cool when characters hit their heads on the ceiling and the camera spins (and sometimes it just happens because of bugs). Better use something like this:

Hook.Add("think", "adjustcam", function()
if Character.Controlled ~= nil then
local isRagdolledOrUnconscious = Character.Controlled.IsRagdolled or Character.Controlled.IsUnconscious

local rot = 0
if isRagdolledOrUnconscious then
rot = Character.Controlled.AnimController.getLimb(config.limb).Rotation
end

if isRagdolledOrUnconscious then
smooth = smooth + (rot - smooth) * 0.15
else
smooth = smooth * 0.8
end

Screen.Selected.Cam.Rotation = smooth
end
end)

Of course, this is just a recommendation, but it would make the mod much more playable.
evanwolfyou  [author] 19 Apr @ 5:12pm 
you have to enable client side lua