Teleporting objects to an alcove

Questions about how to create your own dungeons and replacement graphics and sounds.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Big-J-Q
Adept
Posts: 215
Joined: Sat Apr 14, 2001 6:05 pm
Location: Oulu, Finland

Teleporting objects to an alcove

Post by Big-J-Q »

In my dungeon I have a place where you need to use two keys to make an object to appear on altar. I have the object stashed in a small square with an inactive teleporter somewhere deep in the rock.

So, when the 2 keys have been used, then the object teleports from the floor to the wall (the alcove), and positions won't be the same. Does the RTC-engine guess which should the new position be or is there some kind of logic behind it? What if I have 4 alcoves on the teleport destination square, facing different directions?
User avatar
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Floor Tile South East = Wall tile South
Floor Tile South West = Wall tile West
Floor Tile North West = Wall tile North
Floor Tile North East = Wall tile East

(I think!)
User avatar
Big-J-Q
Adept
Posts: 215
Joined: Sat Apr 14, 2001 6:05 pm
Location: Oulu, Finland

Post by Big-J-Q »

Alright, thanks for the quick reply ;)
User avatar
copperman
Um Master
Posts: 476
Joined: Thu Aug 29, 2002 12:49 pm
Location: UK

Post by copperman »

I believe this is done with the teleport direction actually. I tried it a while back for the "emulate throwing stuff into alcoves" thing.
Don't be scene or herd!
User avatar
Big-J-Q
Adept
Posts: 215
Joined: Sat Apr 14, 2001 6:05 pm
Location: Oulu, Finland

Post by Big-J-Q »

Do you mean when you are shooting things into teleporters? I have a thing lying on the ground and an inactive teleporter on the same square. I did some research and I noticed that the landing position depends only on the on the floor position as Gambit already suggested, but the equivalences were different:

Floor SouthEast = Wall South
Floor NorthEast = Wall East
Floor NorthWest = Wall North
Floor SouthWest = Wall West
User avatar
copperman
Um Master
Posts: 476
Joined: Thu Aug 29, 2002 12:49 pm
Location: UK

Post by copperman »

Yes I do, oops, sorry dor the confusion.
Don't be scene or herd!
Post Reply