Animation before ragdoll

spunge

Newbie
Joined
May 11, 2007
Messages
279
Reaction score
0
Would it be possible to (without coding) change a hl2 / css player model, so that it on death instead of going straight to ragdoll it plays an animation (eg. hit animation) before becoming a ragdoll?
 
I do beleive thats what the ep2 hunters are doing when their health reaches 0.

They use heavy flinch animations and then falls instead of instant ragdolling.

I think you may have to wait for the SDK update to use such a thing in HL2 / CSS.
 
If I need to wait for an sdk update doesn't that mean it can only be done through coding, and not just the mdl & animation?
 
It's officially called death pose, probably part of the NPC AI (like run). Go ahead and add animations, it might work for all characters/player models.
 
there's no animation to modify though AFAIK :[
 
You can always do a new one. It's not that hard. Anyway, what modelling software do you have there?
 
Well I was just thinking of looking into it and maybe learning just for this one thing. I've got softimage and i've used most 3d apps before, just not always in conjunction with games. The most i've done with smds was with milkshape back in the day =]

But about adding a new animation, as I understand it, the game calls the animation and the model plays one of the sequences compiled into the mdl.

So if the game is saying Dead-->ragdoll, can I make it into Dead-HeadshotAnimation->ragdoll without the ability to modify the game at all?

(must be just using a model file)
 
Source Engine is very flexible (like Gold Source) for stuff like that. I'll do a small experiment (on a monster_generic) and let you know if it works.
 
whoa thanks, how did you go about doing that?

Further question, would it be possible to use different animations for different hits, ie. a 'headshot' fall before ragdoll, aswell as a regular body animation or just straight to ragdoll? (again, without game modification)
 
Yes, it is possible. Mine uses same animation for every deathpose (e.g. deathpose_back, deathpose_front and others).
 
Well, I'm trying to do it for CSS models ( by decompiling :< ) but there's loads of different ones which could be it. I've looked through some but I can't find any death pose smds

There's like, counterterrorist.mdl male_shared.mdl Player_animations.mdl then all the individual player models & more.

Can't find what I'm looking for in those, or it's not possible, or i'm looking for the wrong thing.


Edit:! wait I used the model viewer and found death poses in the individual model files like t_phoenix.mdl
 
Back
Top