Making func_breakables and func_brushes invisible


Ca-Chicken-Soup
01-30-2007, 02:43 AM
I'm working on a destroyable objective system by having the objective itself covered by a func_breakable set to receive only 100 damage (so only rockets and rifle nades destroy it). What I'm trying to do is make the brush invisible (tool textures appear ingame when on func_breakables and func_brushes).
The best thing I've come up with so far is making a texture that is totally alpha and slapping that on, it works fine but puts an error in the console when the map is ran: "func_breakable at (xxx,xxx,xxx) is using an obsolete or unknown material". Anyone know a way around this?


P.S. I'm using a func_brush to protect the func_breakable until it's allowed to be shot at just so you know what I'm using it for...

Furyo
01-30-2007, 03:32 AM
Did you try not texturing your brush at all?

McJewels
01-30-2007, 04:09 AM
try using a railing texture, set the scale to something rediculous, like 5.00 instead of .25, then align the now huge space between two bars of the railing on the surface of your brush.

Gurney Halleck
01-30-2007, 05:15 AM
Could you use logic_auto entity to disable the func_breakable at the start of the game and then enable the func_brush when required?

Ca-Chicken-Soup
01-30-2007, 12:20 PM
Originally posted by Furyo
Did you try not texturing your brush at all?

*Throws Hammer manual at Furyo*


Massive gift basket goes to Gurney for the win. McJewels idea wasn't too bad either. Cheers guys I thought it was going to take a lot longer to solve, but all I had to do was post before I went to bed then check it in the morning :D

*edit* Well I'll send a gift basket to mcjewels too as it looks like I'm going to have to use both methods :yar:

Furyo
01-30-2007, 12:40 PM
Just so you know, since you don't seem to take me seriously, you can edit your map in notepad, and take away the material line on any brush.....

Sly Assassin
01-30-2007, 06:54 PM
tools/toolsinvisible for teh WIN!

Gurney Halleck
01-30-2007, 08:07 PM
Originally posted by Ca-Chicken-Soup
*Throws Hammer manual at Furyo*

Massive gift basket goes to Gurney for the win. McJewels idea wasn't too bad either.

Don't go out of your way. Cash/check will be fine. BTW - where do you get one of those manuals?

Ca-Chicken-Soup
01-30-2007, 08:10 PM
Sorry Furyo I didn't know that :P But it seems a brush with no texture doesn't recive bullet reg (but does have playerclip) and rockets disapear into it like a black hole :O

And to Sly; tools textures don't seem to work, they come up as they appear in Hammer on func_breakables.

It's sort-of working at the moment, I'm just trying to get it to start disabled then be enabled. It can start disabled but doesn't seem to be enabled...

Gurney Halleck
01-30-2007, 09:01 PM
C'Soup - The logic_auto doesn't appear to work as I envisioned. There is no enable/disable input on the func_breakable. Seems that would have been an easy flag to include with that entity.

Ca-Chicken-Soup
01-31-2007, 01:27 PM
It has an enabledamagetrigger (or similar) trigger which I'm playing around with... it seems to disable the entity well enough, but getting it to enable properly is another thing.

Ace_McGirk
01-31-2007, 11:37 PM
tools/nodraw for the win

I just tested it and it works for me, no probs with rockets or gunfire(this on a func_breakable)


Also, could you not set the health high like 10,000 and then when you want to enable it (so it breaks) have your triggering entity set the health to 100 or whatever?

Just tested above, set its health to "0" unbreakable ,then reset it to what you want when you want it to break,this should work fine if its only blown once per round as the health will be "0" at roundstart and you wont need to have an entity set it each time

Ca-Chicken-Soup
02-01-2007, 03:55 PM
Gj, Ace. I just spent all yesterday getting it to work, with a tracktrain bringing it in and alphaerised textures and such.. Guess I'll try your way now. I bet it works too.

fishy
02-05-2007, 02:05 PM
in the func_breakable properties, Render Mode should be set to Don't Render. then it doesn't matter what texture you use on it.

Ca-Chicken-Soup
02-05-2007, 02:41 PM
Nodraw works, don't know why I didn't try it, I just assumed if trigger didnt work, then nodraw wouldn't :P

The health thing that Ace said also works like a charm. Thanks mate!

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.