So, I downloaded some custom CS:S character models, which I want to make NPCs/player models/whatever. So I decompiled it and tried editing the .QC, but it doesn't seem to be working. The .qc looks like this:
[table="width: 500, class: outer_border"]
[tr]
[td]$cd "C:\Documents and Settings\HP_Administrator\Desktop\decompiled"
$modelname "player/ct_urban.mdl"
$model "russian" "spetsnaz_for_urban.smd"
$poseparameter move_yaw -180.00 180.00
$poseparameter body_pitch -90.00 90.00
$poseparameter body_yaw -90.00 90.00
$cdmaterials "models\MW3\russians\"
$hboxset "cstrike"
$hbox 3 "ValveBiped.Bip01_Pelvis" -8.299 -7.727 -5.429 8.299 2.007
6.583
$hbox 6 "ValveBiped.Bip01_L_Thigh" 4.576 -5.377 -3.432 22.880 3.775
4.576
$hbox 6 "ValveBiped.Bip01_L_Calf" -0.291 -4.295 -3.432 20.883 3.151
3.432
$hbox 6 "ValveBiped.Bip01_L_Foot" -2.288 -1.144 -2.579 5.720 4.576
2.007
$hbox 6 "ValveBiped.Bip01_L_Toe0" -2.860 -2.808 -2.860 4.004 1.196
1.716
$hbox 7 "ValveBiped.Bip01_R_Thigh" 4.576 -5.377 -3.432 22.880 3.775
4.576
$hbox 7 "ValveBiped.Bip01_R_Calf" -0.291 -4.295 -3.432 20.883 3.151
3.432
$hbox 7 "ValveBiped.Bip01_R_Foot" -2.288 -1.144 -2.007 5.720 4.576
2.579
$hbox 7 "ValveBiped.Bip01_R_Toe0" -2.860 -2.808 -1.716 4.004 1.196
2.860
$hbox 3 "ValveBiped.Bip01_Spine1" -9.152 -1.258 -8.008 4.576 11.326
8.008
$hbox 2 "ValveBiped.Bip01_Spine2" -3.068 -3.432 -9.693 13.572
10.317 9.693
$hbox 1 "ValveBiped.Bip01_Neck1" -0.104 -4.576 -2.860 5.512 2.288
2.860
$hbox 1 "ValveBiped.Bip01_Head1" -0.416 -6.240 -3.640 9.360 4.441
3.016
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1.144 -2.579 -2.288 14.872
2.579 2.288
$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.716 -2.402 -2.402 13.156
2.402 2.402
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.291 -2.465 -1.716 6.583 1.550
2.860
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.144 -2.579 -2.288 14.872
2.579 2.288
$hbox 5 "ValveBiped.Bip01_R_Forearm" -1.716 -2.402 -2.402 13.156
2.402 2.402
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.291 -2.465 -2.860 6.583 1.550
1.716
$attachment "forward" "ValveBiped.forward" 0.00 -0.00 0.00 rotate 0.00
-0.00 -0.00
$attachment "grenade0" "ValveBiped.Bip01_Spine" 4.08 3.90 8.66 rotate
82.85 25.20 20.51
$attachment "grenade1" "ValveBiped.Bip01_Spine" 3.81 1.45 8.92 rotate
72.71 80.54 78.54
$attachment "grenade2" "ValveBiped.Bip01_Spine" -2.13 4.42 -8.82 rotate
-77.40 -55.53 -117.32
$attachment "grenade3" "ValveBiped.Bip01_Spine" 3.84 6.03 8.24 rotate
62.51 -75.79 -79.34
$attachment "primary" "ValveBiped.Bip01_Spine2" 11.08 -4.21 -5.77
rotate -18.93 178.22 1.07
$attachment "lfoot" "ValveBiped.Bip01_L_Foot" -0.00 5.20 0.00 rotate
-0.00 -0.00 0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" -0.00 5.20 -0.00 rotate
0.00 -0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" 0.00 0.00 -0.00
rotate 0.00 0.00 0.00
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_ct.mdl"
$includemodel "humans/male_shared.mdl"
$includemodel "humans/male_ss.mdl"
$includemodel "humans/male_gestures.mdl"
$includemodel "humans/male_postures.mdl"
$includemodel "humans/male_shared.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 73.000
$illumposition 0.019 -0.699 37.558
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000
$ikchain ikclip ValveBiped.weapon_bone_Clip knee 0.707 -0.707 0.000
[/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[/tr]
[/table]
Not only are the animations not working when I compile it again, but it also appears checkerboarded. Any idea what I'm doing wrong, and how to fix it? If anyone else wants to take a crack at it, I'll post links to the files.
[code]$includemodel "cs_fix.mdl"[/code]
should be the only $includemodel in there. the textures are probably because you didn't set up the .vmts correctly or you specified the wrong path in the qc.
Sorry, you need to Log In to post a reply to this thread.