Raised This Month: $ Target: $400
 0% 

need help programming brush entities


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
henbus
New Member
Join Date: Jun 2010
Old 06-20-2010 , 23:52   need help programming brush entities
Reply With Quote #1

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/w...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

Last edited by henbus; 06-21-2010 at 00:01.
henbus is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode