PDA

View Full Version : need help programming brush entities


henbus
06-20-2010, 23:52
Hi guys im new to halflife modding and ive been following the tutorials at http://developer.valvesoftware.com/wiki/SDK_Docs. Right now I am at the section that teaches us how to author a brush entity http://developer.valvesoftware.com/wiki/Authoring_a_Brush_Entity

but I am absolutely stuck.

So basically I need to create a class for my brush entity and this class inherits from the class CBaseTrigger. This CBaseTrigger class is in the header file triggers.h. But the problem is that there is no such file. so i get this error message when i try to compile using visual c++ 2005 express:
d:\henmod\src\cl_dll\mybrushentity1.cpp(2) : fatal error C1083: Cannot open include file: 'triggers.h': No such file or directory


I need this CBaseTrigger class to program and play around with my brush entities (make them move, etc) but I dont have this class since i dont have triggers.h or triggers.cpp.

Whats going on? How come I dont have those files? Please help

daisyallen123
08-05-2010, 06:45
I am new to this field so but obvious so I have no vast knowledge about this and I also finding like wise same tutorial for my project so I am equally enthusiastic to know more about that .