Page 1 of 3
@Devs: Will the dungeon editor allow us to...
Posted: Thu Jul 05, 2012 12:33 am
by Lyverbe
I'm starting to throw down ideas on paper while waiting for the editor. One of those ideas requires a door opening on a level due to a lever on another level. I don't remember seeing such a thing in the current maps. Can the editor/LUA/engine handle this?
Re: @Devs: Will the dungeon editor allow us to...
Posted: Thu Jul 05, 2012 3:21 am
by pulpum
evil trick!

not very nice for the player

Re: @Devs: Will the dungeon editor allow us to...
Posted: Thu Jul 05, 2012 10:32 am
by Ixnatifual
pulpum wrote:evil trick!

not very nice for the player

That depends on how the author goes about it.
Re: @Devs: Will the dungeon editor allow us to...
Posted: Thu Jul 05, 2012 12:21 pm
by petri
Yes, it's possible but requires some trickery because you can't send messages or add connectors between levels. However, you can teleport items on a pressure plate on another level. The plate can then open a door, for example.
Re: @Devs: Will the dungeon editor allow us to...
Posted: Thu Jul 05, 2012 12:50 pm
by Lyverbe
petri wrote:Yes, it's possible but requires some trickery because you can't send messages or add connectors between levels. However, you can teleport items on a pressure plate on another level. The plate can then open a door, for example.
Hmm... My goal was for the player to create a 'X" with the levers
Code: Select all
1st floor: [ up ][down][ up ]
2nd floor: [down][ up ][down]
3rd floor: [ up ][down][ up ]
Once done, this would have opened a door/wall/whatever. Ah well, I'll scratch this one off my list.
Re: @Devs: Will the dungeon editor allow us to...
Posted: Thu Jul 05, 2012 1:13 pm
by antti
Lyverbe wrote:petri wrote:Yes, it's possible but requires some trickery because you can't send messages or add connectors between levels. However, you can teleport items on a pressure plate on another level. The plate can then open a door, for example.
Hmm... My goal was for the player to create a 'X" with the levers
Code: Select all
1st floor: [ up ][down][ up ]
2nd floor: [down][ up ][down]
3rd floor: [ up ][down][ up ]
Once done, this would have opened a door/wall/whatever. Ah well, I'll scratch this one off my list.
That should still be entirely doable with the teleporting items -workaround that Petri described. It is indeed just a little trickier but getting around limitations is part of the fun in level scripting!

Re: @Devs: Will the dungeon editor allow us to...
Posted: Thu Jul 05, 2012 5:57 pm
by Disasterrific
I put together a quick list of "map oddities" which should give an idea of some of the ways the puzzles are coded here:
viewtopic.php?f=14&t=2277
Re: @Devs: Will the dungeon editor allow us to...
Posted: Sat Jul 07, 2012 12:09 am
by Lyverbe
I know transporters can move objects around including the player, but can they transport map elements such as walls, doors, etc.? I really don't believe it can, but I'm asking. I thought of a good puzzle but it would require walls to be moved.
I have 7 puzzles ready to be integrated

Re: @Devs: Will the dungeon editor allow us to...
Posted: Sat Jul 07, 2012 2:23 am
by glyn_ie
Lyverbe wrote:I know transporters can move objects around including the player, but can they transport map elements such as walls, doors, etc.? I really don't believe it can, but I'm asking. I thought of a good puzzle but it would require walls to be moved.
I have 7 puzzles ready to be integrated

- Associate an lua script with each of the tiles you stand on after entering a level.
- Then, program the script to check for the presence of the appropriate objects being teleported between levels.
- Based on the state of these objects, instruct the script to either generate or remove walls, doors or whatever else is needed for your puzzles.
I imagine this approach would work.
Re: @Devs: Will the dungeon editor allow us to...
Posted: Sat Jul 07, 2012 2:37 am
by Treybor
This is extremely helpful information.
I have a quick question about books. Can you script a book to have a set of pages of texts? Like having multiple notes in one item?