NPC Scripting: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
No edit summary
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.
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. Some NPCs work together in tribes, see [[Tribe Scripting]] for details.


<uml>
<uml>
Line 12: Line 12:
deactivate Behavior_Fight
deactivate Behavior_Fight
</uml>
</uml>





Revision as of 20:11, 29 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. Some NPCs work together in tribes, see Tribe Scripting for details.


Table of Contents

SuperClient Overview

Network Protocol Concepts

NPC Types

Behavior Operations

Behaviors and Reactions

NPC Behavior Data Structures