NPC Scripting: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
Magodra (talk | contribs)
No edit summary
Line 1: Line 1:
NPCs are scripted where the main elements are perceptions that represents events in the soundings of the NPC. The NPC has a set of reactions that decide if the NPC will react to a perception. The reaction that start a behavior that is a set of operations the NPC will perform.
<uml>
->NPC: Perception(Damage)
NPC -> NPC: Should I React(Yes)
NPC -> Behavior(Fight)
Behavior Fight->Behavior Fight :Locate target
Behavior Fight->Behavior Fight :Attack Back
</uml>
== Table of Contents ==
== Table of Contents ==



Revision as of 12:48, 23 December 2011

NPCs are scripted where the main elements are perceptions that represents events in the soundings of the NPC. The NPC has a set of reactions that decide if the NPC will react to a perception. The reaction that start a behavior that is a set of operations the NPC will perform.

Diagrams error (with plantuml command): Error line 3 in file: /tmp/diagrams_in2cd71b5637c3.plantuml Some diagram description contains errors


Table of Contents

SuperClient Overview

Network Protocol Concepts

NPC Types

Behavior Operations

Behaviors and Reactions

NPC Behavior Data Structures