This article's documentation is for anything that uses the Source engine. Click here for more information.

Ai addon builder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(no mention of this entity)
 
(29 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{stub}}
{{LanguageBar}}
{{cleanup|add some sources on the claims made here}}
{{portal2 point|ai_addon_builder}}
{{Ent not in game}}
{{bug|This entity is defined in the FGD but not implemented by the engine.}}
{{This is a|point entity|name=ai_addon_builder|since=Alien Swarm}}
==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==
This entity is speculated to be part of the '''''Directed Design Experiments'''''{{Cite|1}} 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.
{{IO|Execute}}
{{I Targetname}}
{{I EnableDisable}}


==Outputs==
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.}}
{{IO|OnCreateNpc|Fires when an NPC is created.}}
 
{{IO|OnFailedToCreateNpc|Fires when an NPC fails to be created.}}
== References ==
{{IO|OnCreateAddon|Fires when an Addon is created.}}
# {{Cow|The Final Hours of Portal 2}}
{{IO|OnFailedToCreateAddon|Fires when an Addon fails to be created.}}
 
{{O Targetname}}
== External links ==
* {{Cow|Directed Design Experiments}}

Latest revision as of 05:25, 11 April 2025

English (en)Translate (Translate)
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
add some sources on the claims made here
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
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.

ai_addon_builder is a point entity available in all Source Source games since Alien Swarm Alien Swarm.

This entity is speculated to be part of the Directed Design Experiments[1] 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.

References

  1. Combine overwiki icon.png The Final Hours of Portal 2

External links