Sphere lost through portals

Avatar
x6herbius
11 Posts
Posted Dec 19, 2011
I'm looking for a solution to the following:

I have a spherical prop_weighted_cube set to respawn via a point_template when it gets fizzled. However, occasionally the sphere can bug out when going through a portal and seemingly sink into the floor/wall without returning. I guess this is because it doesn't technically get fizzled but I don't know a way of detecting when this happens in order to spawn a new sphere.

Has anyone come across this before and found a solution?

Advertisement
Registered users don’t see ads! Register now!
Avatar
iWork925
1,080 Posts
Posted Dec 19, 2011
Replied 29 minutes later
Why it goes into a portal it comes out the other one. Its hard to get your head around. Try looking near the other portal.
Avatar
x6herbius
11 Posts
Posted Dec 19, 2011
Replied 29 minutes later
No, I mean it actually disappears into the surface and doesn't come back. I had the same thing happen when I was playing Seven Gates, except on that map the cubes did respawn when lost like that and I'm looking for how to achieve the same thing.
Avatar
iWork925
1,080 Posts
Posted Dec 19, 2011
Replied 11 hours later
for the prop_weighted_cube:

OnKilled > point_template > ForceRespawn > 0.00

Avatar
x6herbius
11 Posts
Posted Dec 21, 2011
Replied 1 day later
I tried that before, and not only is OnKilled not recognised as an input in Hammer, it also has no effect when the map's compiled and I kill the sphere through the console.

EDIT: I just decompiled Seven Gates and it looks like all the cubes have in that map is an OnDissolve -> respawn input. I'll keep testing things out.

Advertisement
Registered users don’t see ads! Register now!
Avatar
iWork925
1,080 Posts
Posted Dec 21, 2011
Replied 1 hour later
It is an input. Don't listen to hammer. And it does work. OnDissolve obviously only works when it recieves a dissolve command.