When the npc is hit, hide the npc and create the ragdoll. Trace the ragdoll
so you can tell which way it landed and have it blend into an animation of
getting up. Then move the hidden npc into place where the ragdoll is and set
its animation to the ragdolls, kill the ragdoll and show the npc. Thats all
I can think of with source in mind.

On Sun, Aug 3, 2008 at 10:48 AM, Tom Edwards <[EMAIL PROTECTED]>wrote:

> NPCs aren't physically simulated unless they fly. What you are trying to
> do is incredibly difficult and only a handful of games have ever
> achieved it.
>
> One of them was Dark Messiah, though the effect that gets people back on
> their feet is a bit basic. But since it's on Source you may want to look
> into it anyway.
>
> Xaz wrote:
> > Hi everyone,
> >
> > I'm making a mod where I've created a new gun which like the grav gun
> > affects objects with physics, including NPCs, however I don't want to
> kill
> > them after I've applied forces to them. I've looked at the mega grav gun,
> > but it turns the objects to ragdolls when it grabs them, which as far as
> I
> > can tell means they have to die. My problem lies in the fact that I don't
> > know which way the npcs will land (on their backs, fronts, head) and
> getting
> > them back onto their feet before they start attacking again is the
> problem
> > I'm having at the moment.
> >
> > Any suggestions please!
> >
> > Xarius
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> >
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


-- 
~Ryan
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to