AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to render a brushentity? (https://forums.alliedmods.net/showthread.php?t=141222)

Schwabba 10-21-2010 02:37

How to render a brushentity?
 
PHP Code:

    set_rendering(entkRenderFxGlowShellrgbkRenderNormal80

This works great when it's a grenade or something, but when it's a brush (door, breakable etc.), then it does'nt work..

So how to do it?

Lulu the hero 10-21-2010 04:17

Re: How to render a brushentity?
 
You do know that brushes are entites too( Wall=worldspawn, breakable=func_breakable, door=func_door or func_rotating, etc ), don't you?

If it doesn't work, then it may be because it is part of the wordspawn, entities, that are the outlines of the map. Those cannot have properties like this, cannot be linked to entity classes.

Schwabba 10-21-2010 06:33

Re: How to render a brushentity?
 
It does'nt work on breakable's, door's, rotating's or entities that are a brush.

Hunter-Digital 10-21-2010 08:50

Re: How to render a brushentity?
 
Well, that's this ancient engine's limit it seems... it can copy and (whatever it does next, I can only guess) models so that it makes the glowshell but obviously can't copy (etc...) map brushes to make them glowshells.

You can, however, change their color.


All times are GMT -4. The time now is 10:21.

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