func_brush

func_brush

Re: func_brush Posted by drschelter on Tue Dec 4th 2007 at 11:43pm
drschelter
5 posts
Posted 2007-12-04 11:43pm
5 posts 1 snarkmarks Registered: Nov 4th 2007 Occupation: Senior Garage Cruncher Location: Canada
Hi, quick question:

The func_brush entity has 3 options for Solidity, one of them is toggle. How does one actually toggle the solidity in run-time?? There don't appear to be any inputs for this...

Basically I'm trying to make a holographic force-field that can be made solid (on) or non-solid (off). I don't want to just disable the entity, because I still want it to be visible in the off state (just translucent).

ideas? I feel like there is something basic that I'm missing (I'm still relatively new to the Source I/O system) . . .

thanks in advance for any assistance!
Re: func_brush Posted by reaper47 on Wed Dec 5th 2007 at 9:52am
reaper47
2827 posts
Posted 2007-12-05 9:52am
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
Set solidity to "toggle" then you can enable/disable it's solidity via the intput. I'm not sure if this will make the brush invisible, too. If it does, create a completely invisible (rendermode: "don't render") func_brush and an additional func_illusionary for the effect.

Before you do that, I'd take a look at the SDK example maps and load them in Hammer. The first HL2trainstation map should have forcefields already or at least some of the other ones. However Valve did it is probably most practical.
Why snark works.
Re: func_brush Posted by drschelter on Thu Dec 6th 2007 at 7:57am
drschelter
5 posts
Posted 2007-12-06 7:57am
5 posts 1 snarkmarks Registered: Nov 4th 2007 Occupation: Senior Garage Cruncher Location: Canada
<span style="color: gray;">Hey thanks, your idea of using multiple brushes stacked on top of each other gave me more ideas... I almost have it working exactly the way I want...one issue remains.
</span><span style="color: gray;">
The func_brush render FX "Slow Fade Away" works perfectly for my "force field off" effect.</span>
<span style="color: gray;">
Now, I'd like to use the opposite effect, "Slow Become Solid" for the "force field on" effect, but it doesn't work! Rather than slowly fading in, the brush appears to turn 100% visible in an instant. "Fast Become Solid" does the same....

This appears to be a simple bug, but I can't believe that such a bug has lasted all this time....can anyone confirm this behavior?

...thanks...

-drschelter

</span>