Joel Burgess Profile picture
Aug 18, 2021 14 tweets 6 min read Read on X
Alright, so inspired by @NPurkeypile's bee post yesterday, here is one of my favorite bits of Skyrim oral history - the myth of the treasure fox.

I've told this story before in talks/etc, but I don't think I've shared it with twitter. Here goes. Image
Among Skyrim players, you'll occasionally see this tip: if you see a wild fox, follow it and you'll be led to treasure.

Sometime shortly after shipping, we saw this going around online, and an informal investigation started. Who made foxes do this?!
The usual suspects got interrogated - myself,
@jean_simonet @Jonahlobe and @Markiepo0 , among others. Nobody confessed.

I got curious and started digging around in the scripts - nothing.

So if nobody MADE this behavior, what's up?

Jean figured it out. (as usual)
Skyrim uses something called 'navmesh' for AI navigation.

For non-dev folks, this is an invisible 3D sheet of polygons that is laid over the world, telling AI where it can and cannot go.

This red stuff is navmesh. You can read about it here: creationkit.com/index.php?titl… Image
In most situations, you're seeing AI decide what do to (run at player, hide in cover, etc), use navmesh to make a path, and navigate along that path.

Foxes are no different. But their AI is very simplified: they basically can *only* run away.

If you spook a fox, it flees.
So foxes flee. Why would they flee towards treasure?
🦊👑💰
This is where it gets interesting.

If you're close to an AI, it's in "High Process", or the most fancy, cpu-intensive pathfinding. It uses the full navmesh and will do things like line of sight and distance checks.
To contrast, there's also "Low Process" - used for stuff like NPCs walking a trade route across the world.
These are only updated every several minutes, and position is tracked very loosely.

The bandit stabbing your face, however, is running nav stuff many times per second.
So @jean_simonet knew something that I didn't (as usual)

There is a sort of "Medium Process" for characters nearby, but who didn't need the complex pathing of combat.

Because of the way the fox's AI worked (always be fleeing!) it's basically ONLY using this process.
This is where understanding of how Skyrim uses navmesh comes in.

Swaths of the outdoor world have simple navmesh. You don't need to add lots of detail in a space with basic topography, little clutter, or a low chance of combat.

So wilderness = small number of big triangles.
When you stumble across something like a camp, however, navmesh gets way more detailed. Added visual detail means added navmesh detail, and if we're placing NPCs of any kind, we also tend to add even more detail.

So Points of Interest = big number of small triangles.
You see where this is going?

The Fox isn't trying to get 100 meters away - it's trying to get 100 *triangles* away.

You know where it's easy to find 100 triangles? The camps/ruins/etc that we littered the world with, and filled with treasure to reward your exploration.
So foxes aren't leading you to treasure - but the way they behave is leading them to areas that tend to HAVE treasure, because POIs w/loot have other attributes (lots of small navmesh triangles) that the foxes ARE pursuing.

To players, however, it's the same thing.
It's a nerdy little story, but I love it.

Emergent Gameplay is often used to describe designed randomness, but this is a case of actual gameplay that NOBODY designed emerging from the bubbling cauldron of overlapping systems.

And I think that's beautiful.
BTW ICYMI ETC - here's the post from @NPurkeypile that I mentioned at the top. Fun read if you like criminal bees.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Joel Burgess

Joel Burgess Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @JoelBurgess

Jun 27, 2021
I said goodbye today to River, who most of you know as Fallout 4’s Dogmeat.

Heartbroken doesn't cover it, but I won’t eulogize her here. For twitter, I thought it'd be appropriate to look back at her impact on that game.

(plus, writing about game dev hurts less than grieving) ImageImageImageImage
But first, I encourage you to volunteer w/your area rescue. If you can’t volunteer, make a donation to @ASPCA, @HSIGlobal, or a local group.

Consider rescue animals first when adopting, and choose responsibly when working with breeders.

Please spay/neuter + vax your pets. 💙
This thread is essentially a long form of the story I always tell about River’s role in Fallout 4; that she was the antidote to my biggest worry for the Dogmeat character – a canine weapon, and nothing more.

What we wanted was a companion first, and a combat ally second. ImageImageImage
Read 21 tweets
Jan 22, 2021
I joined a gripe-fest last night about LD "diagrams" that are just receding lines over a screenshot.

I wanted to interrogate my pet peeve, though: there's nothing *wrong* with markup analysis! Maybe I'm just a curmudgeon!?
(For context, this is the tweet in question, which dunks on this style of diagram. If nothing else, it helped me feel a bit less alone in my annoyance.)

So WHY are these diagrams so annoying?

For one: there are a lot that do nothing more than trace vanishing point.

The person who drew these red lines pointed out the LD subtly indicating direction.

I'm the LD here. It's just a 1-way hall, yo.
Read 10 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(