
A technical breakdown of how FromSoftware implements NPC and boss AI in Elden Ring using a pushdown automaton built on Havok Script (a Lua variant). The system uses a stack of 'Goals' rather than a flat FSM, allowing composable, hierarchical behavior through sub-goals, weighted random action selection, interrupt callbacks for reactive behavior, and animation-driven execution. The post compares this approach favorably against Behavior Trees and planners like GOAP, arguing it is faster, more legible, and gives designers and animators meaningful control.
Nguồn: https://nega.tv/posts/low-tech-ai-of-elden-ring.html. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
A walkthrough of a custom Lua script for mpv that enables visual video clip creation using chapter markers and FFmpeg. The script adds four key bindings to set start/end markers, create clips, and clear markers. FFmpeg handles the actual clip extraction without re-encoding. Quality-of-life features include auto-pausing after setting the end mark, on-screen timestamp display, safe auto-incrementing file names, and preserving the original file's modification timestamp.