Defining the NPC
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.