Creating an NPC
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
Conditions show what is going on to the NPC. Are they drowning? Are they blocked? Are they on fire? Coditions tell the NPC to act accordingly to what is happening.
First, create a name for the condition you're making, and add it to the Enumeration.
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
