When the alien loses track of the player it doesn't wander at random: it goes to search spots near where it last sensed them and looks around, and while it stalks it moves between sweep spots over the area. Androids that grab the player next to a wall throw them against it, and next to a desk throw them onto it; an android set to play dead grabs the player who comes close. None of these spots come from the navmesh bake - they are composites the level places by hand, and the game's NPCs find them by position.
A level you build yourself has none of them, so its alien has nowhere to search and nothing to sweep. Utilities → Place AI Markup places them for you, over the navmesh, the way the game's own levels lay them out.
All five are the game's own composites. Nothing links to them: each holds a job and a task, or a melee context, with a position, and the AI gathers the ones near it when it needs one. They aren't shipped with OpenCAGE, so when your level doesn't have one yet it is brought in from a level of your game install that has it (PRODUCTION/TECH_COMMS has all five), the way Import Composites From Level does. That can't be undone; the markup you place can.
Archetypes\Jobs\SearchJob - a JOB_SystematicSearch with its task at the composite's position. An NPC that has lost its target performs a systematic search: it visits the search spots round the place it last sensed the target (a NPC_SuspiciousItem searches within SystematicSearchRadius, 8 m by default) and looks round at each. This is the alien's search once the player has hidden, and the search humans and androids do too.
Archetypes\Jobs\AreaSweepJob - a JOB_AreaSweep with its task at the composite's position. These are the spots an NPC sweeps over while it hunts through an area: the alien's area sweep when it stalks the player on foot.
Archetypes\Jobs\MeleeContext\MeleeContext_HighCover - an NPC_MeleeContext of type ANDROID_HIGH_COVER_GRAPPLE, with a converge position and a radius (USE_RADIUS, 3 m). When an android grabs the player within that radius it plays the grapple that throws them against the wall: the context stands 2.5 m back from a high wall, facing it, so the animation lines up with the wall. Only levels with androids need it. Its markup in the viewport draws a line along the floor to a T where the wall's face goes.
Archetypes\Jobs\MeleeContext\MeleeContext - an NPC_MeleeContext of type ANDROID_LOW_COVER_GRAPPLE (its default: the composite leaves the type unset), with a converge position and a radius. An android that grabs the player here throws them onto a surface in front of it - a desk, a bed, a counter. The context stands 1.25 m back from the surface's face, facing it, as its markup's line and T show. Only levels with androids need it; the game places it in its hospital, comms and penthouse levels.
Archetypes\Jobs\MeleeContext\MeleeContext_CorpseTrap - an NPC_MeleeContext of type ANDROID_CORPSE_TRAP_GRAPPLE, with a radius of 1.5 m (USE_RADIUS). An Android_NPC or Android_Heavy_NPC whose is_corpse_trap_on_start is on lies on the floor playing dead until the player comes close, then grabs them: the corpse traps beside it are where that grab plays out. Every android the game sets to play dead has one to four of them in its own composite, a median 0.9 m from it (0.6 to 1.26 m), on its floor, each facing away from it; no other android has any. A level needs them for each android set to play dead, so the tool adds them by default.
Save and Build your level once first (the tool finds spots on its navmesh), then open Utilities → Place AI Markup.
SearchJob_1, AreaSweepJob_1, MeleeContext_HighCover_1, MeleeContext_1 and so on, on a flowgraph page called AIMarkup. Corpse traps go in the composite of the android they guard instead, as the game's do, named MeleeContext_CorpseTrap_1 and so on. It's all one step on the undo history.No bake is needed: the markup works as soon as the level is saved. Placed markup is ordinary entities: move it with the Viewport gizmo, delete it, or set its filter pin off to keep a spot unused until your script turns it on.
The rules come from measuring where the game's own levels put their markup:
The tool reads the navmesh as the last Save and Build made it, and the collision as it is now.
The game's own levels only mark up the areas their NPCs hunt in - a third of the walkable floor, typically - and no level of the game has more than about 600 search, sweep and hiding-spot jobs in all. A large level marked up from end to end can have far more than that, so place markup only where your alien or androids go: an AI assistant can pass a region for each area in turn (each call keeps clear of what the one before placed), or untick the spots you don't want before placing them.
Compare With Level's Own checks the tool against a level that already has markup - one of the game's own, for example. For each kind the level places, it finds spots again over the floor round that markup (within 6 m of it), ignoring the markup itself, and says how the two compare: how many each has, their spacing and distance from the floor's edge, and how many of the level's spots have one of the tool's within 2.5 m (1 m and the same facing for high and low cover). For corpse traps it places them again round each android playing dead that has some, and counts the level's with one of the tool's within 0.5 m facing the same way. It changes nothing.
The tool matches the game's levels on how many spots there are, how far apart and how far from the walls. Which spot in a room a designer picked, or which wall, is a matter of taste no rule reproduces, so a match share of around 60% for search and sweep jobs - near what spots spread evenly over the same floor would get - is as expected. High cover lines up with the game's own walls and facings about a fifth of the time: far more often than chance, but the game's designers chose only some of the walls that qualify. Low cover is the same: on the game's four levels with low cover the tool finds a few more over the same floor, and about a quarter of the game's own have one of the tool's within 1 m, facing the same way (15 to 43% by level), where spots at random would two times in a hundred; most of the rest face a desk the game left out, or another side of the same one. Corpse traps sit on the right floor, in the right composite and facing away from their android every time; round the game's eight androids playing dead, about half of the game's corpse traps have one of the tool's within 0.5 m. The game's designers put theirs on the side the player comes from, closer together than the tool's even spread. For the game's NPCs what matters is that the spots cover the floor they hunt over, as the game's own do.
Hide from the alien once it has seen you: it walks from search spot to search spot round where it lost you, stopping at each to look round, before it gives up. With the Debug Menu on, the alien's label shows its branch: a systematic search, or an area sweep while it stalks. A spot's task has selected_by_npc and task_end pins: link them to a DebugText to see which spots an NPC takes.
An AI assistant connected to OpenCAGE places markup with place_ai_markup (kinds: search, sweep, highcover, lowcover, corpsetrap, by default search, sweep and corpse traps; the spacings, keep_clear_of_existing, indoors_only, region, composite; dry_run lists the spots and what would be brought in; spots places spots it gives, a corpse trap going in the composite of the android playing dead beside it; compare runs the comparison above) and checks a level's markup with check_ai_markup (every piece, counts and spacing per kind, any that stand off the navmesh, and every android playing dead with how many corpse traps it has).