Attempting to Compile an animated model for use as a Prop

Attempting to Compile an animated model for use as a Prop

Re: Attempting to Compile an animated model for use as a Prop Posted by fcm420 on Sun Dec 12th 2004 at 6:30am
fcm420
1 post
Posted 2004-12-12 6:30am
fcm420
member
1 post 0 snarkmarks Registered: Dec 12th 2004 Occupation: none Location: canada
Hey all,
ive been readin through alot old hl1 tutorials and what info i can find on hl2's info for creating animated models...

I
just have a 150 frame animation (with a biped ) attached to my model (
yes it is a character.. but i dont wish to make a deathmatch model or
anything playable ).. I just want to treat the character model with its
1 animation sequence ( a dancing loop ) , as a animated prop inside my
map
the dancing character cannot be shot or touched, its behind glass.. just needs to be seen.

I realize i can use a cycler or prop dynamic or something, once its in hammer..

my question is what do i need to do to compile this thing..

I have , 1 reference smd ( the model ,materialed and mapped just as a static prop would be )
i have 1 physics box smd ( i dont know how this applies to animated models? )

and then I have created a skeletal SMD of just the biped doing the 150 frame animated loop.. without the model present...

So In the main QC file for my model I have made this :

/*
male dancer QC
*/

$modelname models/maledancer/maledancer.mdl

$cdmaterials models/maledancer/maledancer.mdl
$origin 0 0 0 90
$scale 1.0
$body "Body" "maledancer_ref.smd"
$surfaceprop "wood"
$noforcedfade

$include "maledancer_shared.qci"

**** ok .. so in the maledancer_shared.qci file that is in the same dir as the .qc file i have...

/ --------- Animation sequences -------

$sequence dance_01 "dance01" loop FPS 30 activity ACT_dance01 1

//----- Physbox -----

$collisionmodel "maledancer_phys.smd" {
// Mass in kilograms
$Mass 120
$concave
}

*************** Am i on the right track here?...
I dont quite see where its loading the .smd file for the animation..
have have the skeletal animation smd file named dance01.smd

if
anyone can provide me with some instruction on what i need to change or
to do from here to complete the process please let me know

Thanks,

***EDIT***
I have read more, and perhapse I can have it all in one QC file?.. here is a new qc file, would this one work better?

/*
male dancer QC
*/

$modelname models/maledancer/maledancer.mdl

$cdmaterials models/maledancer/maledancer.mdl
$origin 0 0 0 90
$scale 1.0
$body studio "models/maledancer/maledancer_ref.smd"
$surfaceprop "flesh"
$noforcedfade
$sequence idle "maledancer_idle" loop fps 20
When I run studiomdl to try and compile the qc file i just pasted above,
i get :
Working on "maledancer.qc"
SMD MODEL models/maledancer/maledancer_ref.smd
ERROR: could not load file 'maledancer_idle.smd'
ERROR: Aborted Processing on 'models/maledancer/maledancer.mdl'

So I would assume there is something wrong with the way I exported the maledancer_idle.smd

It is only a biped skeleton, with a keyframed animation sequence 150 frames long.

i will send anyone the smd file or the max6 .max file if you can assist me with this problem?..

ive exported many static prop models without hassle, this is my first animated prop attempt.
Re: Attempting to Compile an animated model for use as a Prop Posted by Disgrntld on Fri Feb 25th 2005 at 7:49pm
Disgrntld
7 posts
Posted 2005-02-25 7:49pm
7 posts 11 snarkmarks Registered: Dec 28th 2004 Occupation: Software Engineer Location: Texas
maledancer?? May I ask what this is for? No one wants to help you with de_chipanddales..