Category:Zh/AI: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
AI 全称为 [[Wikipedia:Artificial intelligence|Artificial Intelligence]],它控制着所有NPC的行为,这些行为由最简单的actions组成。不要与Half-Life 2严格执行的AI混淆,Source的AI强大且聪明。本章将领你纵览,告诉你如何在制作的游戏或地图里执行与管理AI。 另外,AI有别的替代方案, | AI 全称为 [[Wikipedia:Artificial intelligence|Artificial Intelligence]],它控制着所有NPC的行为,这些行为由最简单的actions组成。不要与Half-Life 2严格执行的AI混淆,Source的AI强大且聪明。本章将领你纵览,告诉你如何在制作的游戏或地图里执行与管理AI。 另外,AI有别的替代方案, {{LCategory|Choreography|Choreographed Scenes}}也可以控制NPC的行动。<!-- and {{L|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}} | ||
== 决策 == | == 决策 == | ||
* | *{{L|Decision_Making_Overview|决策总览}} | ||
* | *{{L|NPC_Sensing|感知}} | ||
* | *{{L|Condition|条件}} | ||
* | *{{L|State|状态}} | ||
* | *{{L|Schedule|行程}} | ||
* | *{{L|Task|任务}} | ||
== AI 概念 == | == AI 概念 == | ||
* | *{{L|NPC_Memory|记忆标记}} | ||
* | *{{L|Ai relationship|AI关系}} | ||
* | *{{L|Readiness}} | ||
* | *{{L|Squads|AI小队}} | ||
* | *{{L|Behaviors|行为}} | ||
** | **{{L|Behavior_ActBusy|繁忙}} | ||
** | **{{L|Assaults|突袭}} | ||
** | **{{L|Ai_goal_follow|跟随}} | ||
** | **{{L|Behavior_FuncTank|FuncTank}} | ||
** | **{{L|Ai_goal_lead|领队}} | ||
** | **{{L|Behavior_Police|保卫}} | ||
** | **{{L|Standoffs|对峙}} | ||
* | *{{L|Interactions}} | ||
* | *{{L|Move and Shoot}} | ||
* | *{{L|Look Targets}} | ||
== 导航 == | == 导航 == | ||
=== Map-level === | === Map-level === | ||
* | *{{L|Nodegraph}} (HL2) or {{L|Navigation Meshes}} ({{L|NextBot}}) | ||
* | *{{L|hint nodes|Hint Nodes}} | ||
* | *{{L|Assaults}} | ||
* | *{{L|Node|AI Nodes}} | ||
* | *{{L|Path Corners}} | ||
* | *{{L|Routes}} | ||
* | *{{L|npc_route}} | ||
* | *{{L|Track Pathers}} | ||
=== Code-level === | === Code-level === | ||
* | *{{L|Move Probes}} | ||
* | *{{L|Move Solver}} | ||
* | *{{L|Plane Solver}} | ||
* | *{{L|Local Navigator}} | ||
* | *{{L|Navigator}} | ||
* | *{{L|Motor}} | ||
== Animation == | == Animation == | ||
* | *{{L|NPC Activities & Sequences|Activities}} | ||
* | *{{L|Anim Events}} | ||
== Speech == | == Speech == | ||
* | *{{L|Speech Overview}} | ||
* | *{{L|Response System|Response Rules}} | ||
* | *{{L|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 == | ||
* | *{{L|Actbusy}} | ||
* | *{{L|Assault|Assaults}} | ||
* | *{{L|Standoffs}} | ||
* | *{{L|Squads}} | ||
{{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 == | ||
*''' | *'''{{L|Creating an NPC|Make a new NPC}}''' | ||
* | *{{L|Add a new attack to an NPC}} | ||
* | *{{L|Make an NPC move somewhere}} | ||
* | *{{L|NPC Debugging|Debug an NPC problem}} | ||
* | *{{L|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 == | ||
* | *{{L|AILearn_Zombie|Zombie}} (Basic Melee NPC) | ||
* | *{{L|AILearn_CombineSoldier|Combine Soldier}} (Fully fledged Squad NPC) | ||
* | *{{L|AILearn_Alyx|Alyx}} (Companion NPC) | ||
* | *{{L|AILearn_Rollermine|Rollermine}} (Physically simulated NPC) | ||
{{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 == | ||
* | *{{L|Base NPC}} (CAI_BaseNPC) | ||
* | *{{L|Base Humanoid}} (CAI_BaseHumanoid) | ||
* | *{{L|Base Actor}} (CAI_BaseActor) | ||
* | *{{L|Player Ally}} (CAI_PlayerAlly) | ||
* | *{{L|Player Companion}} (CNPC_PlayerCompanion) | ||
* | *{{L|Expressor Host}} | ||
* | *{{L|Behavior Host}} | ||
{{category cell|background-color=#FBF7EA|border-color=lightgray}} | {{category cell|background-color=#FBF7EA|border-color=lightgray}} | ||
== Debugging == | == Debugging == | ||
* '' | * ''{{LCategory|AI_commands|AI Debugging Commands}}'' | ||
{{category end}} | {{category end}} | ||
''Return to the | ''Return to the {{L|SDK Docs|Source Engine WIKI home}} for a full list of articles.'' | ||
__NOTOC__ | __NOTOC__ | ||
''If you cannot see a list below this notice, [[:Category:AI#|click here]].'' | ''If you cannot see a list below this notice, [[:Category:AI#|click here]].'' | ||
{{ACategory|Level Design}} |
Latest revision as of 11:26, 25 May 2025
AI 全称为 Artificial Intelligence,它控制着所有NPC的行为,这些行为由最简单的actions组成。不要与Half-Life 2严格执行的AI混淆,Source的AI强大且聪明。本章将领你纵览,告诉你如何在制作的游戏或地图里执行与管理AI。 另外,AI有别的替代方案, Choreographed Scenes 也可以控制NPC的行动。
决策AI 概念导航Map-level
Code-levelAnimationSpeech |
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 2 subcategories, out of 2 total.
A
- Zh/AI Programming (4 P)
N
- Zh/NPCs (2 P)
Pages in category "Zh/AI"
The following 4 pages are in this category, out of 4 total.