embed env_explosion into box

embed env_explosion into box

Re: embed env_explosion into box Posted by David from IKG on Sat May 28th 2005 at 11:51pm
David from IKG
60 posts
Posted 2005-05-28 11:51pm
60 posts 6 snarkmarks Registered: Jan 16th 2005
I want to have a breakable box with an env_explosion inside, so that when I press a button, the env_explosion in the box blows up. how do i get the env_explosion to be part of the box, in other words, in it? grouping doesn't do anything of course....
Re: embed env_explosion into box Posted by DrGlass on Sun May 29th 2005 at 12:15am
DrGlass
1825 posts
Posted 2005-05-29 12:15am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
Make a func_breakable, that will be the box. give it a name like
"box1" then make an env_explosion, name it "exp1" and set its parent to
"box1". Now set your trigger's out put to 'on trigger' --->
break ---> box1

and set the output on the box to 'on break' ----> explode ---> exp1
Re: embed env_explosion into box Posted by warlord on Sun May 29th 2005 at 12:27am
warlord
166 posts
Posted 2005-05-29 12:27am
warlord
member
166 posts 247 snarkmarks Registered: Sep 11th 2003 Occupation: ill show ye Location: americas
that seems a little redundant

wouldnt it be easier to just make the box explode on break?

and besides from what he is asking it seems as if the box just has an explosion inside of it,

this can be a simple concept or a complicated one.

if the box itself is breakable or moveable what he would want to do is make the box a func_breakable or func_physbox and give it a name and then if its possible put an env_explosion inside and parent the explosion to the box

give the env_explosion a name too so it can be triggered independantly
the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them
Re: embed env_explosion into box Posted by David from IKG on Sun May 29th 2005 at 2:35am
David from IKG
60 posts
Posted 2005-05-29 2:35am
60 posts 6 snarkmarks Registered: Jan 16th 2005
i did what the second post said to do, and it did nothing. once again, the env blows up wherever it is. i want the box to blow up with the env in it. i guess it isnt possible. i dont know how to describe what i want....
Re: embed env_explosion into box Posted by SaintGreg on Sun May 29th 2005 at 5:15am
SaintGreg
212 posts
Posted 2005-05-29 5:15am
212 posts 51 snarkmarks Registered: Dec 3rd 2004
i want the box to blow up with the env in it
do what the man said and parent the env_explosion to the box.
To get something to work, sometimes you just have to beat your head against the wall longer; the skin grows back, but the brick doesn't.

Source hates soup!
Re: embed env_explosion into box Posted by David from IKG on Sun May 29th 2005 at 10:08pm
David from IKG
60 posts
Posted 2005-05-29 10:08pm
60 posts 6 snarkmarks Registered: Jan 16th 2005
i did. and it did the same thing that i explained. once the box break, the env_explosion goes off, but only where the env_explosion is placed in the map.

i want the env to be part of the box so that it goes wherever the box goes, so that when the box breaks the explosion goes off inside of it.
Re: embed env_explosion into box Posted by warlord on Sun May 29th 2005 at 11:11pm
warlord
166 posts
Posted 2005-05-29 11:11pm
warlord
member
166 posts 247 snarkmarks Registered: Sep 11th 2003 Occupation: ill show ye Location: americas
in the properties of the box give it a name like box1

and in the properties of the explosion put in the parent entry put box1
the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them
Re: embed env_explosion into box Posted by DrGlass on Sun May 29th 2005 at 11:22pm
DrGlass
1825 posts
Posted 2005-05-29 11:22pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
in the properties of the box give it a name like box1
and in the properties of the explosion put in the parent entry put box1
I dont think breakables work the same way in HL2, even if you set an
explosion it doesn't seem to blow up with a fire ball and sound.
Re: embed env_explosion into box Posted by David from IKG on Mon May 30th 2005 at 12:25am
David from IKG
60 posts
Posted 2005-05-30 12:25am
60 posts 6 snarkmarks Registered: Jan 16th 2005
parent just makes the box break at start. i know how to describe what i want though. i want to make the box like the explosive barrels: if i shoot the box, it blows up with an explosion caused by an env_explosion
Re: embed env_explosion into box Posted by DrGlass on Mon May 30th 2005 at 1:02am
DrGlass
1825 posts
Posted 2005-05-30 1:02am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
did my above comment not work for you? basicaly you make your
breakable object, if it is moving around I assume its a
func_physbox. Then you set the physbox as the parent to an
env_explosion. With the output system you set the explosion to go
off when the physbox breaks.
Re: embed env_explosion into box Posted by David from IKG on Mon May 30th 2005 at 1:18am
David from IKG
60 posts
Posted 2005-05-30 1:18am
60 posts 6 snarkmarks Registered: Jan 16th 2005
the env_explosion stays in one place. if the box is on the other side of the map and breaks, the explosion will only go off wherever the env was placed
Re: embed env_explosion into box Posted by habboi on Mon May 30th 2005 at 10:46am
habboi
782 posts
Posted 2005-05-30 10:46am
habboi
The Spammer of Snarkpit
member
782 posts 178 snarkmarks Registered: Dec 11th 2004 Location: United Kingdom
Dr, Why don't you try it and see if he is doing it wrong.
Re: embed env_explosion into box Posted by DrGlass on Mon May 30th 2005 at 10:48am
DrGlass
1825 posts
Posted 2005-05-30 10:48am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
no I'm sure you can parent an explosion to something, well at least you can do it with a phys explosion.

IKG, double check that you gave them both seperate names and set the explosion's parent to the phys box.
Re: embed env_explosion into box Posted by David from IKG on Mon May 30th 2005 at 6:41pm
David from IKG
60 posts
Posted 2005-05-30 6:41pm
60 posts 6 snarkmarks Registered: Jan 16th 2005
yes i'm sure! i even did it over and it still didnt work. the box just breaks. no explosion. the env doesnt even go off...
Re: embed env_explosion into box Posted by Whitt on Mon Sep 19th 2005 at 2:51pm
Whitt
8 posts
Posted 2005-09-19 2:51pm
Whitt
member
8 posts 1 snarkmarks Registered: Sep 6th 2005
I'm having the exact same problem as well, I'm trying to parent a explosion to a object. When a trigger is fired the object is fired when it hit I want it to explode. At the moment is just breaks (its a physbox). I have tried changing the explosive damage and explosive radius which did nothing.

When you parent it to the object and it breaks it does nothing even with the trigger of object1.break.explosion.explode

Have people got this to work on hl2dm? if not is there a another way of creating a explosion when a brush breaks?

Thanks
Re: embed env_explosion into box Posted by omegaslayer on Mon Sep 19th 2005 at 11:32pm
omegaslayer
2481 posts
Posted 2005-09-19 11:32pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Finally a new person who used the search tool!!!

Did you check out the func_physbox's IOs? Like does the physbox have an
output saying Myoutput: "on break" target entity!: "(env_explosion
name)" Target input: "explode"?

Because just parenting the env_explosion to the box wont make it explode.
Posting And You
Re: embed env_explosion into box Posted by Whitt on Tue Sep 20th 2005 at 9:21am
Whitt
8 posts
Posted 2005-09-20 9:21am
Whitt
member
8 posts 1 snarkmarks Registered: Sep 6th 2005
Yup I did that, Since i've spent hours trying to get this to work heres the vmf so you can have a look. I have spent hours on this so if you get this to work i will be amazed.

When this is done properly its going to placed on a plane and the projectile will respawn using a point_template and entity marker so it will act like a missle.

Heres the vmf http://rapidshare.de/files/5312569/test.vmf.html

Thanks again