Defining the NPC

From Valve Developer Community
Revision as of 12:16, 8 June 2006 by Ts2do (talk | contribs) (note)
Jump to navigation Jump to search

To start your NPC, you must create a definition for it first.

Copy npc_New.cpp to a new file related to the classname.

Example: src\dlls\hl2_dll\npc_Barney.cpp

Note the AI_BEGIN_CUSTOM_NPC section. This will be an important section for later steps.