Post tutorial RSS Fixing CStrike Playermodels for HL2

Fixing CS:S Playermodels for HL2 and HL2MP yeah!

Posted by on - Basic Players Modelling

So, my last tutorial was fixing CStrike weapon models for HL2 NPCs/HL2MP Playermodels.
Now, lets do the same for the playermodels!
This is a lot simpler then my last tutorial, because you don't need any 3D modeling software.
Before we begin, you are going to need the fowling things:
- Cowbar
- A CS:S Skin (you should get permision from the author before you add it to your mod!)
So lets start.
decompile the playermodel and in the qc file it outputted, find the lines that say "$includemodel" and delete them all and then add these lines where the old "$includemodel" use to be: $includemodel "player/(gender)_anims.mdl"
$includemodel "humans/(gender)_gestures.mdl"
$includemodel "humans/(gender)_postures.mdl"
$includemodel "humans/(gender)_ss.mdl"
$includemodel "humans/(gender)_shared.mdl"
The gender is eather male or female.
Next, add the fowling lines below the rest of the "$attachment"s:
$attachment "anim_attachment_RH" "ValveBiped.Bip01_R_Hand" 0 0 0 rotate 0 0 0
$attachment "anim_attachment_LH" "ValveBiped.Bip01_L_Hand" 0 0 0 rotate 0 0 0
$attachment "lefthand" "ValveBiped.Bip01_L_Hand" 0 0 0 rotate 0 0 0 $attachment "eyes" "ValveBiped.Bip01_Head1" 4.5 -5 0 rotate 0 -90 -90

Next edit the "modelname"_reference.smd and add these lines to under the rest of the "nodes" at the begining of the file:
NUMBER "ValveBiped.Anim_Attachment_LH" 18
NUMBER "ValveBiped.Anim_Attachment_RH" 31
Replace "NUMBER" with the next 2 numbers in the list, so say the last node is 24, then replace the first "NUMBER" with 25 and the 2nd "NUMBER" with 26.
Now compile the mode, and every thing should be working. I hope this helped you!


This comment is currently awaiting admin approval, join now to view.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.