Odd Problem With Exploding Entities
Quote from Spam Nugget on December 19, 2011, 7:04 amIm having a really weird problem with exploding prop_physics_override.
Basically, I wanted to make a bomb like those in the game but without the annoying habit of flying out of portals at odd angles. So i grabbed a prop_physics_override, set the world model and explosion-relevant values, ticked the flag "break on touch" and put the thing so it spawns from a long tube on button press.
But im having problems.
First of all, it doesnt always explode when it hits the ground. Which is a bugger.
But the really annoying problem is that when a portal is placed underneath the tube, where the bomb will land, the bomb not only often smacks into the tube on its way out (presumably due to portal funneling??) but explodes in mid air above the portal. Every time. Remove the portal and it hits the floor every time. I cant for the life of me figure out why.
Any help with either problem would be appreciated immensely!
Im having a really weird problem with exploding prop_physics_override.
Basically, I wanted to make a bomb like those in the game but without the annoying habit of flying out of portals at odd angles. So i grabbed a prop_physics_override, set the world model and explosion-relevant values, ticked the flag "break on touch" and put the thing so it spawns from a long tube on button press.
But im having problems.
First of all, it doesnt always explode when it hits the ground. Which is a bugger.
But the really annoying problem is that when a portal is placed underneath the tube, where the bomb will land, the bomb not only often smacks into the tube on its way out (presumably due to portal funneling??) but explodes in mid air above the portal. Every time. Remove the portal and it hits the floor every time. I cant for the life of me figure out why.
Any help with either problem would be appreciated immensely!

I think in terms of boolean variables. Generally, it makes things easier.
Quote from Mr. P. Kiwi on December 19, 2011, 1:13 pmThe normal bomb flies out in 'odd directions', as I have come to understand, so you can better control it's movement. Ever noticed how it aligns itself with portals to go through them? If you want it to hit a specific target, make a trigger_catapult and add a launch target where you want it to hit.
Problem solved.
The normal bomb flies out in 'odd directions', as I have come to understand, so you can better control it's movement. Ever noticed how it aligns itself with portals to go through them? If you want it to hit a specific target, make a trigger_catapult and add a launch target where you want it to hit.
Problem solved.
Quote from Spam Nugget on December 19, 2011, 5:01 pmthabks, but that doesnt help me. first of all, there are too many possibilities for portal placement, and more importantly, one part of the puzzle specifically requires having it come out of a floor portal and then going back in.
thabks, but that doesnt help me. first of all, there are too many possibilities for portal placement, and more importantly, one part of the puzzle specifically requires having it come out of a floor portal and then going back in.

I think in terms of boolean variables. Generally, it makes things easier.
Quote from Spam Nugget on December 20, 2011, 12:06 ambump!
Also, ive fixed the problem of it bouncing round the tube its coming out of byt tunring off smart edit and disabling portal funneling, but the damn thing still explodes whenever it gets too close to a portal.EDIT: Also, interestingly if a portal is put underneath the dispenser and then fizzled then the bombs still explode in mid air. But if the portal is placed elsewhere then the bombs just hit the floor.........odd.
bump!
Also, ive fixed the problem of it bouncing round the tube its coming out of byt tunring off smart edit and disabling portal funneling, but the damn thing still explodes whenever it gets too close to a portal.
EDIT: Also, interestingly if a portal is put underneath the dispenser and then fizzled then the bombs still explode in mid air. But if the portal is placed elsewhere then the bombs just hit the floor.........odd.

I think in terms of boolean variables. Generally, it makes things easier.
Quote from Spam Nugget on December 22, 2011, 6:43 ambump.
i could REALLY use some help with this. ive uploaded the custom instance im using, if someone could take a look at it id really appreciate it.bomb_dropper_mybomb.zip
bump.
i could REALLY use some help with this. ive uploaded the custom instance im using, if someone could take a look at it id really appreciate it.

I think in terms of boolean variables. Generally, it makes things easier.
Quote from TheCakeIsASpy on December 22, 2011, 9:07 amProp_physics got exploding mechnisems as well. I couldn't solve your problem though
Prop_physics got exploding mechnisems as well. I couldn't solve your problem though ![]()

More information Here
"Pretty is better than ugly, but if it doesn't work, ugly is better than pretty"
-Phyton
Quote from Robdon on December 22, 2011, 1:14 pmHi,
As beecake said, cant you use a prop_exploding_futbol?
Thats how Valve does it...
Rob.
Hi,
As beecake said, cant you use a prop_exploding_futbol?
Thats how Valve does it...
Rob.
Quote from Spam Nugget on December 22, 2011, 10:02 pmI cant use prop_exploding_futbols because, as has already been stated, they dont fly straight out of portals. If you drop one straight into a portal and out of anopther floor portal, it still goes off at an angel and hits the floor rather than going back into the portal it left. This breaks the puzzle I want to do.
I cant use prop_exploding_futbols because, as has already been stated, they dont fly straight out of portals. If you drop one straight into a portal and out of anopther floor portal, it still goes off at an angel and hits the floor rather than going back into the portal it left. This breaks the puzzle I want to do.

I think in terms of boolean variables. Generally, it makes things easier.
Quote from Robdon on December 23, 2011, 5:18 amAh yes, sorry, didn't realise they meant that entity, and I didnt see that when I tested it, no I do though
Not sure then. It seems a bit strange it explodes early.
It even did it sometimes for me if the portal wasnt below the vent when the bomb comes out.
Rob.
Ah yes, sorry, didn't realise they meant that entity, and I didnt see that when I tested it, no I do though ![]()
Not sure then. It seems a bit strange it explodes early.
It even did it sometimes for me if the portal wasnt below the vent when the bomb comes out.
Rob.




