Wire(s) help...
Post Reply
Quote
Re: Wire(s) help...
Posted by Paladin[NL] on Tue Jan 25th at 5:01pm 2005


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





Quote
Re: Wire(s) help...
Posted by Neural Scan on Tue Jan 25th at 5:13pm 2005


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.

[addsig]




Quote
Re: Wire(s) help...
Posted by Rof on Tue Jan 25th at 6:21pm 2005


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.
[addsig]




Quote
Re: Wire(s) help...
Posted by Gwil on Thu Jan 27th at 5:10pm 2005


Rof, please do

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





Post Reply