exploding physbox?

exploding physbox?

Re: exploding physbox? Posted by Ch402 on Thu Jul 14th 2005 at 11:53pm
Ch402
26 posts
Posted 2005-07-14 11:53pm
Ch402
member
26 posts 173 snarkmarks Registered: Jun 30th 2005 Location: england
im trying to create 2 physboxes that bot explode after x amount of
damage and respawn together...i have use a method that should get them
to respawn (with a math_counter, logic and template or names of
similar) wich works with prop_physics_multiplayer barrels to respawn
them only after they are all gone.

the only problem i have is makeing the damnd physbox actualy splode !!

i have set the health of it to 1 and still no bang

EDIT

also tryed makeing them "break on touch" with the flags, but that had no explosion
Re: exploding physbox? Posted by RaPtoR on Fri Jul 15th 2005 at 12:05am
RaPtoR
212 posts
Posted 2005-07-15 12:05am
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Lol! Me likes your typo.. :razz:

Now why don't you just add an env_explotion, place it inside your
physbox and set the physbox as it's parent. It will now follow it
around. Make a trigger from the physbox: contitions: "OnBreak" -
env_explotion "SPLODE!!!"
God got tired waiting all sunday for the world to compile and finaly had it.
On the Eight day, god created func_details, and he saw that it was fast.
Re: exploding physbox? Posted by Ch402 on Fri Jul 15th 2005 at 12:30am
Ch402
26 posts
Posted 2005-07-15 12:30am
Ch402
member
26 posts 173 snarkmarks Registered: Jun 30th 2005 Location: england
that makes the explode effect so you get credit for that :smile:

it didnt actualy damage anything even though i set it to, so i just
added a trigger_hurt in the same way i did the env_explosion thingy and
added 2 outputs to the physbox (on break enable and a second later
disable) to simulate the effect.

but it still doesent explode when it gets damaged, even though its set to 1 hp
Re: exploding physbox? Posted by RaPtoR on Fri Jul 15th 2005 at 1:32pm
RaPtoR
212 posts
Posted 2005-07-15 1:32pm
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Oh yeah, just came up with one idea.

Maybe it dont xplode cuz you forgot to set the "explode magnitude" property? :wink:
God got tired waiting all sunday for the world to compile and finaly had it.
On the Eight day, god created func_details, and he saw that it was fast.