Console
Everything PulseAI adds to the Unreal console: console variables, commands, cheats, stats and log categories, including those of its bridges. The console completes the commands and cheats of this page (Config/Input.ini of the plugin).
Console variables
PulseAI has no console variables; its options are project settings and the agent profiles.
Cheats
Cheats work in builds with cheats (not in shipping builds). In PIE the server can use them right away, a client types EnableCheats first. Runs on: server cheats change server state; typed on a client, they are sent to the server. Local cheats act on the game of the player who typed them. In the editor, Pulse.PIE.Exec <instance> <cheat> runs a cheat as the player of a PIE instance (0 = server, 1 = first client).
Profiles are found by path, by name in /PulseAI/Examples or as DA_PulseAIProfile_<name>.
| Cheat | Runs on | What it does |
|---|---|---|
PulseAISpawn [profile\|none] [count] [distance] | server | Spawns test agents (APulseAITestCharacter) in front of the player. |
PulseAISpawnPatrol [profile\|none] [size] | server | Spawns a test agent with a square patrol route. |
PulseAIDespawnAll | server | Removes all agents (and the routes of PulseAISpawnPatrol). |
PulseAIFreeze [1\|0] | server | Freezes or thaws all AI agents. |
PulseAIAlertAll | server | Makes every AI agent Alert of the player. |
PulseAINoise [loudness 0..1] | server | The player makes a noise. |
PulseAIGrant | server | Gives the player a team (Pulse.Team.Player) when the player has none, through a Pulse Team component on the player state. |
PulseAIInfo | server | Prints the closest agent: profile, team, difficulty, awareness, target, LOD, group, active states, known targets. |
PulseAIShowLOD | server | Prints the LOD counts and draws the LOD above the agents for 5 s. |
PulseAIDifficulty <Easy\|Normal\|Hard\|tag> | server | Sets the difficulty of all AI agents. |
With PulseAICombatBridge
See Combat integration.
| Cheat | Runs on | What it does |
|---|---|---|
PulseAICombatSpawn [profile\|none] [count] [distance] | server | Spawns AI fighters in front of the player. |
PulseAIEncounterSpawn [waves] | server | Spawns an AI encounter (fighter waves and a boss) in front of the player. |
PulseAICombatSpawnGuards [count] [radius] | server | Spawns a guard post in front of the player: guards with sword and bow (every third an archer) on a round route, one alarm group. |
PulseAICombatInfo | server | Prints the attack tokens on the player and the attacks of the closest AI fighter. |
With PulseAITimeBridge
See Time integration.
| Cheat | Runs on | What it does |
|---|---|---|
PulseAIRoutineInfo | server | Prints the time and every agent with a daily routine: routine, current window, profile and the profile it switches back to. |
With PulseAIFactionBridge
See Faction integration.
| Cheat | Runs on | What it does |
|---|---|---|
PulseAIFactionInfo | server | Prints every agent with factions: its factions, how it stands to the player by factions and by the attitude solver, its target. |
PulseAIFactionJoin <faction> [radius] | server | Every agent within the radius (50 m) of the player joins a faction, e.g. test guards of a capture point. |
State in the console
The snapshot providers of PulseAI (categories AI, AI Combat) also print to the console, through the cheats of PulseFoundation: PulseDebugDump AI writes their state to the log, PulseDebugProviders lists all providers of the world. The same state is on the Live page of the Pulse Debugger (Pulse.Debugger Live).
Log categories
| Category | What it logs |
|---|---|
LogPulseAI | Agents, brains, awareness, groups, LOD. |
LogPulseAICombat | Bridge PulseAICombatBridge: attacks, tokens, bosses, encounters. |
LogPulseAIHUD | Bridge PulseAIHUDBridge: awareness markers. |
LogPulseAIDialogBridge | Bridge PulseAIDialogBridge: agents taking part in dialogs, dialogs broken off. |
LogPulseAIQuestBridge | Bridge PulseAIQuestBridge: agents spawned and removed by quests, alarms, objectives that complete or fail at once. |
LogPulseAIBuildBridge | Bridge PulseAIBuildBridge (Verbose): hits on building pieces, destroyed pieces, pieces out of reach, doors that stayed closed. |
LogPulseAIFactionBridge | Bridge PulseAIFactionBridge: factions of a profile that are not known. |
LogPulseAITimeBridge | Bridge PulseAITimeBridge: routines set on clients (ignored), (Verbose) profiles the routine leaves alone because somebody else set them. |
Change the verbosity at runtime with Log <Category> <Verbosity>, e.g. Log LogPulseAI Verbose (Log LogPulseAI Log goes back to the default). For a whole run: -LogCmds="LogPulseAI Verbose" on the command line, or LogPulseAI=Verbose in the section [Core.Log] of DefaultEngine.ini.