Home Technical Talk

TF2 Compile OK, but MDL wont load

-DN-
polycounter lvl 20
Offline / Send Message
-DN- polycounter lvl 20
Heya Folks,

I am running into an issue where I compile my weapon model through GUIStudioMDL and it runs, says it completes the model with no errors...

yet when I try to load it in HLMV it locks up, and when I try to run it in the test map TF2 locks up... so somethings wrong.

Some backstory to this is, I got my model to work both in HLMV and in the test map following this TUT (http://www.polycount.com/forum/showthread.php?p=1150532) but like an idiot I deleted my QC file by accident and to get the file back I did a system restore. Well the system restore did not have the correct version of the QC file so I remade the QC file... and have had the same issue ever since.

things I have tryed to fix this...

Completely uninstalled steam, TF2, source SDK and then reinstalled them in this order..
TF2-SourceSDK-(ran TF2)-(ran SDK)

I re-exported all my SMD's out of 3dsmax, remade the QC with only the bare minimums and it compiles no problem... but will not load.

Here's the QC file... I'm just at a loss at what went wrong and if the system restore did something in windowsXP...

This model will replace the c_shotgun model.
************************************************************************

$modelname "weapons\c_models\c_spongegun\c_spongegun.mdl"
$model "body" "c_spongegun_reference.smd"

$cdmaterials "models\weapons\c_models\c_spongegun"

$upaxis Y

$hboxset "default"
$attachment "muzzle" "weapon_bone" 0.00 3.73 34.92 rotate -90.00 -0.00 0.00
$attachment "eject_brass" "weapon_bone" -0.80 3.25 10.76 rotate -11.66 162.02 -167.64
$surfaceprop "metal"
$illumposition -6.167 0.000 0.564


$collisionmodel "c_spongegun_phys.smd" {

$concave
$mass 4.0
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}

$sequence idle "c_spongegun_idle.smd" fps 30.00

Replies

Sign In or Register to comment.