Attaching cables to something.. There appears to be a bug of some sort.

Attaching cables to something.. There appears to be a bug of some sort.

Re: Attaching cables to something.. There appears to be a bug of some sort. Posted by xtwells on Sun Jan 2nd 2005 at 8:31am
xtwells
6 posts
Posted 2005-01-02 8:31am
xtwells
member
6 posts 1 snarkmarks Registered: Dec 28th 2004
I attached 6 seperate entities to a box, and 3 others elsewhere.. but it didn't work

func_physbox (box) name: box

move_rope (pos. 1) : ropeholder1, next keyframe: rope1

move_rope (pos. 2): ropeholder2, next keyframe: rope2

move_rope (pos. 3): ropeholder3, next keyframe: rope3

keyframe_rope (box): rope1, parent: box

keyframe_rope (box) - 2: rope2, parent: box

keyframe_rope (box) - 3: rope3, parent: box

phys_lengthsconstraint (box, origin @ ropeholder1): constraint1, entity 1: box

phys_lengthsconstraint (box, origin @ ropeholder2): constraint2, entity 1: box

phys_lengthsconstraint (box, origin @ ropeholder3): constraint3, entity 1: box

it is MEANT to be moving crazy.

My problem: the move_rope ropes, although they are (in hammer) looking
to be connected to the others, in the game ALL connect at the center
point.. e.g. in hammer is EXACT center.

I have made a new map, same situation, no go..

Anyone?
Re: Attaching cables to something.. There appears to be a bug of some sort. Posted by carpaltunnel on Sun Jan 2nd 2005 at 8:49am
carpaltunnel
10 posts
Posted 2005-01-02 8:49am
10 posts 31 snarkmarks Registered: Jan 2nd 2005
I have a similar problem. I made 3 swinging lights, which do by the way swing perfectly, because I followed the tutorial exactly... EXCEPT there's one problem:

...you see cables that run from the point of attachment all the way to exact center, origin (0,0,0). The cable that actually holds the light is invisible. It looks weird. I cannot seem to get around this problem. I tried deleting and re-adding the entities-- no luck. I tried changing every attribute I could think of-- no luck there either.

Let me know if you find the solution to this. It may be an editor bug with no work-around. Hopefully Valve will fix this in a new release of Hammer.
Re: Attaching cables to something.. There appears to be a bug of some sort. Posted by Leperous on Sun Jan 2nd 2005 at 11:59am
Leperous
3382 posts
Posted 2005-01-02 11:59am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Where is your func_physbox when this happens? And does it work fine without the lengthconstraints?
Re: Attaching cables to something.. There appears to be a bug of some sort. Posted by Rof on Sun Jan 2nd 2005 at 5:51pm
Rof
210 posts
Posted 2005-01-02 5:51pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
It's a bug in CS:S. This sort of thing works fine in HL2 and HL2DM, but
any rope with a position parented to something ends up pointing to
0,0,0 in CS:S.

There's a workaround using logic_measure_movement, but it's not pretty. See

here
(end of thread) for my solution.
Re: Attaching cables to something.. There appears to be a bug of some sort. Posted by Raeth on Sun Jan 2nd 2005 at 6:12pm
Raeth
62 posts
Posted 2005-01-02 6:12pm
Raeth
member
62 posts 16 snarkmarks Registered: Nov 24th 2004 Location: USA
This is a well-known bug in CS:S. It happens when you try to
parent a keyframe_rope to something. I think you can just switch
your entities around (parenting the move_rope to the moving object
instead of the keyframe_rope), but if that doesn't work, there's
another solution using logic_measure_movement described in these two
threads (search is your friend!).

http://www.chatbear.com/board.plm?a=viewthread&b=4989&t=738,1104483021,32326&s=0&id=765763#1

http://www.chatbear.com/board.plm?a=viewthread&t=609,1102946880,18626&id=752855&b=4989&v=flatold