compililing .obj file problem

spamboo

Newbie
Joined
Jun 20, 2003
Messages
150
Reaction score
0
so i m learning how to model, and i wanted to get the whole compiling thing down by porting some cs 1.6 models to hl2 i used the goldsource port tutorial that comes with the steam sdk.

i extracted all the source files from the .mdl with milkshape, then i made the vtf files and converted the textures to tga, then i tweeked the .qc file. but here's the problem when i drag the .qc file to stuidomdl it errors and say that it could not complete with out the .obj file.

whats an .obj file and why do i need it? where can i get it.
 
i dont know if it will save formatting but here

$modelname "C:\cspro\prosource\models\player\arctic.mdl"
$cd "\cspro\prosource\models\player\arctic\"
$cdmaterials "\cspro\prosource\materials\models\player\arctic\"
$cliptotextures

$scale 1.0

// 2 attachments
$attachment 0 "Bip01 R Hand" 10.855000 -0.416715 1.870680
$attachment 1 "Bip01 L Hand" 10.855000 -0.416715 1.870680

// 1 bone controllers
$controller mouth "Bone01" ZR 0 30

// 21 hit boxes
$hbox 3 "Bip01 Pelvis" -4.690000 -4.440000 -6.750000 4.000000 5.560000 6.750000
$hbox 6 "Bip01 L Thigh" 2.660000 -3.690000 -3.090000 18.160000 4.880000 3.310000
$hbox 6 "Bip01 L Calf" 0.380000 -3.970000 -2.840000 17.600000 4.000000 2.940000
$hbox 6 "Bip01 L Foot" 0.850000 -3.240000 -2.640000 5.730000 8.530000 3.170000
$hbox 7 "Bip01 R Thigh" 2.470000 -3.690000 -3.160000 18.129999 4.880000 3.380000
$hbox 7 "Bip01 R Calf" 0.310000 -3.970000 -2.840000 17.600000 3.940000 2.970000
$hbox 7 "Bip01 R Foot" 0.850000 -3.240000 -2.640000 5.730000 8.530000 3.170000
$hbox 3 "Bip01 Spine1" -3.250000 -5.500000 -5.500000 4.830000 5.500000 5.500000
$hbox 2 "Bip01 Spine2" -0.060000 -5.530000 -7.590000 8.000000 7.000000 7.590000
$hbox 2 "Bip01 Spine3" -2.250000 -6.810000 -6.310000 6.500000 5.090000 6.310000
$hbox 2 "Bip01 Neck" -3.110000 -1.500000 -3.000000 2.050000 3.500000 3.000000
$hbox 1 "Bip01 Head" -0.330000 -4.500000 -2.500000 8.000000 4.500000 2.500000
$hbox 4 "Bip01 L Clavicle" 0.940000 -2.880000 -4.130000 5.440000 4.280000 3.500000
$hbox 4 "Bip01 L UpperArm" -2.160000 -2.340000 -2.560000 11.560000 3.410000 2.380000
$hbox 4 "Bip01 L Forearm" 0.590000 -1.810000 -2.190000 10.750000 2.840000 2.410000
$hbox 4 "Bip01 L Hand" -0.132201 -1.903020 -2.238530 4.862900 2.078240 2.369790
$hbox 5 "Bip01 R Clavicle" 1.380000 -2.840000 -3.560000 5.690000 4.310000 4.310000
$hbox 5 "Bip01 R UpperArm" -1.880000 -2.470000 -2.160000 11.810000 3.280000 2.810000
$hbox 5 "Bip01 R Forearm" 0.440000 -1.970000 -2.340000 10.590000 2.720000 2.220000
$hbox 5 "Bip01 R Hand" -0.132201 -1.903020 -2.238530 4.862900 2.078240 2.369790
$hbox 8 "Bip01 L Hand" -16.100000 -6.500000 -19.000000 10.600000 1.500000 33.000000

$bodygroup studio
{
studio "arctic"
}

$bodygroup backpack
{
blank
studio "..\packs\bomb"
}

// 111 sequences
$sequence dummy "dummy" loop fps 24
$sequence idle1 "idle1" loop fps 15 ACT_IDLE 1
$sequence crouch_idle "crouch_idle" loop fps 10 ACT_CROUCHIDLE 1
$sequence walk "walk" LX loop fps 30 ACT_WALK 1
$sequence run "run" LX loop fps 60 ACT_RUN 1
$sequence crouchrun "crouchrun" LX loop fps 30 ACT_CROUCH 1
$sequence jump "jump" fps 36 ACT_HOP 1
$sequence longjump "longjump" fps 36 ACT_LEAP 1
$sequence swim "swim" loop fps 30 ACT_SWIM 1
$sequence treadwater "treadwater" loop fps 24 ACT_HOVER 1
$sequence crouch_aim_carbine "crouch_aim_carbine_blend1" "crouch_aim_carbine_blend2" "crouch_aim_carbine_blend3" "crouch_aim_carbine_blend4" "crouch_aim_carbine_blend5" "crouch_aim_carbine_blend6" "crouch_aim_carbine_blend7" "crouch_aim_carbine_blend8" "crouch_aim_carbine_blend9" loop fps 30 blend XR -90 90
$sequence crouch_shoot_carbine "crouch_shoot_carbine_blend1" "crouch_shoot_carbine_blend2" "crouch_shoot_carbine_blend3" "crouch_shoot_carbine_blend4" "crouch_shoot_carbine_blend5" "crouch_shoot_carbine_blend6" "crouch_shoot_carbine_blend7" "crouch_shoot_carbine_blend8" "crouch_shoot_carbine_blend9" fps 15 blend XR -90 90 { event 5001 0 "40" }
$sequence crouch_reload_carbine "crouch_reload_carbine" fps 30
$sequence ref_aim_carbine "ref_aim_carbine_blend1" "ref_aim_carbine_blend2" "ref_aim_carbine_blend3" "ref_aim_carbine_blend4" "ref_aim_carbine_blend5" "ref_aim_carbine_blend6" "ref_aim_carbine_blend7" "ref_aim_carbine_blend8" "ref_aim_carbine_blend9" loop fps 30 blend XR -90 90
$sequence ref_shoot_carbine "ref_shoot_carbine_blend1" "ref_shoot_carbine_blend2" "ref_shoot_carbine_blend3" "ref_shoot_carbine_blend4" "ref_shoot_carbine_blend5" "ref_shoot_carbine_blend6" "ref_shoot_carbine_blend7" "ref_shoot_carbine_blend8" "ref_shoot_carbine_blend9" fps 15 blend XR -90 90 { event 5001 0 "40" }
$sequence ref_reload_carbine "ref_reload_carbine" fps 30
$sequence crouch_aim_onehanded "crouch_aim_onehanded_blend1" "crouc
 
there are more animation sequences but they got cut off :/
 
Back
Top