The NPC Intelligence of Half-Life 3: Every Last Detail - Ep5
| Field | Value |
|---|---|
| Video ID | FT-fH7ZVqKo |
| URL | https://www.youtube.com/watch?v=FT-fH7ZVqKo |
| Release date | 2026-03-23 |
| Duration | 0:09:50 |
| Series | Every Last Detail |
| Summary status | complete |
Overview
Episode 5 of the “Every Last Detail” series catalogues what Tyler describes as the traditional NPC artificial-intelligence systems present in Source 2 engine data associated with HLX. He walks through navigation spaces, moods, flinch and damage types, a destructible body-part system, entity modifiers, level-designer tuning options, base NPC VData schemas, abilities, schedules, and the rewritten squad system. Most claims are presented as findings from roughly five years of datamined engine and VData files rather than from official statements; Tyler explicitly notes uncertainty about what uses specific damage types and about the contents of NPC task lists. The overall tone is descriptive, with only a few clearly flagged inferences, such as a speculative link between sonic damage and houndeyes.
Mentioned events
NPC navigation spaces (grids)
- Description: NPC navigation in Source 2 has received “significant overhauls and additions.” NPCs support multiple navigation spaces, described as grids, allowing them to understand and move through on-ground, in-air, and underwater spaces, and to behave differently when on foot, swimming, or flying. Tyler characterizes this as “extremely dynamic” compared with Half-Life 2 or even Half-Life: Alyx.
- Confidence: Fact — presented as a direct finding in the engine data (“NPC navigation in Source 2 has received significant overhauls and additions”).
- Category: Engine feature
- Source: Datamined Source 2 engine files accumulated over roughly five years, as described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — confirmation would require the specific Source 2 navigation-space definitions or VData schema in an HLX build.
Moving platforms, gravity-shifting spaces, and crawling
- Description: NPCs can traverse moving platforms and navigate gravity-shifting environments, described as places where one can “seamlessly orbit around an object.” NPCs can also crawl through spaces they cannot reach by crouching.
- Confidence: Fact — stated as capabilities of the NPC system, without hedging.
- Category: Engine feature
- Source: Datamined Source 2 engine files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — would require the corresponding NPC movement/navigation definitions in engine data.
Mood system and mood files
- Description: Moods are described as subtle visual flair used to vary NPC animation: facial expressions, eye looks, and gestures. NPCs have assigned mood files, and moods affect animations in “very subtle ways.”
- Confidence: Fact — described as an implemented system with per-NPC assigned mood files; no hedge offered.
- Category: Engine feature
- Source: Datamined Source 2 engine/VData files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — a mood VData file or NPC mood assignment entry would confirm it.
Four new flinch damage types
- Description: Flinching is an NPC’s small body-movement reaction to taking damage. Many flinch types carried over from Half-Life 2, and flinches are categorized as small, stationary, and large. Four new damage types have been added: burn damage, sonic primary damage, sonic secondary damage, and Newton damage. Tyler states plainly, “We don’t know what makes use of these types.”
- Confidence: Fact — the damage-type list is presented as read from engine data; Tyler explicitly acknowledges the unknown usage rather than filling the gap.
- Category: Engine feature
- Source: Datamined Source 2 engine files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — the damage-type enumeration and any referencing entities or weapons in engine data would confirm it.
Speculative link between sonic damage and houndeyes
- Description: Tyler speculates that the new sonic primary and sonic secondary damage types likely relate to houndeyes, which he says the channel has previously argued are likely to return in HLX. No evidence tying houndeyes to those damage types is offered.
- Confidence: Speculation — explicitly framed as “speculation”; Tyler concedes the usage of the damage types is unknown.
- Category: Gameplay
- Source: Tyler’s inference from the existence of sonic damage types in the datamined engine data.
- Earlier mentions: References the earlier, unnamed claim that houndeyes are likely returning in HLX; no new evidence is added and that claim is unchanged.
- Verification: needs follow-up — a houndeye entity, ability, or damage-type assignment in HLX data would confirm it.
Destructible NPC body-part system
- Description: Valve has expanded Half-Life: Alyx’s limited destructible mechanics (shooting a Combine grunt’s backpack to make it explode, shooting off antlion legs to make them vulnerable) into a full game system. The destructible part system allows every body part to be destroyed — legs, arms, head, chest, gear, and so on. An NPC’s behavior and animation may change depending on which part is missing; destroying certain parts can kill immediately; some parts can only be destroyed when gibbing the NPC into a pile of gibs.
- Confidence: Fact — presented as a system read from the engine data, with the Alyx precedents cited as background.
- Category: Engine feature
- Source: Datamined Source 2 engine files; comparison to Half-Life: Alyx mechanics by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — destructible-part definitions and hitgroup-to-destruction mappings in HLX data would confirm it.
Comparison to Doom Eternal weak-point system
- Description: Tyler says the destructible part system “could be very similar to Doom Eternal’s destructible demon weak point system,” based on his current understanding.
- Confidence: Speculation — hedged as “as far as we understand it, this could be very similar to.”
- Category: Gameplay
- Source: Tyler’s comparison between the datamined system and Doom Eternal.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — gameplay-facing implementation details in HLX would show whether parts act as weak points.
Entity modifiers
- Description: Modifiers are effects applied to entities — NPCs, objects, or the player — that depict events or change behavior. Modifiers found in the code include entering or exiting a vehicle, forcing an alert state on an NPC, and disabling crouching between NPCs. Tyler’s example: a stun grenade could apply stun, increased “mouth sensitivity,” and disarm to the player. NPC abilities can also receive modifiers.
- Confidence: Fact — Tyler states these modifiers were “found in the code.”
- Category: Engine feature
- Source: Datamined Source 2 engine code described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — the modifier enumeration in engine data would confirm it.
Level-designer NPC tuning controls
- Description: Level designers can more finely tune NPCs in a level: forcing them to aim their weapons, forcing them to use specific movement gates, spawning them already hunting the player, and restricting their interest to specific points in the map.
- Confidence: Fact — described as available level-authoring controls, without hedging.
- Category: Engine feature
- Source: Datamined Source 2 engine/VData files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — the corresponding entity I/O or spawnflag definitions would confirm it.
Expanded sound-reaction system
- Description: NPCs react to different sound types. The system existed in Half-Life 2 but has been expanded to include reactions to glass breaking, physics objects moving, warnings from friendly NPCs, and food, the latter of which Tyler suggests is likely tied to Xen creatures seeking food.
- Confidence: Mixed — the expanded reaction categories are described as engine data; the food/Xen-creature explanation is Tyler’s inference (“likely tied to”).
- Category: Engine feature
- Source: Datamined Source 2 engine files described by Tyler; Xen-creature motivation is Tyler’s inference.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — sound-event response tables and any Xen creature references in NPC data would confirm it.
Base NPC VData schema and hitgroup damage
- Description: A VData file exists for base NPC behavior, representing a base NPC schema that almost every NPC in the game derives from. NPCs can be restricted to specific navigation spaces (for example only ground or only water). Damage taken varies by hit location — chest, head, stomach, arms, legs — and those values fluctuate with the game’s difficulty setting.
- Confidence: Fact — presented as a file read from the data; Tyler references having covered it in the earlier mechanics video.
- Category: Engine feature
- Source: Datamined base NPC VData file described by Tyler.
- Earlier mentions: Explicitly cites “the mechanics video” in this series, where the base NPC behavior VData file was previously discussed; no change to that earlier description is noted.
- Verification: needs follow-up — the base NPC VData file and its difficulty-scaled hitgroup multipliers would confirm it.
Vehicle-hit temporary ragdoll and partial engine removal
- Description: NPCs can enter a temporary ragdoll state when hit by a vehicle and do not necessarily die, unlike the Hunters in Episode 2; vehicle damage must pass a threshold to kill. The duration of the temporary ragdoll scales with damage — a crate causes a short ragdoll, a car much longer. Tyler notes some of this material “was removed from the engine files semi-recently,” but says that does not mean it was cut from the game.
- Confidence: Mixed — the ragdoll/threshold behavior is described as engine data; the interpretation of the recent removal is Tyler’s own reasoning.
- Category: Engine feature
- Source: Datamined Source 2 engine files described by Tyler, including observation of recent file removals.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — comparing current and earlier engine builds for the vehicle-ragdoll entries would show what was removed.
NPCV VData file from Aperture Desk Job (March 2022)
- Description: A second, “more robust” NPC VData file was found in Aperture Desk Job around March 2022. Tyler argues Valve has “evolved even more” since that file is nearly four years old.
- Confidence: Mixed — the file’s provenance and approximate date are stated as a discovery; the conclusion about further evolution is Tyler’s inference (“it is actually guaranteed”).
- Category: Development state
- Source: Datamined files from Aperture Desk Job (March 2022 build), as described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — locating the NPCV VData in Aperture Desk Job build files would confirm provenance; later HLX builds would show subsequent changes.
Abilities system and NPC schedules
- Description: NPCs have a list of abilities; “abilities” is the game’s term for held weapons and their configuration, including equipped weapon and firing mode. NPCs can also have schedules composed of many tasks. Tyler says the specific tasks are “completely unknown to us” and suggests they are things the NPC sets out to do, such as walking around or reaching a position, possibly comparable to Red Dead Redemption 2 NPCs.
- Confidence: Mixed — the abilities definition and the existence of schedules/tasks are described as engine data; the content of the tasks and the RDR2 comparison are explicitly speculation.
- Category: Engine feature
- Source: Datamined Source 2 engine/VData files described by Tyler; RDR2 comparison is Tyler’s inference.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — schedule and task definitions in HLX data would confirm what tasks exist.
Dynamic throwing/catching and ally health regeneration
- Description: NPCs can dynamically throw and catch items; this existed in Half-Life 2 only as scripted sequences, whereas here any NPC can perform the actions on its own. Ally NPCs can regenerate health, and the time required to heal one point of health depends on the difficulty setting.
- Confidence: Fact — described as implemented capabilities in the data, with the Half-Life 2 contrast noted for context.
- Category: Gameplay
- Source: Datamined Source 2 engine/VData files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — ability and health-regeneration definitions in HLX data would confirm it.
Rewritten NPC squad system and squad slots
- Description: NPC squads retain much of Half-Life 2’s functionality but were rewritten entirely to use the new ability system. Some abilities require a claimable squad slot. The slots listed are a blank slot, three separate squad attack slots, a sound investigation slot, an exclusive hand-sign slot, an exclusive reload slot, two weapon pickup slots, and one special attack slot.
- Confidence: Fact — the slot enumeration is presented as read from engine data.
- Category: Engine feature
- Source: Datamined Source 2 engine files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — squad slot definitions in engine data would confirm the list and count.
Ability constraints: proximity, range, cooldowns, and priority
- Description: Some abilities require that a squadmate not be within range of the enemy — for example, an NPC may throw a grenade only if a squadmate is not close to the target. Abilities can have minimum and maximum ranges, can go on cooldown shared between squadmates, and NPCs may have to wait a set time before using their next ability. NPCs can also be prioritized over one another. Tyler quotes the engine directly: “useful to put all grenades thrown on a shared cooldown, for example.”
- Confidence: Fact — includes a direct quotation attributed to the engine’s own comments.
- Category: Engine feature
- Source: Datamined Source 2 engine code, including an in-code comment quoted by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — the squad ability constraint code and its comment would confirm the quotation.
Ability sound maps
- Description: The game contains a map of ability sounds. Tyler lists the sound-list categories: empty, single, reload, melee hit, melee hit wound, melee hit player, special, announce, target reacquired, and interrupt. From this he concludes HLX NPCs use guns and melee weapons, have special attacks, can be interrupted at any time, and can lose or reacquire targets dynamically.
- Confidence: Mixed — the sound-list enumeration is presented as data; the conclusions drawn about NPC capabilities are Tyler’s inference, delivered casually (“Duh”).
- Category: Engine feature
- Source: Datamined sound-map entries for NPC abilities described by Tyler; capability conclusions are Tyler’s inference.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — the ability sound map and the ability definitions it references would confirm the categories and implied capabilities.
Difficulty-scaled damage from all sources
- Description: Damage dealt to NPCs and by NPCs varies with difficulty, and this applies to physics damage and damage from any other source, not only weapon damage.
- Confidence: Fact — stated as a property of the damage system, consistent with the earlier hitgroup difficulty scaling.
- Category: Gameplay
- Source: Datamined Source 2 engine/VData files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — difficulty-scaled damage tables in HLX data would confirm the scope.
Enemy tracking: last known vs. last seen position, and deliberate misses
- Description: NPCs track enemy location using last known position and last seen position — if a target hides behind a corner, the last seen position is just before the corner and the last known position is behind it. NPCs can also be manipulated to miss shots and hit “interesting targets” for visual flair.
- Confidence: Fact — described as engine-level tracking and aiming parameters.
- Category: Engine feature
- Source: Datamined Source 2 engine files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — the corresponding NPC memory and aiming-error parameters would confirm it.
Dropping, picking up, and destroying abilities
- Description: NPCs can drop and pick up abilities, which can be destroyed entirely or dropped on the floor. Tyler’s example is an ally dropping their current weapon and picking up a different one.
- Confidence: Fact — described as implemented behavior without hedging.
- Category: Gameplay
- Source: Datamined Source 2 engine/VData files described by Tyler.
- Earlier mentions: None identified in this video.
- Verification: needs follow-up — ability drop/pickup/destroy definitions in HLX data would confirm it.
New or changed in this video
- First consolidated catalogue of HLX’s “traditional” NPC AI systems in this series, covering navigation spaces, moods, flinch types, destructible parts, modifiers, level-designer tuning, base VData schema, abilities, schedules, and squads.
- Reports four previously uncatalogued damage types — burn, sonic primary, sonic secondary, and Newton — with usage acknowledged as unknown.
- Reports the destructible body-part system as a generalized successor to the limited Half-Life: Alyx mechanics.
- Adds a dated data point: a more robust NPC VData file from Aperture Desk Job, around March 2022.
- Notes that some vehicle-ragdoll functionality was removed from engine files “semi-recently,” which complicates treating file absence as a cut.
- Restates earlier claims (houndeye return, base NPC VData from the mechanics video) without adding evidence.
Notable quotes
- “NPCs now support different navigation spaces, aka grids, by which they can move around in the world.” — Framing the overhaul of Source 2 NPC navigation.
- “We don’t know what makes use of these types” — Acknowledging the unknown purpose of the four new flinch damage types.
- “this is a direct quote from the engine … useful to put all grenades thrown on a shared cooldown, for example” — Quoting an in-code comment about squad ability cooldowns.
- “it is actually guaranteed that Valve has actually evolved even more than what we have here since this is already nearly 4 years old” — Reasoning about the age of the Aperture Desk Job NPCV file.
- “Anyways, that’s everything I know about HLX’s traditional artificial intelligence for NPCs.” — Closing the episode’s scope.
Open questions
- What entities or weapons use burn, sonic primary, sonic secondary, and Newton damage?
- What do the specific NPC schedule tasks do, and how closely do they resemble Red Dead Redemption 2’s NPC routines?
- Was the vehicle-ragdoll code removed from the engine files permanently, or relocated/refactored?
- How much has the NPCV schema changed since the March 2022 Aperture Desk Job build?
- Does the destructible part system function as a weak-point mechanic in actual combat, as Doom Eternal’s does?
- Which NPCs are excluded from the base NPC schema that “almost every” NPC derives from?