Raised This Month: $32 Target: $400
 8% 

Creating your own entity/datamaps?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pear
Member
Join Date: May 2017
Location: sea
Old 12-27-2017 , 11:54   Creating your own entity/datamaps?
Reply With Quote #1

Hey,

is it possible to create your own entities in hammer, give them some random keyvalues and read those with GetEntProp or something similar? Would be cool if that works.
pear is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 12-27-2017 , 12:08   Re: Creating your own entity/datamaps?
Reply With Quote #2

Not sure what you want exactly so I'll give two answers:

Check out: CEntity

Also you should read this:
https://forums.alliedmods.net/showthread.php?t=283518


Edit: I've made "Custom" entities with CEntity, check out https://youtu.be/nLySY7d5Jws?t=1m25s, which custom trigger brush entity, logic ect... But everything is in C++ and I don't use any plugins. You also can't use GetEntProp to look up your custom properties.
__________________

Last edited by Benoist3012; 12-27-2017 at 12:10.
Benoist3012 is offline
Reply



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 22:53.


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