env_shooter Created 20 years ago2004-06-19 13:10:24 UTC by VOX VOX

Created 20 years ago2004-06-19 13:10:24 UTC by VOX VOX

Posted 20 years ago2004-06-19 13:10:24 UTC Post #34847
What would I need to make so that every time you shoot this one object it triggers an env_shooter? Imagine you are shooting a tree with a machine gun, and all these leaves are flying out, lot's of them. What entity should the thing you're shooting at be?
Posted 20 years ago2004-06-19 13:31:38 UTC Post #34849
Particle effects are what you're thinking of. Code and sprites.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 20 years ago2004-06-19 16:15:47 UTC Post #34870
Or spirit
Posted 20 years ago2004-06-19 16:56:07 UTC Post #34886
I get the idea. Doesn't the button_target activete each time you shoot it? Then have such a thing activate the env_shooter...

http://collective.valve-erc.com/index.php?ent=button_target

Just a thought...
Posted 20 years ago2004-06-19 18:34:07 UTC Post #34897
never used a button_target, but i know you can get the effect you want with a func_button and an env_shooter. set up the shooter with the model or sprite you want to use and get the the other settings the way you want them. cover the "tree area" with the func_button and make it invisible (render mode solid, fx amount 0). target the shooter with it, give it a very small delay before reset (maybe .1 or less), give it .1 health, and click the "dont move"flag.

if the tree is large, you may want to separate it into different areas covered by different func_buttons which trigger separate shooters.

gl :P
You must be logged in to post a response.