Tall object falls

Tall object falls

Re: Tall object falls Posted by DocRock on Thu Jul 14th 2005 at 4:50pm
DocRock
367 posts
Posted 2005-07-14 4:50pm
DocRock
member
367 posts 929 snarkmarks Registered: Mar 24th 2002 Location: U S of A
There a way to have a tall object - like a building - get pushed over and when it falls, have a loud explosion?

Ideas? Suggestions?
Condemnation without Investigation is the Highest Form of Ignorance!
Re: Tall object falls Posted by rival on Fri Jul 15th 2005 at 6:24pm
rival
512 posts
Posted 2005-07-15 6:24pm
rival
member
512 posts 141 snarkmarks Registered: Apr 7th 2005 Occupation: being a pain in the ass Location: inverness
you could use an ambient_generic but those dont tend to be loud enough for me... if you use physboxes they make their own noise when they collide. or you could use and env_explosion with no fireball, smoke, decal or damage and it would make an explosion sound.
Re: Tall object falls Posted by DocRock on Fri Jul 15th 2005 at 8:57pm
DocRock
367 posts
Posted 2005-07-15 8:57pm
DocRock
member
367 posts 929 snarkmarks Registered: Mar 24th 2002 Location: U S of A
but how would the ambient_generic know when to trigger - or when would the env_explosion know when to trigger?

with the physics in HL2, the tower would fall differently every time - so is there a way to "link" the ambient generic to the tower when the tower goes from a standing stage to a "fallen down" stage?
Condemnation without Investigation is the Highest Form of Ignorance!
Re: Tall object falls Posted by fishy on Fri Jul 15th 2005 at 9:14pm
fishy
2623 posts
Posted 2005-07-15 9:14pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
possibly by using something that will take damage when the building falls on it as a trigger? some sort of exploding physbox that isn't active until the building starts to fall, so that it isn't triggered early.
i eat paint
Re: Tall object falls Posted by rival on Sat Jul 16th 2005 at 12:43am
rival
512 posts
Posted 2005-07-16 12:43am
rival
member
512 posts 141 snarkmarks Registered: Apr 7th 2005 Occupation: being a pain in the ass Location: inverness
name the tower and put a trigger all around it so when it falls through the trigger an explosion or sound happens.
Re: Tall object falls Posted by Orpheus on Sat Jul 16th 2005 at 7:38am
Orpheus
13860 posts
Posted 2005-07-16 7:38am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
IMHO, it seems to me that whatever "pushes" this tower over can also trigger the sounds Doc. You are somewhat vague on the event but with the little info you have posted, that seems the best option to me.

shrugs

The best things in life, aren't things.
Re: Tall object falls Posted by DocRock on Sun Jul 17th 2005 at 3:36pm
DocRock
367 posts
Posted 2005-07-17 3:36pm
DocRock
member
367 posts 929 snarkmarks Registered: Mar 24th 2002 Location: U S of A
There is a tall tower in a map.

You can shoot it to knock it over.

With the HL2 physics, it is hard to tell exactly when the tower will fall, since it is a prop. The model will wobble sometimes, but not fall every time.

I'm looking to see if there is a way to have the tower trigger an explosive sound when it finally falls to the ground.

Is it possible? Thanks :smile:
Condemnation without Investigation is the Highest Form of Ignorance!
Re: Tall object falls Posted by DrGlass on Mon Jul 18th 2005 at 5:13am
DrGlass
1825 posts
Posted 2005-07-18 5:13am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
parent a small physbox to the top of the tower, name it, then have a
trigger_once with a filter to only be triggered by that physbox.

make the trigger a huge box very close to the ground so when the tower
falls it will move the physbox into the trigger volume and set off a
loud sound (also attached to the tower)

There may be a better way to do this, but I think you can use the overall idea.