live wire

live wire

Re: live wire Posted by DrGlass on Thu Jan 20th 2005 at 9:35am
DrGlass
1825 posts
Posted 2005-01-20 9:35am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
Ok, I have a wire, starting with a move_rope that is connected with a keyframe_rope.

The keyframe is the child of a small nodraw physbox.

The pysbox is also the parent to a env_spark, env_physexplosion, and a trigger_hurt.

I set up a logic timer to fire the spark and explosion at the same time
randomly. That seems to work just find, there is a spark, the
explosion moves the physbox (along with its children). Only
problem is that the wire is not connected!

Any one have any ideas how I can achive this? Maybe there is a better way to do it alltogether?

Brainstorm! thanks
Re: live wire Posted by Leperous on Thu Jan 20th 2005 at 11:16am
Leperous
3382 posts
Posted 2005-01-20 11:16am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Make the func_physbox itself the next keyframe of the rope and try again, works for me (though Hammer doesn't want to draw lines between them?)
Re: live wire Posted by DrGlass on Thu Jan 20th 2005 at 3:46pm
DrGlass
1825 posts
Posted 2005-01-20 3:46pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
oh yeah! thanks lep. Lets see if that works.
Re: live wire Posted by aonomus on Sat Jan 22nd 2005 at 4:50am
aonomus
18 posts
Posted 2005-01-22 4:50am
aonomus
member
18 posts 2 snarkmarks Registered: Dec 26th 2004
To add to Leperous's answer, add a env_spark entity parented to the
loose physbox, and also add either a phys_spring or a
phys_lengthconstraint to have the wire dangle (maybe use a phys_spring
for a bouncy wire)