Defining the NPC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (tutbar) |
||
Line 1: | Line 1: | ||
To start your NPC, you must create a definition for it first. Copy the file <code>src\dlls\hl2_dll\monster_dummy.cpp</code> to a file related to the classname | {{npc tut}} | ||
To start your NPC, you must create a definition for it first. | |||
Copy the file <code>src\dlls\hl2_dll\monster_dummy.cpp</code> to a file related to the classname. | |||
Example: <code>src\dlls\hl2_dll\npc_Barney.cpp</code> | |||
[[Category:AI Programming]] | [[Category:AI Programming]] |
Revision as of 12:01, 8 June 2006
To start your NPC, you must create a definition for it first.
Copy the file src\dlls\hl2_dll\monster_dummy.cpp
to a file related to the classname.
Example: src\dlls\hl2_dll\npc_Barney.cpp