Page 1 of 1

Teleporting objects from alcoves to floor (and back)

Posted: Mon May 12, 2003 11:26 pm
by Gambit37
I'm doing some funky stuff in a test dungeon, and have discovered a problem with teleporting objects.

If you place a teleporter on the same tile as a wall and an alcove, RTC gives you a warning during compile. That's fine, because in the game if you place objects in the alcove, the teleporting IS performed correctly. However, when the objects land in the target square they become 'ghosts'. RTC still draws them as if they are in the alcove: they are smaller, shaded darker, and drawn lower on the screen and it's impossible to pick them up.

I suspect that this is because there is no direct correlation between the N/S/E/W facing of an alcove and the NE/SE/SW/NW position of objects on a tile.

George, is it possible to fix this so that each facing of a wall translates to a corner of a tile? It opens up possibilities for all kinds of puzzles which can't be built at the moment. :wink: :wink:

Posted: Mon May 12, 2003 11:47 pm
by Gambit37
Actually, I think this only works one way. If you teleport objects from the floor to an alcove, they appear in the alcove OK, although I'm still not sure which corner relates to which face. It just looks like it doesn't work the other way...

Posted: Tue May 13, 2003 10:47 am
by George Gilbert
Yep, no problem. I remember putting in code to cope with moving from a floor to an alcove (as it does in bits of CSB) but not the other way around. Should be easy to fix...

I'll probably also remove the warning if the teleporter is on the same tile as an alcove (but keep it if it's just on an empty wall).

Posted: Mon Dec 22, 2003 10:21 am
by George Gilbert
Fixed for V0.27

Posted: Thu Apr 28, 2005 10:42 pm
by L!ghthouse
George,
It seems like these problems have re-surfaced. I have sent you a small dungeon highlighting the problems. (teleport.txt) [let me know if you got it]

1)Warning messages are still received if teleporters are placed on walls.
2)There is no editor support for adding teleporters to walls. You can only add a teleporter to a wall by manually editing the txt.
3)When you place an item in an alcove and teleport it, it retains it's original position even if you edit the teleport's rotation parameters.
4)An item teleported from an alcove to the floor cannot be picked up.

Thanks George!