Ai addon builder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Add ent not in game template and slight tweaks)
(Remove description header, and we don't need to list keyvalues for unimplemented ents)
Line 1: Line 1:
{{ent not in game}}
{{ent not in game}}


{{base point|ai_addon_builder|since=Alien Swarm}}
{{base point|ai_addon_builder|since=Alien Swarm}} 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.
 
== Entity description ==
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.


A related [[keyvalue]] called <code>addon</code> was defined in {{ent|CBaseEntity}}, and a related [[input]] called <code>CreateAddon</code> was defined in {{ent|CAI_BaseNPC}}. {{confirm|It ''might'' have been CBaseCombatCharacter.}}
A related [[keyvalue]] called <code>addon</code> was defined in {{ent|CBaseEntity}}, and a related [[input]] called <code>CreateAddon</code> was defined in {{ent|CAI_BaseNPC}}. {{confirm|It ''might'' have been CBaseCombatCharacter.}}
==Keyvalues==
{{KV|NPC name|string|Name to give built NPCs}}
{{KV|Add on name|string|Name to give built addons}}
{{KV|NPC Points|integer|Points available to spend for NPCs}}
{{KV|Addon Points|integer|Points available to spend for addons}}
{{KV Targetname}}
{{KV EnableDisable}}
==Inputs==
{{IO|Execute}}
{{I Targetname}}
{{I EnableDisable}}
==Outputs==
{{IO|OnCreateNpc|Fires when an NPC is created.}}
{{IO|OnFailedToCreateNpc|Fires when an NPC fails to be created.}}
{{IO|OnCreateAddon|Fires when an Addon is created.}}
{{IO|OnFailedToCreateAddon|Fires when an Addon fails to be created.}}
{{O Targetname}}

Revision as of 20:55, 27 July 2020

Info-red.png
This entity is not in the game by default, but got left over in the FGD.
This feature is not available anymore.

Template:Base point 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.

A related keyvalue called addon was defined in CBaseEntity, and a related input called CreateAddon was defined in CAI_BaseNPC.

Confirm:It might have been CBaseCombatCharacter.