Jump to content

Dragon crash landing?


NanakoMagojiro

Recommended Posts

inspired by a random request/idea from someone, i'm poking around in the code, trying to figure out how dragon crashing works.

 

I've seen it a few times, when weak enough a dragon can land in an uncontrolled manner, skidding across the ground and creating a big dirt trail behind it. there's custom sounds, fx and everything, it's definitely intended functionality, though it seems rarely used. I'm having little luck in figuring out exactly when or how it works.

 

what i've found so far is an object, DragonMarkerCrashStrip which from the looks of it is what the dragons need nearby to crash land on. There's a total of about 50 of them, places all around skyrim.

 

The only reference to them that i can find so far though, is a set of scripts and assets for an E3 demo, presumably where they showed a dragon crashing.

In actual production scripts, the only similar thing i've found is some commented-out code about animation states, that seemed to be concerned with making a falling dragon bleed, and was abandoned.

 

 

I'm wondering if anyone might know more on the issue. point me towards a script, ai package etc, that might be relevant? any information is appreciated

Link to comment
Share on other sites

inspired by a random request/idea from someone, i'm poking around in the code, trying to figure out how dragon crashing works.

 

I've seen it a few times, when weak enough a dragon can land in an uncontrolled manner, skidding across the ground and creating a big dirt trail behind it. there's custom sounds, fx and everything, it's definitely intended functionality, though it seems rarely used. I'm having little luck in figuring out exactly when or how it works.

 

what i've found so far is an object, DragonMarkerCrashStrip which from the looks of it is what the dragons need nearby to crash land on. There's a total of about 50 of them, places all around skyrim.

 

The only reference to them that i can find so far though, is a set of scripts and assets for an E3 demo, presumably where they showed a dragon crashing.

In actual production scripts, the only similar thing i've found is some commented-out code about animation states, that seemed to be concerned with making a falling dragon bleed, and was abandoned.

 

 

I'm wondering if anyone might know more on the issue. point me towards a script, ai package etc, that might be relevant? any information is appreciated

 

I recall doing some testing around this. Set SetAllowFlying state to false on the dragon and I think that will force him to crash. I remember doing that once and having it crash very shortly afterward.

 

-MM

Link to comment
Share on other sites

A little update. so far it seems i can reproduce it reliably by hitting a dragon with 99999 damage. it will crash land and then immediately die when that animation finished

 

So clearly, the low health thing definitely works. However i've had no luck finding exactly where this is defined. I've had textcrawler do a search of the source of all scripts for references to the crashlandingmarkerstrip, with no luck/. I'm thinking it's something that must be handled through AI packages, but i've traced the dragon's AI up as far as i can and found no reference.

 

i'd greatly appreciate any information on where this behaviour is defined.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...