Garry's Mod

Garry's Mod

240 ratings
Super Simple Serverside Ragdolls
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
6.037 KB
9 Apr @ 2:37pm
4 Jun @ 10:50pm
2 Change Notes ( view )

Subscribe to download
Super Simple Serverside Ragdolls

Description
Server-side ragdolls. That's it.
This addon allows your death ragdoll to collide with anything, and appear in the same location on all clients.
Created because most on the workshop don't keep player color, and also have broken so the camera doesn't follow your body. This should hopefully work.

The server side ragdolls preserve:
-Body groups
-Skin groups
-Player color
-Position
-Rotation
-Bone positions / rotations
-Velocity
-Attack damage velocity

Server convars:
sv_serversideragdoll ( 0, 1 ) - Enable or disable the addon
sv_serversideragdoll_decay - Time it takes for ragdolls to despawn. 0 means don't despawn
sv_serversideragdoll_removeonspawn ( 0, 1 ) - Enable or disable ragdolls despawning when a player respawns or disconnects
sv_serversideragdoll_allowphysgun ( 0, 1 ) - Allow or disallow players from grabbing each other's corpses with the Physgun
sv_serversideragdoll_collision ( 0, 1, 2 ) - Collision mode of ragdoll:
- 0 = No collision, like clientside ragdolls
- 1 = Collide with everything but players
- 2 = Collide with everything, including players

Client convars:
cl_serversideragdoll_spectate ( 0, 1, 2 ) - Spectate mode after dying. 0 is normal, 1 lags behind, 2 is first-person
cl_serversideragdoll_znear - If first-person death is enabled, this changes the clipping distance of the camera

NOTE: Ragdoll colors may sometimes not apply on client if the player has very high ping.


THIS IS NOT COMPATIBLE WITH ANY ADDON THAT ALSO CREATES ITS OWN DEATH RAGDOLL. IT WILL NOT WORK WITH FEDHORIA, ENHANCED DEATH ANIMATION, RAGDOLL DEATH V2, OR ANY OTHER SUCH MOD. IF YOU ARE HAVING PROBLEMS, YOU MIGHT HAVE A SIMILAR MOD INSTALLED. DIAGNOSE THE ISSUE YOURSELF BEFORE BRINGING IT TO ME.
36 Comments
sadie! <3 17 Jul @ 10:24am 
For whatever reason serversided ragdolls seem to be pushed much farther from damage than clientside ones. This is a universal thing with all serverside player ragdoll addons ive seen. Do you think you could fix/change this to resemble the clientside ones?
Shaderyn 12 Jul @ 9:46am 
can you add an console command to control first person cam's offset?
Serika 5 Jul @ 2:20pm 
the disappearing ragdoll thing persists, to the point that my character doesnt ragdoll at all, but other players which aren't the serverhost can
Unami Fox 27 Jun @ 4:31am 
Is this compatible with ragdoll death animation mods?
Goatmilk_99 :D 24 Jun @ 8:39am 
the camera doesnt follow the ragdoll and the ragdoll is invisible
_ 18 Jun @ 7:53am 
Can you create these following commands? To make it more fun.

sv_serversideragdol_ragdollspeed - ragdoll speed multiplier
sv_serversideragdoll_ragdollweight - ragdoll weight multiplier
the toucher  [author] 17 Jun @ 10:43pm 
actually i was messing with this and i think i fixed the ragdoll spectate 2 glitch. gonna get some other stuff fixed / added before i release an update though
the toucher  [author] 17 Jun @ 9:43pm 
i don't think it's possible to fix the first person delay (it's dependent on game ticks), and I don't know what you mean by "ragdolls disappearing" because I don't have that problem unless I purposefully turn on ragdoll decay, or that bug that happens once when changing sv_serversideragdoll after spawning
Serika 17 Jun @ 9:55am 
the ragdolls seem to disappear alot more than they used to..
xeN 5 Jun @ 3:21pm 
Best serverside ragdoll addon on the entire workshop! Would also be nice if it would be possible to have a convar to set the maximum number of ragdolls you can have, which if set to 0 means unlimited amount of ragdolls. Ragdoll Death 2.0 has something like this, but that addon is currently broken and doesn't work half the time.