- Sep 9, 2008
- 53
- 32
I have been able to export static models without issue, but I would like to export models with simple idle animations.
I created a test model, made 2 bones and applied the skin modifier to the mesh and gave it a simple animation. But when I export the model, if I export the model as a reference SMD, in GUIStudioMDL it gives me this error:
If I export the collision as a sequence SMD, it will compile fine in GUIStudioMDL, but will not open in the model view, it just pops up with an error.
Any help would be greatly appreciated!
compile.qc
I created a test model, made 2 bones and applied the skin modifier to the mesh and gave it a simple animation. But when I export the model, if I export the model as a reference SMD, in GUIStudioMDL it gives me this error:
Code:
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
If I export the collision as a sequence SMD, it will compile fine in GUIStudioMDL, but will not open in the model view, it just pops up with an error.
Any help would be greatly appreciated!
compile.qc
Code:
$modelname "anim_test/anim_test.mdl"
$cdmaterials "models/anim_test"
$staticprop
$scale 1.0
$surfaceprop "wood"
$body "Body" "anim_test.smd"
$sequence "idle" "anim_test.smd" fps 30
$collisionmodel "anim_test_collision.smd"
{
$mass 200
$concave
}