Garry's Mod

Garry's Mod

262 ratings
Super Simple Serverside Ragdolls
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
8.957 KB
9 Apr @ 2:37pm
4 Aug @ 7:06pm
3 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

sv_serversideragdoll_trigger_damage_force - Enable or disable damage force from trigger_hurt entities
sv_serversideragdoll_damage_force_multiplier - Damage force multiplier ( 1 )
sv_serversideragdoll_mass - Mass multiplier ( 1 )

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.
40 Comments
MarkRosOfft 25 Aug @ 11:03am 
naturally.
Fat  [author] 24 Aug @ 10:10pm 
i'll look into it eventually, can't say i'll be able to do much more than keep materials and colors
ChickenKroonie 24 Aug @ 8:39am 
i have a playermodel with custom materials using PAC3 and it just reverts back to the original model’s textures when i die, would it be possible to add some kind of support for custom PAC3 models?
meow to meet you 27 Jul @ 2:27pm 
so what's the deal with the ragdolls disappearing?
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 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