live wire
Post Reply
Quote
Re: live wire
Posted by DrGlass on Thu Jan 20th at 9:35am 2005


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




Quote
Re: live wire
Posted by Leperous on Thu Jan 20th at 11:16am 2005


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?)





Quote
Re: live wire
Posted by DrGlass on Thu Jan 20th at 3:46pm 2005


oh yeah! thanks lep. Lets see if that works.




Quote
Re: live wire
Posted by aonomus on Sat Jan 22nd at 4:50am 2005


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)





Post Reply