Re: func_breakable question.
Posted by flashman on
Thu Apr 29th 2004 at 8:00pm
65 posts
7 snarkmarks
Registered:
Apr 16th 2004
Location: Bradford.
In order to get some practise using entities I came up with the idea of creating a Heath Robinson type of machine with trains, pendulums, pushables, rotating objects, water and anything else I can think of to do something silly like squash a Headcrab. I'd llike to follow the whole chain of events with a tracking camera, too, if possible.
While messing about, though, I found I couldn't break a sheet of glass (set to break under pressure) by pushing a barrel on to it from above, it just lands on the surface. Is it possible to give "weight" to a pushable object? Or trigger an event when two brush based entities collide?
Any help you can give me, Lads, would be appreciated.
Re: func_breakable question.
Posted by Leperous on
Thu Apr 29th 2004 at 9:01pm
Leperous
Creator of SnarkPit!
member
3382 posts
1635 snarkmarks
Registered:
Aug 21st 2001
Occupation: Lazy student
Location: UK
Well, you can trigger things when a func_pushable enters a certain area. Don't ask me how though, can't remember :smile: So do it that way.
Re: func_breakable question.
Posted by JFry on
Thu Apr 29th 2004 at 9:51pm
JFry
member
369 posts
82 snarkmarks
Registered:
Mar 9th 2004
Occupation: Scumbag
Location: USA
Simply have a trigger_once on the surface of the glass target the glass (func_breakable). Don't forget to put a check in the pushable flag for the trigger once. Of course this is assuming you don't have a player running around messing up your entities.
Re: func_breakable question.
Posted by ReNo on
Thu Apr 29th 2004 at 10:11pm
Posted
2004-04-29 10:11pm
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Can't you set a no clients flag in the trigger_once? Its been so long since I've tinkered with entities, I really can't remember.
Re: func_breakable question.
Posted by JFry on
Fri Apr 30th 2004 at 10:12am
Posted
2004-04-30 10:12am
JFry
member
369 posts
82 snarkmarks
Registered:
Mar 9th 2004
Occupation: Scumbag
Location: USA
Its kinda funny I just now realized what 'no clients' meant exactly.