HELP COMPILING.im close to a noob


psykotic_chiken
01-04-2004, 08:16 PM
i have been modeling ang skinning and modding for different games for a year or so.i have played dod for years and today,i decided to try to get a model ingame.i have taken someones sten(cant remember but was released on theses forums.it has a wooded stock and a vertical wooden front handle,but i wanted a silencer on it.so i decompile the v_sten.mdl into a sten folder on my desktop,all i did was add the silencer,map it and assign it to the weapon bone.then i exported the reference.smd file to the sten folder(with the animations and textures)and edited the .qc
file.i drag the .qc file to my studiomdl.exe on my desktop,and the window comes up.but it doesent make a .mdl.i think there is a problem with my .qc file.take a look

__________________________________________________
$modelname "C:\Documents and Settings\Owner\Desktop\v_sten.mdl"
$cd "C:\Documents and Settings\Owner\Desktop\sten\"
$cdtexture "C:\Documents and Settings\Owner\Desktop\sten\"
$cliptotextures
$externaltextures

$scale 1.0

// 2 attachments
$attachment 0 "weapon" 0.000000 -22.700001 0.900000
$attachment 1 "weapon" -1.000000 -6.000000 1.000000

// 0 bone controllers

// 11 hit boxes
$hbox 0 "Bone04" -10.612760 0.000000 -13.685144 10.801794 9.412024 0.000000
$hbox 0 "weapon" -1.530000 -26.480000 -8.900000 4.580000 22.209999 3.540000
$hbox 0 "magazine" 0.000000 0.000000 -0.700000 14.810000 2.210000 0.830000
$hbox 0 "handle" -1.670000 -6.740000 -1.480000 0.840000 0.470000 0.640000
$hbox 0 "Bone07" -2.370000 -2.350000 -1.340000 1.770000 5.550000 1.190000
$hbox 0 "Bone08" -1.959517 -0.710000 -1.110000 0.220000 1.850000 0.870000
$hbox 0 "Bone09" -1.600000 -0.510000 -0.970000 0.370000 1.260000 0.550000
$hbox 0 "Bone40" -4.200000 -0.820000 -2.840000 3.890000 17.820000 3.560000
$hbox 0 "Bone42" -1.850000 -0.280000 -1.250000 2.300000 5.540000 1.150000
$hbox 0 "Bone43" -0.200000 -0.690000 -1.110000 1.972922 1.870000 0.870000
$hbox 0 "Bone44" -0.340000 -0.470000 -0.940000 1.630000 1.312019 0.580000

$bodygroup gun
{
studio "sten_reference_hi"
}

$bodygroup sleeve
{
blank
studio "brit_sleeve"
studio "axis_sleeve"
}

// 4 sequences
$sequence idle "idle" fps 16
$sequence reload "reload" fps 58 { event 5004 32 "weapons/tommy_reload_clipout.wav" } { event 5004 122 "weapons/tommy_reload_clipin.wav" } { event 5004 152 "\weapons\tommy_draw_slideback.wav" }
$sequence draw "draw" fps 40 { event 5004 1 "weapons/rifleselect.wav" }
$sequence shoot "shoot" fps 25 { event 5001 1 "31" } { event 6002 1 "0" }
__________________________________________________

strider_d_3000
01-04-2004, 10:19 PM
try compiling it with milkshape itll usually tell u whats wrong with it

psykotic_chiken
01-04-2004, 10:31 PM
it crashes when i compile .qc file,it says grabbing:c:\blah bla\desktop\sten\/shoot.smd

is those double slashes sposed to be there?

Billie|Joe
01-04-2004, 10:41 PM
yah

psykotic_chiken
01-04-2004, 11:09 PM
does anyone see anything wrong with the qc file? because milkshape crashes after it grabs all parts.it never makes a mdl

Sushi
01-05-2004, 02:41 AM
Are the textures 256 colors (8-bit) bmps? Thats what usually causes compiling crashes.

MaRzY
01-05-2004, 04:00 AM
I would say that it's probably down to the hit boxes, because you have added the silencer, try deleting the 11 hit box references from the QC file, then compile see if that works.

"That someones sten", looks like mine judging from the reference name of the model. If you do intend to release your work on this model to the public , please make sure you give full credits to those involved with the model, which you will find in the readme that was included in the original release of the model.

Thanks.

psykotic_chiken
01-05-2004, 11:19 AM
man,if i make those textures 256 they look purple and look like ****:(

psykotic_chiken
01-05-2004, 11:41 AM
ok,now.i have it compiled and ingame now that i took the hitboxes from the .qc file,but its way way out in front of you,the arms dont even reach the bottom of your screen,and the textures are backwards(fixing with flip)and theres a little wrong with the reload.theres a black thing linking the clip to the side mag housing.i can fix everything but the large distance in front of me.do you guys think if i moved it back a little in milkshape then recompiled it would be fixed?

psykotic_chiken
01-05-2004, 12:00 PM
sry to spam,im posting as i encounter problems.i fixed the clip by detatching it from the mag housing and assigning it to the mag bone.i then fliped the textures.i think when i fliped the textures they got bigger or something.i have tried everything,and now it wont compile,the last thing i did was detatch the mag.is that the problem?

psykotic_chiken
01-14-2004, 04:16 PM
Originally posted by psykotic_chiken
ok,now.i have it compiled and ingame now that i took the hitboxes from the .qc file,but its way way out in front of you,the arms dont even reach the bottom of your screen,and the textures are backwards(fixing with flip)and theres a little wrong with the reload.theres a black thing linking the clip to the side mag housing.i can fix everything but the large distance in front of me.do you guys think if i moved it back a little in milkshape then recompiled it would be fixed?

help plz

R3aveR
01-14-2004, 05:02 PM
i think u have and origins problem.

Billie|Joe
01-14-2004, 05:11 PM
yah i notice this too if you use the regular decompiler in milkshape. next time use kratisto's mdl decompiler instead of teh "normal mdl blah blah decompiler"

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.