Custom model not appearing in map

Aug 19, 2008
1,011
1,158
I followed Hawk´s Tutorial (http://forums.tf2maps.net/showthread.php?t=838&page=2) step by step, i got my textures right, the model appears correctly in the modelviewer, collisionbox etc....

... but as soon as i compile the map, i cant see my custom model.

edit:
fooled around a little bit, these are the results:


prop_static:
Error! prop_static using model "models/custom/bankvault.mdl", which must be used on a dynamic entity (i.e. prop_physics). Deleted.
Error loading studio model "models/custom/bankvault.mdl"!

prop_dynamic:
bankvault-model is invisible

prop_physics:
visible, but affected by gravity, ergo falling to the ground


has anyone a solution for that? i need it to be static
 

TheDarkerSideofYourShadow

L10: Glamorous Member
Apr 12, 2008
792
286
Can you post your .qc file for your model? Sounds like you missed a line in there, but it'd be nice to have a look at it just to be certain.
 

Altaco

L420: High Member
Jul 3, 2008
484
120
Did you add the $staticprop line to your .qc file when you compiled your model?

If that doesn't work, try prop_dynamic or prop_static with motion disabled.

EDIT: Goddamnit shadow, ninja'd.
 
Aug 19, 2008
1,011
1,158
my bankvault.qc:



$modelname custom/bankvault.mdl

$cdmaterials bankvault/

$staticprop

$scale 1.0

$body studio "bankvault.smd"

$sequence idle "bankvault.smd" fps 15

$collisionmodel "bankvault_collision.smd"
{
$concave
}
my bankvault.qc


$keyvalues
{
"prop_data"
{
"base" "metal.small"
}
}