Making a ragdoll for gmod

Alright, so I have my model and bones for it, I was wondering how to get it ready for gmod. I know I need several (3 i think) smd’s and put it in guistudiomdl.exe and stuff.

So the main problem I have is the .qc I am not sure what to put for the bones/joints in the .qc file. I saw some .qc ragdolls had certain coordinates sometihng like joint1 1, 43, 14. Stuff like that, I was wondering how to assemble one, I’ve read this, but say I wanted to make a basic gmod ragdoll like Alyx Vance,

https://developer.valvesoftware.com/wiki/Physics_and_Ragdolls I’ve read this, but I am still confused on what to do for the joints.