Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Inform] double-ended rope

8 views
Skip to first unread message

michael...@ey.com

unread,
Jun 5, 1998, 3:00:00 AM6/5/98
to

I'm trying to implement a rope. The rope needs to have the following
characteristics:

1) You should be able to tie up to two objects to the rope, on on either end.
2) As a logical extension of (1) above, you should be able to tie both ends
of the rope to the same object. 3) You should be able to take the free end of
the rope to another room, leaving the object tied to it behind, in the first
room. 4) If you take the free end of the rope too far, the object on the
other end will start dragging along behind you.

Has anyone ever tried something this complex? Does anyone have any suggestions
on how it could be implemented?

I know Graham Nelson implemented a very complex and realistic rope in _Metor,
Stone, etc. etc._ -- would he possibly consider publishing his source code for
it?

All input will be appreciated.

--M.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading

Lucian Paul Smith

unread,
Jun 5, 1998, 3:00:00 AM6/5/98
to

michael...@ey.com wrote:
: I'm trying to implement a rope.

Oof.

This is one of those standard questions that can never be definitively
answered, because it's dreadfully complex, and any individual
implementation depends on what, exactly, you want it to do in your code.

I've attempted to at least bring up the important issues at:

http://c2.com/cgi/wiki?IntFicRope

When writing it, I compiled a ton of posts from raif, and you can read
them all at:

http://c2.com/cgi/wiki?IntFicRopeTips

As noted there, you might want to look at the 'Attachable' and
'Attachpoint' classes in the TADS library, and (as someone else posted)
Hugo has a similar class in it.

Good luck!

-Lucian


Roger Carbol

unread,
Jun 5, 1998, 3:00:00 AM6/5/98
to

michael...@ey.com wrote:
>
> I'm trying to implement a rope. The rope needs to have the following
> characteristics:
>
> 1) You should be able to tie up to two objects to the rope, on on either end.
> 2) As a logical extension of (1) above, you should be able to tie both ends
> of the rope to the same object. 3) You should be able to take the free end of
> the rope to another room, leaving the object tied to it behind, in the first
> room. 4) If you take the free end of the rope too far, the object on the
> other end will start dragging along behind you.

You should also be able to tie the rope to itself exactly once iff
both ends are free.

Unless you want to start implementing nooses, etc etc. Likely you
do not.

.. Roger Carbol .. r...@shaw.wave.ca .. hang on hangman

0 new messages