Chessnut / NutScript

A free role-play framework for Garry's Mod.
http://nutscript.rocks
MIT License
94 stars 77 forks source link

[1.1] Ragdoll Improvements #450

Closed blt950 closed 9 years ago

blt950 commented 9 years ago

Few improvements on the ragdoll system would be great:

Chessnut commented 9 years ago

The death ragdoll is the Source one

blt950 commented 9 years ago

Remove the source one and create a dummy one by Nutscript or similar? Clockwork can do this somehow, I believe this can be done here as well :+1:

Some useful code that shows you it's possible. Probably more behind this, but I just mean to give you hints where to start.

Line 2569

https://github.com/CloudSixteen/Clockwork/blob/6674827bdc20302576e1320fe893fba148c26114/Clockwork/garrysmod/gamemodes/clockwork/framework/libraries/server/sv_player.lua

Line 3072

https://github.com/CloudSixteen/Clockwork/blob/6674827bdc20302576e1320fe893fba148c26114/Clockwork/garrysmod/gamemodes/clockwork/framework/sv_kernel.lua

Chessnut commented 9 years ago

I know it is doable but it does not seem like there is really a point to it.

blt950 commented 9 years ago

I get that this might not be the most prioritized one. It's more of a roleplay enchantment, so you can still interact with the dead players, since they disappear like 5 seconds after death.

What I mostly ask for except of that is to get the "Is unconscious" status on their ragdolls when they've been hit unconcious by stunstick or similar.