Any NPCs · Documentation

Any NPCs Documentation

Any NPCs fills Any City Generator's sidewalks with pedestrians in Unreal Engine 5.8. They walk, wait at the lights, cross in front of the traffic, dodge cars and get knocked down by them, react to what happens around them, and respond to Any Weather and Any Car Engine. Start with Getting Started: in a few minutes it takes you from a city level to a street full of people, without writing any code.

Articles

Read them in order, or jump to what you need.

Article 1 · Start here

Getting Started

What you need, the demo level, adding NPCs to your own city, the debug view and the crowd settings you'll touch first. No code.

Read Getting Started →

Article 2

Walking, Crossings and Traffic

How the walking lines come from your roads, when NPCs cross, how cars stop for them, and what happens when a car hits one.

Read Walking, Crossings and Traffic →

Article 3

NPC Types, Reactions and Your Own Characters

The NPC Type data asset, reaction weights for each kind of event, the Animation Blueprint, and putting your own characters on the street.

Read NPC Types and Reactions →

Article 4

Weather, Night and Engine Noise

Rain responses and shelters, fewer people at night and in the rain, thunder, and hard revs and backfires from Any Car Engine.

Read Weather, Night and Engine Noise →

Article 5

Events, Stimuli and Performance

Blueprint events for police and wanted levels, gunshots and damage, starting and sizing the crowd, performance and multiplayer.

Read Events, Stimuli and Performance →

Where to find it

One actor, two sources, one settings page.

A level needs one NPC manager. It reads the walk graph built from every Any City road network in the level and, through its environment sources, Any Weather and Any Car Engine.

▾ In the editor

AnyNPC > Blueprints > BP_AnyNpcManager The manager you drag into a level: NPC types, crowd size, environment sources and debug drawing
AnyNPC > Data DA_Npc_Pedestrian and DA_Npc_Tough, the two ready NPC types
AnyNPC > Animation > ABP_AnyNpc The Animation Blueprint for the Unreal mannequin: idle, walk and run, montages and foot IK
Project Settings > Plugins > Any NPC Where walking lines lie on the sidewalks and where unmarked crossings go
Window > Output Log LogAxNpc: setup problems such as no spawnable NPC type or no walk graph

Everything ships in the plugin's content (Content Browser > Settings > Show Plugin Content), including the demo level AnyNPCDemo: a city with traffic, Any Weather, a bus-stop shelter and a player start.

Two requirements. Any NPCs is built on Any City Generator, Any Weather and Any Car Engine, so all three must be installed. The ready NPC types use the Unreal mannequin from the Third Person template, which isn't bundled: add it with Add > Add Feature or Content Pack > Third Person.

Stuck, or after street life we haven't shown? Send us a message or an image of what you want, and we'll help you build it with Any NPCs.

Contact us