tofu Posted February 12, 2009 Report Posted February 12, 2009 Hey guys, First time trying to get an animation into source, and it's not working Anyone see a problem with the below .qc I have for my model? I can see the "playing" animation under Sequences in the editor, but the animation doesn't play (even in preview window). It's a simple 1 bone, 360 degree rotating animation so I can't see how something in max may be screwed... but if anyone has any ideas - I'm all ears. $modelname "plgh/plgh_model.mdl" $body "Body" "plgh_model.smd" $cdmaterials "plgh" $staticprop $scale 1 $surfaceprop "Metal" $sequence playing "plgh_model_anim" loop fps 30 $collisionmodel "plgh_model.smd" { $concave } The anim sequence export is named plgh_model_anim.SMD Quote
AlexM Posted February 13, 2009 Report Posted February 13, 2009 you have the switch $staticprop in there. That defines the model as a static non-animated model IIRC. Try removing it and I think it should work. Quote
tofu Posted February 14, 2009 Author Report Posted February 14, 2009 Awesome, that worked a treat. Thanks mate! Quote
Wunderboy Posted February 18, 2009 Report Posted February 18, 2009 Yeah just for reference, when you use the $staticprop flag it removes ALL bones from the model/anim and creates a single "root" bone at the world origin (0,0,0) and parents everything to that. Quote
Pericolos0 Posted February 18, 2009 Report Posted February 18, 2009 would it be possible to set up a model to use a root point like that as origin? Then i can set up multiple models in one max scene and export them without having to reposition them at 0,0,0 everytime =)! Quote
Wunderboy Posted February 19, 2009 Report Posted February 19, 2009 Well in the context of a breakable prop, $autocenter is probably what you want. Might work for non-breakables too. Quote
AlexM Posted February 20, 2009 Report Posted February 20, 2009 thanks for the in depth explanation wunderboy also thanks for the tools! you've made hl2 editing MUCH easier, I use your tools every day Quote
Wunderboy Posted February 23, 2009 Report Posted February 23, 2009 thanks for the in depth explanation wunderboy also thanks for the tools! you've made hl2 editing MUCH easier, I use your tools every day Send cash. Now. Quote
kayanat Posted March 12, 2009 Report Posted March 12, 2009 I AM AN IDIOT ASKING FOR WAREZ -Pericolos0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.