Make Dead Bodies Jiggle
Make Dead Bodies Jiggle
In the Q3A mod I am trying to build (it will be a long time, don't hold your breath), I was wondering if it is possible to make dead player bodies jiggle and gyrate when shot. I liked that effect in CS, but I do not know if it is possible in Q3A. The corpse can be set to stay around for a bit before it disappears, but is that the limitation? Anyone have an answer to that?
[img]http://i534.photobucket.com/albums/ee348/dkrizvi/ronlee2REMAKE.jpg[/img]
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Make Dead Bodies Jiggle
If you are talking about a death animation, it's possible but you will have to explicitly add it to the MD3. It won't work with existing models, Q3A doesn't support skeletal animation.
Re: Make Dead Bodies Jiggle
i think he's referring to ragdoll physics
Re: Make Dead Bodies Jiggle
In Counter Strike when a hostage is killed it remains on the ground for a while. That corpse can be shot, stabbed --whatever, and it will jiggle from the reaction. In Q3 when a player dies the body slowly disappears with no other physical contact possible. So, once the body lays dormant, is it possible to have the after death jiggle before it disappears if the body is shot or stabbed? I hope my question is clearer now.
[img]http://i534.photobucket.com/albums/ee348/dkrizvi/ronlee2REMAKE.jpg[/img]
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: Make Dead Bodies Jiggle
It's possible but not easily. Check out CopyToBodyQue() (sic) in game/g_client.c. You will probably want to set body->touch to a function of yourself.