Respawn a cube automatically from a dropper?

Avatar
CroSSGunS
23 Posts
Posted May 20, 2011
I couldn't figure it out... I'm fairly new to the whole Hammer thing and would like the help. What I'm doing is if a cube drops into water (it's part of the puzzle) there's a kill trigger at the bottom of the lake which will destroy the cube and hopefully make a new one respawn.

Thanks :biggrin:

Advertisement
Registered users don’t see ads! Register now!
Avatar
Hanzik
26 Posts
Posted May 20, 2011
Replied 52 minutes later
I still haven't found myself in this particular problem, but definitely check this site on WiKi. I hope someone else will put a little brighter insight on this tho.
Avatar
McGinge
25 Posts
Posted May 20, 2011
Replied 1 hour later
I used this tutorial on the dev wiki for the basis of my cube dropper - http://developer.valvesoftware.com/wiki ... ox_dropper

I essentially had a logic relay that triggered the box maker to spawn the template, and the two inputs that went into that relay were a trigger brush (me entering the room) and that template box being fizzled (so that whenever it got killed, the relay would take another input and force spawn another cube). I think there's more elegant polished ways of doing it but that's how I added a dropper with fairly simple logic.

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted May 20, 2011
Replied 2 hours later
If you already got the cube to spawn alright just enter an output into the cube similar to this: "OnFizzled cube_template_spawner ForceSpawn"