Posted By: Quad
[Feature Request] Playing animations from another mdl7 - 09/11/09 17:09
So i am making a "real" game for the first time.
Animations and the mdl7 is all fine but i have around 24 diffrent character models using same skeleton(bone names, skeleton structure etc are all same).
And then i have some animations, diffrent walkcycles, action animations etc. there are(will be) like 120 animation sequences. All sequences are using same bones and skeleton with the models too.
Now what i would like to do is being able to play this animations on model files. Let me explain:
the character model is a mdl7(girl_a.mdl) file that includes model mesh,skin,sekeleton and "only" one default pose frame.
say, i have another mdl7(walk_shared.mdl) with no mesh,no skins, only bones and animation frames. lets say i have 300 frames and 3 animations like:
1-100 walk_slow , 101-200 walk_fast, 201-300 walk_run
now what i would like to do is use that animation mdl7 on the model mdl7 like:
ent_animate2(me,"walk_shared.mdl","walk_fast",percentage,ANM_CYCLE);//or whatever funciton name you like
i have files that only has one sequence and some files has 10 sequences.(i guess even animating only one model (girl_a) and be able to use girl_a's frames on girl_b,girl_c can be acieved using same function)
i guess that would be a lot usefull to the MMO project too.
Regards, Quadraxas.
Animations and the mdl7 is all fine but i have around 24 diffrent character models using same skeleton(bone names, skeleton structure etc are all same).
And then i have some animations, diffrent walkcycles, action animations etc. there are(will be) like 120 animation sequences. All sequences are using same bones and skeleton with the models too.
Now what i would like to do is being able to play this animations on model files. Let me explain:
the character model is a mdl7(girl_a.mdl) file that includes model mesh,skin,sekeleton and "only" one default pose frame.
say, i have another mdl7(walk_shared.mdl) with no mesh,no skins, only bones and animation frames. lets say i have 300 frames and 3 animations like:
1-100 walk_slow , 101-200 walk_fast, 201-300 walk_run
now what i would like to do is use that animation mdl7 on the model mdl7 like:
ent_animate2(me,"walk_shared.mdl","walk_fast",percentage,ANM_CYCLE);//or whatever funciton name you like
i have files that only has one sequence and some files has 10 sequences.(i guess even animating only one model (girl_a) and be able to use girl_a's frames on girl_b,girl_c can be acieved using same function)
i guess that would be a lot usefull to the MMO project too.
Regards, Quadraxas.