The Low-Tech AI of Elden Ring

(nega.tv)

Comments

drunken_thor 5 hours ago
This is behaviour trees. What you’re describing is behaviour trees. Edit: I see later you say it isn’t a behaviour tree but this is how a lot of BTs are implemented. They don’t always loop from the root. A lot of the time according to state the root is redefined off of a branch and that sub tree is looped until going further down the tree or even into a different tree. Much like the stack you are describing.
cgh 4 hours ago
Perhaps this explains why Fromsoft npc quests are easily the most inscrutable in all of gaming. Like, okay Hyetta, have another “grape”, aka eyeball, oh now you’ve moved to the bridge in Liurnia, cool. I’ve exhausted your dialogue but you’re stuck. Oh I have to reload the area and exhaust it again to advance your quest. Okay, cool. Now you’re in a random church and you want a “fingerprint grape”. What?

It’s all part of the Fromsoft experience but man, who writes these things?

raincole 4 hours ago
As a game dev, the fact "AI" as a keyword became totally unusable is quite annoying.
badsectoracula 3 hours ago
The article keeps on mentioning about the performance issues of the decision tree that somehow this approach avoids, but it doesn't seem to actually put any real detais about the why here. Especially considering that:

1. Many scripting languages you'd find in games are implemented by evaluating the syntax tree directly (IIRC WitcherScript in Witcher 2 and 3 is implemented like that)

2. A behavior tree can be "compiled" down to a bytecode VM similar to what some scripting languages use

Though if any of these two approaches makes any difference in performance i'm not sure and i'd expect it'd depend heavily on how exactly they're implemented (my kneejerk reaction would be to expect the VM approach to be faster because parsing a bytecode sequence might be more cache friendly than jumping through pointers, but i also suspect that since game AI scripts/behaviors wont do any real computation themselves and instead 99% of the code would be engine/native calls, any potential benefit would be diminished -- but as i haven't tried to implement the same stuff with a realistic setup using both approaches to compare, i cannot say one or the other for certain).

8note 1 hour ago
this gets very clear when you look at the wiki on how different bosses move and how the different boss combos lead from one into another

and of course, lets you have a reasonable amount of control over different bosses

tokai 5 hours ago
Low tech AI? Its sounds like standard game AI. I would really like to hear what the author would deem high tech game AI.
rambojohnson 3 hours ago
What do you mean by "low-tech AI"? This isn't AI...It's a behavior tree. Calling every decision-making system "AI" is like calling a flowchart a neural network.

What you're describing is a behavior tree: predefined logic, predefined responses, no learning, no inference, no model.

Stop calling everything AI, guys.