Knocking down a dragon

Post » Mon Nov 19, 2012 7:14 pm

What it says in the title. I'm working on a little something that involves knocking down enemies that normally can't be knocked down.

It works by replacing the target with a duplicate race without the "No Knockdown" and "Not pushable" flags checked. In the case of Mammoths, I had to fix their "MammothKnockDown" animation to use the Ragdoll animation instead of StaggerStart.

But dragons, well... a dragon is another beastie altogether, isn't it? I know dragons can ragdoll, because they do it when they die. But any attempt to ragdoll it while still alive results in peculiar behavior, i.e. it getting stuck in the ground nose-down at about a 45 degree angle, slowing following the player around while remaining completely stiff. This happens when I SendAnimationEvent(target,"RagDoll"), RagdollInstant OR using PlayIdle with DragonActionKnockdownRoot, and of course the race has been swapped with a duplicate that can be knocked down, at least in theory.

Any ideas on what's going wrong, or how this can be done? Ideally I'd love to knock the dragon out of the sky and have it fall straight down to earth, but if I can ragdoll it after it's grounded normally, that would be sufficient.

Edit: Obviously, PushActorAway isn't working here. :P
User avatar
Lil'.KiiDD
 
Posts: 3566
Joined: Mon Nov 26, 2007 11:41 am

Post » Tue Nov 20, 2012 12:34 am

Don't the dragons only land on specific spots or markers? It sounds to me like "ragdolling" interferes with their position and moves them somewhere they shouldn't be.
User avatar
GEo LIme
 
Posts: 3304
Joined: Wed Oct 03, 2007 7:18 pm

Post » Mon Nov 19, 2012 11:01 pm

I'm sure that has something to do with it, since Dragons don't respond properly to the console "kill" command, and if you use damageav health to kill them, they'll still crash land before they actually die (and go ragdoll).

Still, I'm inclined to think there must be some way to do it. Any ideas?
User avatar
Pumpkin
 
Posts: 3440
Joined: Sun Jun 25, 2006 10:23 am

Post » Tue Nov 20, 2012 1:08 am

I don't normally bump but I'm really hitting a wall here. Can anyone think of a way to make this work, even in theory? Or are dragons just hardcoded with different behavior that makes them impossible to ragdoll while they're alive?
User avatar
Julia Schwalbe
 
Posts: 3557
Joined: Wed Apr 11, 2007 3:02 pm


Return to V - Skyrim