Any NPCs · Documentation
Getting Started
Open the demo level, add NPCs to your own city, watch what each one is doing and size the crowd. It all happens in the Content Browser and the Details panel, with no code. You need Unreal Engine 5.8 on Windows.
← All Any NPCs documentation1 · What you need
Before you start
Any NPCs adds people to the road networks Any City Generator builds. Check these first:
▾ Requirements
No Third Person content yet? In the Content Browser, click Add > Add Feature or Content Pack, choose Third Person and add it to the project.
No mannequin, no bodies. Without the Third Person content the ready NPC types have empty mesh slots: NPCs still walk, cross and block cars, but you can't see them. NPC types with your own meshes and your own Animation Blueprint don't need it.
2 · Try the demo
Open the demo level
Any NPCs ships AnyNPCDemo, a generated city with everything set up. Find it in the Content Browser under Plugins > Any NPC (turn on Settings > Show Plugin Content). It contains:
▾ AnyNPCDemo
Press Play. People appear on the sidewalks around you, out of view, and walk, pause, wait at the curb and cross in front of the stopped cars. When the weather turns they hurry or head for the bus stop, and as the evening comes the crowd thins out.
3 · Your own level
Add NPCs to your city
In any level with an Any City road network:
- In the Content Browser, open Plugins > Any NPC > Blueprints and drag BP_AnyNpcManager into the level. Where you put it doesn't matter while a player is in the world.
- With the manager selected, in the Details panel find Environment Sources, click + twice and pick Weather (Any Weather) and Engine Noise (Any Car Engine) in the two entries. Both are optional.
- For cars, the level needs a traffic manager: in the Any City Generator tab, click Spawn Traffic Manager.
- Press Play.
Sources go on the placed manager. BP_AnyNpcManager has no environment sources of its own, so add them on each manager you place. Without them, NPCs ignore the weather and engines and the crowd stays at full size day and night.
4 · Watch it work
See what every NPC is doing
Two switches on the manager draw the system while you play:
▾ AnyNpcManager > Debug
Walking lines are built when play starts, so nothing shows in the editor viewport until you press Play.
5 · Size the crowd
How many, and how close
The settings you'll touch first, on the manager:
▾ AnyNpcManager > Spawning and Actors
That's the basics. Next, see how NPCs read your roads, when they cross and how the cars stop for them.