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" }
__________________________________________________
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" }
__________________________________________________