ERROR!: Can't create physics object for models/de_dish/modelname.mdl. . .

  • Thread starter Thread starter dayglo
  • Start date Start date
D

dayglo

Guest
Hi there,

I cannot find any help in the sourcesdk docs, and google isnt helping, so I thought would ask to see if anyone else has had this. . .

I am using XSI to create a simple prop_physics model. I exported the ref. and phys. models, they seemed to compiled ok, they show up in hammer OK. My .qc is below:

====
"$modelname" "de_dish\de_dish_entryphone.mdl"
"$scale" 1.0
"$body" "Body" de_dish_entryphone.smd
"$sequence" idle "de_dish_entryphone" fps 15 ACT_IDLE 1
"$surfaceprop" "metal"
"$keyvalues" { "prop_data" { "base" "Metal.Medium" } }
"$cdmaterials" "de_dish"
"$collisionmodel" "de_dish_entryphone_phy.smd" {

$concave
$mass 2.0
}
====
But when I run the map, I get this error twice in the console:

ERROR!: Can't create physics object for models/de_dish/de_dish_entryphone.mdl

If anyone could usher me in the right direction I would be so grateful!

dayglo
 
How does your physic model looks like? How did you do it? I use Max but it should be similar. Use only cubes and for each cube, put all the faces on the same smoothing groups and it should be different smoothing gorups for the different cubes. You can vertex edit the cubes but you shouldn't add/remove faces.
 
My object is a box with one side sunken in - so it's concave. Does this matter?

In any case, I tried using a cube as the physics model and it didn't change the error :(

I havent come across smoothing groups in XSI - I've just had a quick look and I cant find anything in the docs. . . Are they similar to smoothing groups in hammer?
 
I recompiled with a normal box shaped physics model and it started working.

One thing I did notice tho, I had to restart cs:s for the model to show up after i recompiled. . . is there a cache of some kind?

If so, how do I flush it?

Thanks for your help,
 
u can just export one smd and use it for the ref and the phys. also check u have the texture assigned and have a bone attached although xsi creates one if u dont have any in the scene when u export
 
Back
Top