Ok, so its obviously apparent that I'm trying to learn how to make prop models for HL2 if you saw my last post.
This time I'm trying to get a prop model with animations working. I managed to get the model to show up in the editor fine, but the animation sequence isn't working. I exported the scene a second time and chose skeleltal animation for the smd option so it should work fine, so I'm guessing the problem is in my QC file somewhere.
<font class="small">Code:</font><hr /><pre>$modelname brutal/props/fight_scene.mdl
$cdmaterials models/brutal/props
$staticprop
$surfaceprop "stone"
$scale 1.0
$body studio "F:/Brutal/Models/SMDs/props/fight_scene_ref"
$sequence idle "F:/Brutal/Models/SMDs/props/fight_scene_ref" loop fps 30
$sequence fight "F:/Brutal/Models/SMDs/props/fight_scene_anim" loop fps 30
$collisionmodel "F:/Brutal/Models/SMDs/props/fight_scene_ref.smd" {
$Mass 100
$concave
}
</pre><hr />
The only other thing I can think of is if there's some sort of limit to the number of frames the sequence can have. The entire sequence is 1680 frames.
Any ideas on what I might need to do to fix this?
Thanks again!
Replies
=========
G:\Steam\steamapps\torquemod\sourcesdk\bin\ep1\bin>studiomdl F:\Brutal\Models\SM
Ds\props\fight_scene.qc
qdir: "f:\brutal\models\smds\props\"
gamedir: "g:\steam\steamapps\torquemod\half-life 2 deathmatch\hl2mp\"
g_path: "fight_scene"
Working on "fight_scene.qc"
SMD MODEL fight_scene_ref.smd
SMD MODEL F:/Brutal/Models/SMDs/props/fight_scene_ref.smd
SMD MODEL F:/Brutal/Models/SMDs/props/fight_scene_anim.smd
G:\Steam\steamapps\torquemod\sourcesdk\bin\ep1\bin>
==========
And $propdynamic isn't a command you can use.
Any ideas now?
try reducing frame count? i got nuthin
So now I just have to link each of the pieces to a root bone and export it like that. Should be fairly easy.
Thanks guys!
Oh, and the $staticprop was causing the problem