Teleporting objects from alcoves to floor (and back)

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

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
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Teleporting objects from alcoves to floor (and back)

Post 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:
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post 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...
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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).
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Fixed for V0.27
User avatar
L!ghthouse
Craftsman
Posts: 106
Joined: Mon Nov 10, 2003 9:43 pm
Location: Budapest, Hungary

Post 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!
Post Reply