← ClaudeAtlas

dayz-ai-patternslisted

Use this skill when working with DayZ Expansion AI (eAI module): FSM states (Dormant, Fighting), combat hysteresis, threat/targeting, LOS/FOV, pathfinding, group formation, squad target distribution, or the NoiseSystem. Also trigger when a user asks why AI bots are not attacking, not patrolling, walking through doors, ignoring sounds, all focusing the same enemy, not spreading into formation, or when debugging eAIBase, eAIGroup, eAIState, or ExpansionPathHandler. Trigger on: eAI, DayZ AI, AI FSM, FSM pathfinding, group AI, squad AI, threat targeting, LOS FOV AI, Expansion AI, AI bots. Also 1.30: sandstorm, MINDSTATE_COWER, AIParams, GetEnvironmentNoiseReduction, animal group AI, DZMouflonGroupBeh, DZDogGroupBeh.
willy92wins/DayZ-Modding-Knowledge-Pack · ★ 25 · AI & Automation · score 78
Install: claude install-skill willy92wins/DayZ-Modding-Knowledge-Pack
# DayZ Expansion AI Patterns (eAI) > Material source: salutesh/DayZ-Expansion-Scripts @ 8f75d554fda209b257c00deb8f01c181e67c980a > Research: dual-arm (Claude + Codex), adversarially verified. All path:line cites are confirmed. ## Overview 12 patterns covering the irreducible AI architecture of Expansion eAI: | ID | Pattern | File reference | |------|------------------------------------------|-----------------------------------------| | PC-5 | Dormant state: DisableSimulation via FSM | `eaistate_dormant.c:1-17` | | PC-11| Fighting FSM: hysteresis + guard clauses | `eaistate_fighting.c:18-38` | | PC-13| FSM loaded from XML + sub-FSM composition| `eAIBase.c:661-666`, `Master.xml:3-8` | | PC-9a| FOV pre-filter before LOS raycast | `eAIBase.c:8156-8168` | | PC-9b| LOS throttle adaptive to update interval | `eAIBase.c:8089-8097` | | PC-14| Threat cache with jitter 250-300 ms | `eAITargetInformationState.c:58-67` | | PC-7 | Staggered target scan + jitter 0.1-0.2 s | `eAIBase.c:2962-2966` | | PC-2 | Backoff 5x: no players in visibility | `ExpansionWorld.c:247-250` | | PC-15| Pathfinding: recalc thresholds + cost | `ExpansionPathHandler.c:581-592` | | PC-16| Path filters: navmesh costs (door=10000) | `expansionpathfilters.c:131-147` | | PC-17| Group targets: distribution by tracking | `eAIGr