Wire(s) help...

Wire(s) help...

Re: Wire(s) help... Posted by Paladin[NL] on Tue Jan 25th 2005 at 5:01pm
Paladin[NL]
157 posts
Posted 2005-01-25 5:01pm
157 posts 56 snarkmarks Registered: May 4th 2004 Occupation: Student/mapper Location: Netherlands
I've taken a look at some of the tutorials concernig the ways to implement wires in your map, but I would like some more detailed information about attaching wires to 1 brush/solid etc.

Thanks for the info
Re: Wire(s) help... Posted by Neural Scan on Tue Jan 25th 2005 at 5:13pm
Neural Scan
150 posts
Posted 2005-01-25 5:13pm
150 posts 85 snarkmarks Registered: Jun 28th 2003 Occupation: Student Location: England.
If you're talking about how to attatch wires to a Physics entity (like func_physbox and prop_physics) then I think phys_lengthconstraints are what's used for just about everything. Simply set the name of the keyframe_rope or move_rope in Entity 1, then the name of the other object in Entity 2. Remember to put a value in 'Add Length' greater than 0 if you're attatching several ropes to an object though, or it'll go mad and jump all over the place.

If you want to attatch a rope to something that isn't physics (like a train or something), I think you have to set the keyframe_rope's parent to that object.

That's just about all I know about ropes though. Have fun.
Re: Wire(s) help... Posted by Rof on Tue Jan 25th 2005 at 6:21pm
Rof
210 posts
Posted 2005-01-25 6:21pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Look at the SDK
docs
and the sdk_cables.vmf example for simple cables.

For HL2 single player and DM, attaching a wire to a moving object is
simply done by parenting one end of it (the move_rope or keyframe_rope)
to the object.

For CS:S, everything goes kablooey. There's a workaround, which I could write a tutorial for, if you like.
Re: Wire(s) help... Posted by Gwil on Thu Jan 27th 2005 at 5:10pm
Gwil
2864 posts
Posted 2005-01-27 5:10pm
Gwil
super admin
2864 posts 315 snarkmarks Registered: Oct 13th 2001 Occupation: Student Location: Derbyshire, UK
Rof, please do :smile:

Good stuff with the links, I just found this on search for some
quick and easy eye candy.. :smile: goes off to implement wires