spawn prop_physics

spawn prop_physics

Re: spawn prop_physics Posted by DrGlass on Sat Aug 12th 2006 at 8:42pm
DrGlass
1825 posts
Posted 2006-08-12 8:42pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
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?
Re: spawn prop_physics Posted by omegaslayer on Sat Aug 12th 2006 at 9:11pm
omegaslayer
2481 posts
Posted 2006-08-12 9:11pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
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)
Posting And You
Re: spawn prop_physics Posted by DrGlass on Sun Aug 13th 2006 at 5:15am
DrGlass
1825 posts
Posted 2006-08-13 5:15am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
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?
Re: spawn prop_physics Posted by omegaslayer on Sun Aug 13th 2006 at 5:52am
omegaslayer
2481 posts
Posted 2006-08-13 5:52am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Well if its moving around then an env_shooter parented to the moving object would be your best choice. (if it can be done)
Posting And You
Re: spawn prop_physics Posted by DrGlass on Sun Aug 13th 2006 at 7:03pm
DrGlass
1825 posts
Posted 2006-08-13 7:03pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
env_entry_maker don't know if it works yet tho