Category:AI: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
 
(29 intermediate revisions by 18 users not shown)
Line 1: Line 1:
AI stands for [[Wikipedia:Artificial intelligence|Artificial Intelligence]] and controls the behaviour of all but the simplest of NPC actions. Source's AI is not to be confused with Half-Life 2's restrained implementation of it: it is very powerful and very clever. This category will provide an overview of how to implement and manage AI in your Source game or map.
{{LanguageBar}}
AI stands for [[Wikipedia:Artificial intelligence|Artificial Intelligence]] and controls the behaviour of all but the simplest of NPC actions. Source's AI is not to be confused with Half-Life 2's restrained implementation of it: it is very powerful and very clever. This category will provide an overview of how to implement and manage AI in your Source game or map. As an alternative to AI, NPC actions can also be controlled by [[:category:Choreography|Choreographed Scenes]]<!-- and [[Inputs and Outputs]] ? -->.
{{category header|background-color=#E0E0E0|border-color=lightgray}}
{{category header|background-color=#E0E0E0|border-color=lightgray}}
{{category newcolumn|rowspan=6|width=50%|background-color=#F7F7F7|border-color=lightgray}}
{{category newcolumn|rowspan=6|width=50%|background-color=#F7F7F7|border-color=lightgray}}


==Decision Making==
== Decision making ==
*[[Decision_Making_Overview|Overview]]
*[[Decision_Making_Overview|Overview]]
*[[NPC Sensing|Sensing]]
*[[NPC Sensing|Sensing]]
*[[Condition|Conditions]]
*[[Condition|Conditions]]
*[[AI States]]
*[[State|States]]
*[[Schedules]]
*[[Schedule|Schedules]]
*[[Tasks]]
*[[Task|Tasks]]


==AI Concepts==
== AI concepts ==
*[[Memory]]
*[[NPC_Memory|Memory]]
*[[Relationships]]
*[[Ai relationship|Relationships]]
*[[Readiness]]
*[[Readiness]]
*[[Squads]]
*[[Squads]]
*[[Behaviors]]
*[[Behaviors]]
**[[Behavior_ActBusy|Act Busy]]
**[[Behavior_ActBusy|Act Busy]]
**[[Behavior_Assault|Assault]]
**[[Assaults|Assault]]
**[[Behavior_Follow|Follow]]
**[[Ai_goal_follow|Follow]]
**[[Behavior_FuncTank|FuncTank]]
**[[Behavior_FuncTank|FuncTank]]
**[[Behavior_Lead|Lead]]
**[[Ai_goal_lead|Lead]]
**[[Behavior_Police|Police]]
**[[Behavior_Police|Police]]
**[[Behavior_Standoff|Standoff]]
**[[Standoffs|Standoff]]
*[[Interactions]]
*[[Interactions]]
*[[Move and Shoot]]
*[[Move and Shoot]]
*[[Look Targets]]
*[[Look Targets]]


==Navigation==
== Navigation ==
===Map-level===
=== Map-level ===
*[[Nodegraph]]
*[[Nodegraph]] (HL2) or [[Navigation Meshes]] ([[NextBot]])
*[[AI Nodes]]
*[[hint nodes|Hint Nodes]]
*[[Assaults]]
*[[Node|AI Nodes]]
*[[Path Corners]]
*[[Path Corners]]
*[[Routes]]
*[[Routes]]
*[[npc_route]]
*[[Track Pathers]]
*[[Track Pathers]]


===Code-level===
=== Code-level ===
*[[Move Probes]]
*[[Move Probes]]
*[[Move Solver]]
*[[Move Solver]]
Line 44: Line 48:
*[[Motor]]
*[[Motor]]


==Animation==
== Animation ==
*[[Activities]]
*[[NPC Activities & Sequences|Activities]]
*[[Anim Events]]
*[[Anim Events]]


==Speech==
== Speech ==
*[[Speech Overview]]
*[[Speech Overview]]
*[[Response Rules]]
*[[Response System|Response Rules]]
*[[Sentences]]
*[[Sentences]]


{{category newcolumn|rowspan=1|width=50%|background-color=white|border-color=#E4DCCD}}
{{category newcolumn|rowspan=1|width=50%|background-color=white|border-color=#E4DCCD}}


==Map-level routines==
== Map-level routines ==
*[[Actbusy]]
*[[Actbusy]]
*[[Assaults]]
*[[Assault|Assaults]]
*[[Standoffs]]
*[[Standoffs]]
*[[Squads]]
*[[Squads]]
Line 63: Line 67:
{{category cell|width=50%|background-color=white|border-color=lightgray}}
{{category cell|width=50%|background-color=white|border-color=lightgray}}


==Introduction to AI Programming==
== Introduction to AI programming ==
*[[AIHowTo_MakeANewNPC|Make a new NPC]]
*'''[[Creating an NPC|Make a new NPC]]'''
*[[AIHowTo_AddANewAttack|Add a new attack to an NPC]]
*[[Add a new attack to an NPC]]
*[[AIHowTo_MakeAnNPCMove|Make an NPC move somewhere]]
*[[Make an NPC move somewhere]]
*[[AIHowTo_DebugAnNPC|Debug an NPC problem]]
*[[NPC Debugging|Debug an NPC problem]]
*[[AI Perception Behavior Enhancement|Make NPCs investigate noises]]


{{category cell|width=50%|background-color=white|border-color=lightgray}}
{{category cell|width=50%|background-color=white|border-color=lightgray}}


==Good NPCs To Learn From==
== Good NPCs to learn from ==
*[[AILearn_Zombie|Zombie]] (Basic Melee NPC)
*[[AILearn_Zombie|Zombie]] (Basic Melee NPC)
*[[AILearn_CombineSoldier|Combine Soldier]] (Fully fledged Squad NPC)
*[[AILearn_CombineSoldier|Combine Soldier]] (Fully fledged Squad NPC)
Line 79: Line 84:
{{category cell|width=50%|background-color=white|border-color=lightgray}}
{{category cell|width=50%|background-color=white|border-color=lightgray}}


==NPC Base Classes==
== NPC base classes ==
*[[Base NPC]] (CAI_BaseNPC)
*[[Base NPC]] (CAI_BaseNPC)
*[[Base Humanoid]] (CAI_BaseHumanoid)
*[[Base Humanoid]] (CAI_BaseHumanoid)
Line 90: Line 95:
{{category cell|background-color=#FBF7EA|border-color=lightgray}}
{{category cell|background-color=#FBF7EA|border-color=lightgray}}


==Debugging==
== Debugging ==
* ''[[:Category:AI_Commands|AI Debugging Commands]]''
* ''[[:Category:AI_commands|AI Debugging Commands]]''
 
* ''[[NPC Debugging|NPC Debugging]]''
{{category end}}


''Return to the [[SDK Docs|Source Engine WIKI home]] for a full list of articles.''
''Return to the [[SDK Docs|Source Engine WIKI home]] for a full list of articles.''
{{otherlang:en}} {{otherlang:en:es|:Category:Modding:es}}
__NOTOC__
__NOTOC__



Latest revision as of 20:56, 7 October 2024

English (en)Deutsch (de)Español (es)Hrvatski (hr)한국어 (ko)Português do Brasil (pt-br)Русский (ru)中文 (zh)中文(臺灣) (zh-tw)Translate (Translate)

AI stands for Artificial Intelligence and controls the behaviour of all but the simplest of NPC actions. Source's AI is not to be confused with Half-Life 2's restrained implementation of it: it is very powerful and very clever. This category will provide an overview of how to implement and manage AI in your Source game or map. As an alternative to AI, NPC actions can also be controlled by Choreographed Scenes.

Decision making

AI concepts

Navigation

Map-level

Code-level

Animation

Speech

Map-level routines

Introduction to AI programming

Good NPCs to learn from

NPC base classes

Debugging

Return to the Source Engine WIKI home for a full list of articles.


If you cannot see a list below this notice, click here.

Subcategories

This category has the following 5 subcategories, out of 5 total.

A

N