Creating an NPC

From Valve Developer Community
Jump to navigation Jump to search

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.