Search
Username:
Password:
Register or Reset Password
Remove the ads!
Editting the CSS Ragdoll Physics
Difficulty: Intermediate
Category: CS:S > ModelingAuthor(s):
Did you create this? Request ownership

To begin with, you need:

Lets begin!

1. Run GCFScape, which will require that Steam be closed.

2. Click Open (the button that looks like a folder) and browse to D:\Program Files\Steam\Steamapps\ or wherever you have Steam installed to.

3. Open Counter-Strike Source.GCF

4. Navigate through it to cstrike->models->player, there will be 8 folders.

5. Go into each and extract all of the contents somewhere you'll remember, and preferably in a separate folder for each.

6. Now run CannonFodder's MDL Decompiler and decompile each .MDL file. Make sure you compile each to a different folder to ensure the integrity of an essential file.

7. Now go to the folder of one of the decompiled models and open mdldecompiler.QC in Notepad (or another word processor).

8. Near the bottom you will find three lines; one starts with "$mass," another with "$rotdamping," and the third with "$damping." The values corresponding with each variable are what we change to modify the physics. $Mass changes how much the model "weighs," and lowering this will make it move easier when shot. $Rotdamping is how "ragdolly" the ragdoll is, meaning how much it flops around and various other effects. $Damping is how fast the ragdoll falls, higher values mean faster falling. Tweak those values how you see fit, and do so for each mdldecompiler.qc, there should be one in each of the decompled .MDLs respective folders.

9. Run CannonFodder's StudioCompiler and click the "Compile w/Existing .QC" button.

10. Drag-and-drop a mdldecompiler.QC file into the box and click compile.

11. Repeat for the other models.

12. Go to your cstrike/models/player folder and go into each folder that was created there. Delete all the files but [player].PHY, and do so for all 8.

13. Play CSS and enjoy your new physics!

Important note: If during the compiling process you encounter an error stating that a bone does not exist, open the .QC and delete the line containing the bone's name.

Another important note: If you notice any errors with this tutorial, please point them out to me so I can fix them.
Added: 2 years agoTags: editting, ragdoll, physics
Feedback (31)
Page of 4   1 2 3 4 Next Page
ayboo .
BananiteY2M
Posted 3 months ago
Should we have SourceSDK downloaded ?
- Bananite
falldarkraven .
1212Y2M
Posted 6 months ago
I get warning failing back to auto detection of vproject diectory what do i do? on the decompiler what do i do???
- 1212
Assass1n .
Joe Shitz: "Yes I am fucking poor"Y2M
Posted 7 months ago
Whats extra app id set to 211, but no steam appid
like ill go to select a model for decompile and thats what it says
- Joe Shitz: "Yes I am fucking poor"
StoneBlood .
BananiteY2M
Posted 8 months ago
Extra App set to 211, but no SteamAppId.
Kr!m!nAL .
BananiteY2M
Posted 8 months ago
Posted by [Black Ops]

ERROR: bad command {

-

ERROR: Aborted Processing on 'player/t_phoenix.mdl'


I fixed the studio compiler issue now I get this too "BAD COMMAND {"
- Bananite
Kr!m!nAL .
BananiteY2M
Posted 8 months ago
Posted by BlackHoleSon

Im really close to finishing. i just cant get studio compiler working, its in sourcesdk/ bin but it gives me an error when i try to run it.

exact same as me, the studio compiler is messing me up
- Bananite
JontzQ .
Slightly Active again..Y2M
Posted 10 months ago
Posted by risewiththefallen420

Well this isnt helpful.......no screens v.v i tried this and i got to were i need to decompile.......and when i tried it said "Cannot load model" or something like that.......plz help me!!! plus when i went to extract files using gcfscape there wasnt 8 files there was all the files that are supposed to be in the folders but im lost plz PM me or something

hmm yeah i have that same thing.. i dont have those folders there.
Kr!m!nAL .
BananiteY2M
Posted 10 months ago
Im getting the error "the application failed to initialize properly (0xz0000005)" wtf? help!
- Bananite
Deadmonkey .
Y2M
Posted 10 months ago
Great tutorial ,Good job.
chikintender .
BananiteY2M
Posted 11 months ago
"ERROR: bad command {"
yeah i get this too
/edit apparently doesnt like this one
$ikchain ikclip ValveBiped.weapon_bone_Clip knee 0.707 -0.707 0.000
$collisionjoints "phymodel.smd"
{
$mass 200.0
$inertia 10.00
$damping 0.05
- Bananite
Page of 4   1 2 3 4 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.9/10
bScore
9.9/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Well Written & Informative
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.
None found
Brought to you by...
Avenger Corp.™
"Nobody's Banner Disapears More Often!"
Membership: Invite Only
Primary Skills: 3D Animation, 3D Art & Rendering, Compiling, Modelling, Sound Effects & Music, Texturing, UV Mapping
Inception: 2 years ago
Vote for Studio
Like this tut? Vote Avenger Corp.™ for one or more monthly awards.
You must login or register to access this!
Related Tutorials