 
                                
                    
                        Re: embed env_explosion into box
                        Posted by David from IKG on 
    Sat May 28th 2005 at 11:51pm
                     
                    
                        
                        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
                     
                    
                        
                        Posted 
    2005-05-29 12:15am
                     
                 
                
            
            
                
    
                    
                             DrGlass
                            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
                     
                    
                        
                        Posted 
    2005-05-29 12:27am
                     
                 
                
            
            
                
    
                    
                             warlord
                            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
                     
                    
                 
                
            
            
                
    
            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 David from IKG on 
    Sun May 29th 2005 at 10:08pm
                     
                    
                        
                        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
                     
                    
                        
                        Posted 
    2005-05-29 11:11pm
                     
                 
                
            
            
                
    
                    
                             warlord
                            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 David from IKG on 
    Mon May 30th 2005 at 12:25am
                     
                    
                        
                        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
                            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
                     
                    
                 
                
            
            
                
    
            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
                     
                    
                        
                        Posted 
    2005-05-30 10:46am
                     
                 
                
            
            
                
    
                    
                             habboi
                            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
                     
                    
                        
                        Posted 
    2005-05-30 10:48am
                     
                 
                
            
            
                
    
                    
                             DrGlass
                            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
                     
                    
                 
                
            
            
                
    
            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
                     
                    
                 
                
            
            
                
    
            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