Raised This Month: $ Target: $400
 0% 

Creating Brush entities ( door )


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-27-2017 , 13:10   Creating Brush entities ( door )
Reply With Quote #1

How do you create a brush entity? Like a moving door? I think DispatchKeyValue is needed but I want to understand how to fully create it into making it work.
eyal282 is offline
SpannerSpammer
Member
Join Date: Mar 2006
Old 06-28-2017 , 00:42   Re: Creating Brush entities ( door )
Reply With Quote #2

You can't dynamically create brush model entities like that.

I mean you can spawn one, but anything with a SOLID_BSP
solid type created dynamically will be non-solid. Even if you
change the solid type to something like SOLID_BBOX you can
get collision errors that can sometimes crash the server.

You can dynamically clone an existing brush model in
the map and make it anything you like.
__________________
[NeoTF|DEV]SpannerSpammer-[AoE]-
NeoTF Development Team.
http://steamcommunity.com/groups/neotf
SpannerSpammer is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-28-2017 , 06:20   Re: Creating Brush entities ( door )
Reply With Quote #3

Quote:
Originally Posted by SpannerSpammer View Post
You can't dynamically create brush model entities like that.

I mean you can spawn one, but anything with a SOLID_BSP
solid type created dynamically will be non-solid. Even if you
change the solid type to something like SOLID_BBOX you can
get collision errors that can sometimes crash the server.

You can dynamically clone an existing brush model in
the map and make it anything you like.
Sounds lit, how is that done?
eyal282 is offline
SpannerSpammer
Member
Join Date: Mar 2006
Old 06-29-2017 , 00:04   Re: Creating Brush entities ( door )
Reply With Quote #4

I don't know if this plugin still works, but study it to see how it works:
https://forums.alliedmods.net/showthread.php?t=212653
__________________
[NeoTF|DEV]SpannerSpammer-[AoE]-
NeoTF Development Team.
http://steamcommunity.com/groups/neotf
SpannerSpammer is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-30-2017 , 17:00   Re: Creating Brush entities ( door )
Reply With Quote #5

Quote:
Originally Posted by SpannerSpammer View Post
I don't know if this plugin still works, but study it to see how it works:
https://forums.alliedmods.net/showthread.php?t=212653
I still fail to extract what is needed from the code, it's kinda complicated for me.
eyal282 is offline
Reply


Thread Tools
Display Modes

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 23:09.


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