Rockets, Bombs, and all makeshift Weapons

Avatar
Fracture
797 Posts
Posted Oct 01, 2013
I am making a second boss battle where the player has to utilize weaponry and explosives that they find lying around. I have attempted utilizing a gravity gun to launch live missiles, but I cannot pick them up as prop_physics for some reason. I then attempted using prop_exploding_futbol. Same issue, as well it refuses to use anything but the 2 standard models. Now I tried making a func_physbox in the shape of a rocket. But It keeps breaking on physics just as it spawns and I cannot figure out the proper addoutput string to attach that property after dropping it instead.

Suggestions?

Advertisement
Registered users don’t see ads! Register now!
Avatar
TeamSpen210
608 Posts
Posted Oct 01, 2013
Replied 3 hours later
Perhaps a "Don't render" glass_futbol with a non-solid prop_dynamic parented to it? Then OnBreak TouchTest some triggers(filtered to detect futbols) to find out if the futbol was inside the vulnerable area, then trigger an explosion.
Avatar
FelixGriffin
2,680 Posts
Posted Oct 01, 2013
Replied 3 hours later

TeamSpen210 wrote:
Perhaps a "Don't render" glass_futbol with a non-solid prop_dynamic parented to it? Then OnBreak TouchTest some triggers(filtered to detect futbols) to find out if the futbol was inside the vulnerable area, then trigger an explosion.

Or just a prop_physics with Break On Touch.

Avatar
Fracture
797 Posts
Posted Oct 01, 2013
Replied 5 hours later

FelixGriffin wrote:
TeamSpen210 wrote:

Perhaps a "Don't render" glass_futbol with a non-solid prop_dynamic parented to it? Then OnBreak TouchTest some triggers(filtered to detect futbols) to find out if the futbol was inside the vulnerable area, then trigger an explosion.

Or just a prop_physics with Break On Touch.

tried that. It broke on spawn, I need it to break after I drop it.
I will attempt the futbol, though

EDIT : okay I managed to make something that just barely works

Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Oct 01, 2013
Replied 3 hours later
Remember that anything breakable will have the Explosion Damage and Explosion Radius keyvalues, which can help a lot. :wink: