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?
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.
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?
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)
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