Garry's Mod

Garry's Mod

Rag Morph
SourceStick 19 Feb, 2022 @ 2:01pm
Showing off how dumb I am :(
I honestly can't believe it, that even tough I thought I read the description carefully, looking for a console command just like WobbleToggleRagdoll, I missed it, and created this. All in a span of few minutes. Can't say I hate my self tough, this was useful information to my self. Enjoy what you see below!

I figured out how to do, to my self, complex binds with "alias" console command!

Here is what I got setup with help of Valve Source Developer Wiki
Run each of these on their own:

alias "RagdollON" "RagMorphRagdollModeOn; alias RagdollToggle RagdollOFF"
alias "RagdollOFF" "RagMorphRagdollModeOff; alias RagdollToggle RagdollON"
alias "RagdollToggle" "RagdollON"

Then use the normal bind command like you would usually with your own new command!

bind [replace with any key] RagdollToggle

If you prefer to get back in firstperson straight away, instead of

alias "RagdollOFF" "RagMorphRagdollModeOff; alias RagdollToggle RagdollON"

you would run:

alias "RagdollOFF" "WobbleCreate; alias RagdollToggle RagdollON"

or just bind a second key to WobbleCreate.

QUICK NOTE: You would have to run every one of the
alias
commands each time when you restart game, but Source games come with a solution! In your game direction
\steamapps\common\GarrysMod\garrysmod\cfg

Paste only the
alias
commands inside of the text file named: autoexec.cfg

I hope you, the reader, find this useful! Edit: And sorry for the amount of [code] text in this :)
Last edited by SourceStick; 19 Feb, 2022 @ 2:18pm