Going Medieval Enemy Pathfinding, Exploited

Every raid in Going Medieval is two fights: the one your archers have with the raiders, and the one the raider AI has with your floor plan. The second fight is decided before the horn sounds, because the pathfinding rules are deterministic enough to build around. Raiders take the shortest valid path to something they can reach — and you decide what "valid" means with doors, forbidden markers, and corridors. This guide lays out the pathing rules as the community has verified them, the techniques those rules enable (bait doors, funnels, lockdowns), the limits where the AI stops cooperating, and the exploits the 1.0 patch quietly removed. No myths, no magic invincibility tricks — just the mechanics.

The Pathing Rules, Verified

Everything exploitable about raider AI follows from one behaviour: enemies route to a reachable target along the cheapest open route, and they only become demolition crews when no such route exists. The community-tested rules:

Situation the AI FindsWhat Raiders DoHow You Exploit It
An open path into the base existsWalk it, even if it is long and trappedMake your killbox corridor the only open path (bait door)
Several open paths existSplit toward whichever is shortest for each raiderForbid every door except the bait door when the horn sounds
All routes sealed (doors forbidden or walled)Stop pathing; attack the nearest wall or door in the wayNever fully seal — or seal deliberately and defend the breach point
Target unreachable at any costDemolition continues until a path opens or the raid endsDouble-wall the segments nearest the usual spawn edges
Wild animal aggression eventAnimals cannot open doorsGet everyone indoors; archers shoot over the walls
Ladder-only entranceOnly polecats among wild animals can use laddersLadder access makes animal-proof food stores and pet-free zones
raid spawns at map edgevalid open pathto a target?YESwalk the path —into your funnel,traps, and archersNOdemolish nearestwall or door — breachwhere you didn't planbait door = you choose which branch"valid" = passable doors,unblocked route, a targetthe raider can reachanimals can't open doors:for them the answer isalways NO — stay indoors
The raider's entire decision tree. Defence design is the art of making the YES branch lead exactly where your crossbows are waiting.

The Techniques the Rules Enable

None of these are glitches — they are defence designs that fall out of the pathing rules above. The full construction details (funnel angles, trap counts, embrasure placement) are in our killbox design guide; here is what each technique does to the AI and where it fails:

TechniqueAI Rule It ExploitsExecutionFailure Mode
Bait doorRaiders take the shortest valid pathOne passable door at the trap corridor's inner end; all other doors forbidden during raidsA side door left passable splits the raid; a blocked bait path flips raiders to demolition
Funnel + trap corridorValid path is walked regardless of dangerWalls angle all approach routes into one trapped channelGaps between funnel walls and terrain let raiders slip around
Forbidden-door lockdownForbidden doors are not valid pathsForbid exterior doors to pull settlers inside and control the one open routeLockdown with no bait at all = raiders start breaking walls instead
Door tankingDemolition targets the structure in the wayA closed door in the corridor mouth buys volley time while raiders break itWeapons with high building damage shred doors fast — buy seconds, not minutes
Indoor lockdown vs. animalsAnimals cannot open doorsEveryone inside, archers fire over walls until the event endsA settler caught outside is defenceless; mind farmers and hunters
Ladder-gated storageOnly polecats use ladders among wild animalsLadder-only access to food stores keeps wildlife outMost pets can't use ladders either — feed animals elsewhere

Reality check: two genuine exploits are dead. Since the 1.0 update, raiders used to freeze in place when ordered to attack unfinished or foundation-phase buildings — players laid dummy blueprints as raid-stoppers — and raiders who won a raid used to stand idle in your settlement forever. Both are fixed: the AI now ignores the foundation bait and victorious raiders leave. If an old guide promises a raid that never fights, it's describing a patched bug, not a mechanic.

Why Range Is a Pathfinding Stat

Once raiders commit to your corridor, the only question left is how long they spend inside it under fire — and that is set by engagement range, not by how angry your archers are. Using the verified weapon numbers from our killbox guide: crossbows reach 25m while bows reach 18m, which means crossbowmen open up roughly seven corridor tiles earlier. Over a long funnel that head start is worth entire extra volleys before the first raider reaches a trap:

Weapon (Good Quality)Max RangeAttack DurationPathfinding Role in the Corridor
Short Bow18m5.4sEngages late; only useful on long corridors
Longbow18m5.4sHigh volume of fire once raiders close the distance
Crossbow25m9.45sOpens fire ~7 tiles earlier — punishes the walk-in
Heavy Crossbow25m10.35sDeletes priority targets while they are still funneling
Horizontal bar chart of Going Medieval ranged weapon engagement ranges: Short Bow 18 metres, Longbow 18 metres, Crossbow 25 metres, Heavy Crossbow 25 metres, showing crossbows engage raiders about 7 corridor tiles earlier than bows
Engagement range is corridor time. The 25m crossbows start shooting about seven tiles before the 18m bows can — free volleys, paid for by the raider's own pathfinding.

The design read: corridor length should match your weapons' reach. A short corridor wastes crossbows (they reload slowly and want maximum walk-in time), while a long corridor wastes short bows (raiders arrive before the archers contribute). Put the long-range crossbows behind the embrasures, the bows deeper where survivors arrive, and let the pathfinding bring targets to each in turn. Cover and firing positions are covered in the raid defense strategy guide.

One last discipline note: watch the raid before you trust the design. When raiders spawn, trace the route they actually take against the one you intended — spawn edges differ per raid, and a funnel built for the south approach does nothing for a raid arriving from the east. The colonies that beat above-weight raids are the ones that treat the pathing rules as a hypothesis and re-verify them every single horn.

Frequently Asked Questions

How do raiders decide where to go in Going Medieval?

Raiders path toward the easiest reachable target along the shortest valid route. A passable door is walked through; a fully sealed base flips them to demolishing the nearest wall or door in the way. Defence design is the art of controlling which path counts as valid — one bait door into a trap corridor, everything else forbidden.

Will raiders attack my walls and doors in Going Medieval?

Yes, whenever no valid walking path in exists. Weapons carry different building-damage ratings — the game's tooltips grade building damage from low up to severe — so demolition speed depends on what the raiders carry. A sealed base doesn't stop a raid; it moves the fight to a breach point you didn't choose.

What is a bait door in Going Medieval?

A single passable door at the inner end of your killbox corridor. Because raiders take the shortest valid path to a reachable target, the open door makes your trap corridor that path, and the AI commits to it. Every other entrance must be forbidden during the raid or raiders may split toward whichever route is shortest.

Can animals open doors or climb ladders in Going Medieval?

Animals cannot open doors, so getting every settler indoors neutralises most animal aggression events. The polecat is the only wild animal that uses ladders, so a ladder-only entrance animal-proofs a food store. Human raiders are another matter — treat stairs and normal entrances as fully usable by them.

Do the old raider AI exploits still work after Going Medieval 1.0?

No — the 1.0 update fixed both famous ones: raiders no longer freeze when attacking unfinished or foundation-phase buildings, and victorious raiders now leave instead of standing idle forever. The core pathing rules behind bait doors and funnels are untouched, so corridor defence still works exactly as designed.

Related Guides

Last updated: July 19, 2026. Building-damage grades are the game's own qualitative tooltip categories. Pathing behaviour may shift with updates — re-verify against live raids.