Explodes when dropped...

Explodes when dropped...

Re: Explodes when dropped... Posted by David from IKG on Wed May 11th 2005 at 8:31pm
David from IKG
60 posts
Posted 2005-05-11 8:31pm
60 posts 6 snarkmarks Registered: Jan 16th 2005
How can I make an object which I can pick up, and then when I throw it, it will blow up? I know how to make a pick-up-able object, but I don't know how to make it explode when I throw it and it hits the ground. Thanks :biggrin:

update: i think i just figured out how. i make explosion radius big and lower strength. i'll try that. i wasnt able to open Hammer before to see, so thats why i posted this. i still might need help if it doesnt work though...

update 2: sorry. i found out how to do it now. the flags werent showing up before, but now they are. nevermind :argh:

update 3: now i need help again. its not exploding like a bomb...
Re: Explodes when dropped... Posted by Dark Tree on Fri May 13th 2005 at 6:31am
Dark Tree
646 posts
Posted 2005-05-13 6:31am
646 posts 264 snarkmarks Registered: Apr 30th 2004 Occupation: DigiPen student Location: USA
sorry, lol. :azelito: ...man I'm helpful.
Re: Explodes when dropped... Posted by wil5on on Fri May 13th 2005 at 7:58am
wil5on
1733 posts
Posted 2005-05-13 7:58am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
I take it this is a func_physbox... if so, you may be able to set its "break immediately on physics" flag, and give it a large explosion size/radius. This may cause it to explode when you pick it up tho... try it.

If its a prop_physics (ie. model based) its damage properties are set inside the model, and you cant change them from hammer (afaik).
Re: Explodes when dropped... Posted by David from IKG on Fri May 13th 2005 at 8:57pm
David from IKG
60 posts
Posted 2005-05-13 8:57pm
60 posts 6 snarkmarks Registered: Jan 16th 2005
i did that. the new problem is that it doesnt explode like a bomb. it just breaks...
Re: Explodes when dropped... Posted by Rof on Fri May 13th 2005 at 10:15pm
Rof
210 posts
Posted 2005-05-13 10:15pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Hmmm. Parent an env_explosion to the func_physbox (put the name of the physbox into the env_explosion's Parent field), and give the physbox an output:

OnBreak: explosionname, Expode

Where explosionname is the name of the env_explosion.

That should do it.
Re: Explodes when dropped... Posted by omegaslayer on Sat May 14th 2005 at 3:32am
omegaslayer
2481 posts
Posted 2005-05-14 3:32am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
I think the model actually needs to have it built in to explode, like
the models/props_c17/oildrum001_explosive.mdl notice the explosive at
the end, I think that valve coded the model to explode after it was
tossed, so in order to make a computer explode persay, you would have
to use what Rof sid above^^^^^^^^