Creating an NPC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 4: Line 4:
== Defining the NPC ==
== Defining the NPC ==
{{main|Defining the NPC}}
{{main|Defining the NPC}}
To begin the creation of your NPC you must first create a definition for it. The first step is to copy [[NPC_new.ccp]] to a new file. Next, make changes to the Precache, Spawn, and Classify functions.


== Giving an NPC Memory ==
== Giving an NPC Memory ==

Revision as of 22:27, 25 July 2007

In this tutorial we're going to create an functional NPC.

(

Todo:  Finish tutorial

)

Defining the NPC

Main article:  Defining the NPC

To begin the creation of your NPC you must first create a definition for it. The first step is to copy NPC_new.ccp to a new file. Next, make changes to the Precache, Spawn, and Classify functions.

Giving an NPC Memory

Main article:  Giving an NPC Memory

Creating a Condition

Main article:  Creating a condition

Creating a Task

Main article:  Creating a task

Creating an Activity

Main article:  Creating an activity

Creating an Animevent

Main article:  Creating an animevent

Creating a Squadslot

Main article:  Creating a squadslot

Creating an Interaction

Main article:  Creating an interaction
Note.pngNote:This tutorial isn't completely done, yet.