Page 1 of 1

teleporters bug

Posted: Sat Feb 02, 2013 11:24 am
by Pandafox
hi,

I just found a big problem with the teleporters in the editor.
I was making my dungeon, already 12 levels finished, but I wanted to add a level 0 before the first level.
Then, I added a new level and movie it at the begining of the levels list.
But now when I try my dungeon, all the teleporters are wrong. They teleport the party at a different level :shock:

Re: teleporters bug

Posted: Sat Feb 02, 2013 11:54 am
by Saurbaum
Yeah that's because the Teleporters have a target level (stored as a value rather than a reference to a specific one) which doesn't change if you move the levels around your teleporters will all break as you discovered.

Personally I try not to move the levels to avoid this (and problems with pits)

Re: teleporters bug

Posted: Sat Feb 02, 2013 8:31 pm
by Komag
you can open the dungeon.lua file in a text editor (I highly recommend Notepad++) and do a clever/careful search/replace on all the teleporters.

Re: teleporters bug

Posted: Sat Feb 02, 2013 9:44 pm
by Pandafox
Komag wrote:you can open the dungeon.lua file in a text editor (I highly recommend Notepad++) and do a clever/careful search/replace on all the teleporters.
oh! what a good idea !! thanks ! ;)