PDA

View Full Version : DoD Physics


MBosta
09-28-2006, 07:32 PM
I have noticed this a lot in dod source where if someone got his head blown off, they'd do like a backflip or their body would get thrown in to the wall. Also, a chest shot would make it so the body goes splats on the wall directly behind the player. Don't know if this is possible, but if it is, that'd be amazing.

Wilson [29th ID]
09-28-2006, 07:55 PM
Hey there Sarge.

If this kind of thing involves the players body doing different movements than they already do, that involves the .mdl file of the player. The animations are built in - there are animations for getting shot in the head, the chest, behind, etc. and the player's body moves accordingly. Theoretically you could reanimate the body in the model, but it's got nothing to do with a plugin. To code a player doing a backflip is theoretically possible...but it's 1000x easier to reanimate it in the model.

As far as splats on the wall, blood wise it's possible by creating a "tempdecal" of blood splattering.

You should try the ultimate gore mod and see if that suits your needs. We have it running on our server in "medium" mode if you want to check it out.

MBosta
09-28-2006, 08:11 PM
o ok thanks Cpt, but if you have ever played DoD source, like if you snipe someone in the head, their body jekrs backwards, i'll def try out the gore mod on ur server.