Ai addon builder

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

Template:Base point multi

Entity description

Icon-Bug.pngBug:This entity is defined in the FGD but not implemented by the engine.  [todo tested in ?]

This entity was part of the "Directed Design Experiments" performed at Valve in November 2007, and is the base of a modular AI system, wherein enemies could collect upgrade chips to gain new abilities and drop them when dead, allowing other enemies to collect and reuse them. This code has never been released to the public or used in its entirety in a Valve title.

Keyvalues

NPC name ([todo internal name (i)]) <string>
Name to give built NPCs
Add on name ([todo internal name (i)]) <string>
Name to give built addons
NPC Points ([todo internal name (i)]) <integer>
Points available to spend for NPCs
Addon Points ([todo internal name (i)]) <integer>
Points available to spend for addons
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

Inputs

Execute

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

OnCreateNpc
Fires when an NPC is created.
OnFailedToCreateNpc
Fires when an NPC fails to be created.
OnCreateAddon
Fires when an Addon is created.
OnFailedToCreateAddon
Fires when an Addon fails to be created.