spawn prop_physics
Post Reply
Quote
Re: spawn prop_physics
Posted by DrGlass on Sat Aug 12th at 8:42pm 2006


Basically I want to spawn a soda can at will that will become a prop_physics (so trigger_vphisics entity will act on it).

Env_shooter seems like the right tool, but can set it some the props don't disappear?




Quote
Re: spawn prop_physics
Posted by omegaslayer on Sat Aug 12th at 9:11pm 2006


I would personally use a point_template (with an input of forcespawn). And have something trigger it over and over again to spawn its template. The nice thing about this is the props will never go away.

Or if you wanted to, you could use 2 different templates (each prop with a different name), then have them spawining over and over again, and something else triggering the destruction of the prop_physics (a timer that kills entities with a certain name)






Quote
Re: spawn prop_physics
Posted by DrGlass on Sun Aug 13th at 5:15am 2006


I'll mark you as right, didn't think about the template.

[edit] ok here is the zingger, how can I make it spawn from a soda machine that moves around?




Quote
Re: spawn prop_physics
Posted by omegaslayer on Sun Aug 13th at 5:52am 2006


Well if its moving around then an env_shooter parented to the moving object would be your best choice. (if it can be done)






Quote
Re: spawn prop_physics
Posted by DrGlass on Sun Aug 13th at 7:03pm 2006


env_entry_maker don't know if it works yet tho




Post Reply