AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Creating Brush entities ( door ) (https://forums.alliedmods.net/showthread.php?t=298953)

eyal282 06-27-2017 13:10

Creating Brush entities ( door )
 
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.

SpannerSpammer 06-28-2017 00:42

Re: Creating Brush entities ( door )
 
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.

eyal282 06-28-2017 06:20

Re: Creating Brush entities ( door )
 
Quote:

Originally Posted by SpannerSpammer (Post 2532140)
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?

SpannerSpammer 06-29-2017 00:04

Re: Creating Brush entities ( door )
 
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

eyal282 06-30-2017 17:00

Re: Creating Brush entities ( door )
 
Quote:

Originally Posted by SpannerSpammer (Post 2532385)
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.


All times are GMT -4. The time now is 23:09.

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