Perhaps it's not that simple because I believe the each map/floor is actually a single 3D mesh that you travel into with that mesh being generated when you enter that floor. If each cell has an individual wall bloc (which is nothing more than a single cube), then I also think it can be done. That's why I'm asking the Devsglyn_ie wrote: - 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.
@Devs: Will the dungeon editor allow us to...
Re: @Devs: Will the dungeon editor allow us to...
Re: @Devs: Will the dungeon editor allow us to...
Remember that one level actually has a secret "door" that looks entirely like a wall, so locations can alternate between being and not being a wall, that's certainly possible.
If you want to allow the player to watch walls shift from one space to another, that's an entirely different matter.
If you want to allow the player to watch walls shift from one space to another, that's an entirely different matter.
Re: @Devs: Will the dungeon editor allow us to...
Yeah, I already thought about that, but it would be too slow for what I want to do. I would want something instantaneous and moving a wall (using a teleport) would have been perfect.Thels wrote:Remember that one level actually has a secret "door" that looks entirely like a wall, so locations can alternate between being and not being a wall, that's certainly possible.
If you want to allow the player to watch walls shift from one space to another, that's an entirely different matter.
Re: @Devs: Will the dungeon editor allow us to...
I was merely pointing out that a location can be a wall at one time and open space another time, which is what you require.
I don't think you can actually teleport walls around, but it should be quite possible to stop one location from being a wall, but start an adjacent location from being a wall. This would require some LUA coding, though.
I don't think you can actually teleport walls around, but it should be quite possible to stop one location from being a wall, but start an adjacent location from being a wall. This would require some LUA coding, though.
Re: @Devs: Will the dungeon editor allow us to...
How about global lua variables? Make the trigger set the variable, and then check that when entering the new dungeon.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.
Re: @Devs: Will the dungeon editor allow us to...
That's super old school -- you built an original limitation of the original DM right into LoG!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.
All joking aside though, why would you build that sort of limitation into a modern engine? The only reason DM didn't support it was due to extremely restrictive available memory, and they removed that limitation in DM2. I'm puzzled why you can't do this in LoG?
Re: @Devs: Will the dungeon editor allow us to...
No particular reason. The original dungeon didn't really need this feature so it was never implemented. It's just how the code has evolved. I guess it should be possible to change this if really needed but I think there are more important features...gambit37 wrote:That's super old school -- you built an original limitation of the original DM right into LoG!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.
All joking aside though, why would you build that sort of limitation into a modern engine? The only reason DM didn't support it was due to extremely restrictive available memory, and they removed that limitation in DM2. I'm puzzled why you can't do this in LoG?
Re: @Devs: Will the dungeon editor allow us to...
I don't think explizit communication between levels would be required. Not as long you can simply use hidden rooms with teleporters, presure plates and preplaced rocks.
Besides that, puzzles requiring to think across multiple levels aren't such a good idea in terms of level design since you force the player to switch levels quite often and 3D patterns might not be comprehendable since the levels are never displayed at top of each other, only side by side.
Though what you could do, is aligning multiple trap doors on top of each other. Problem is, i'm not sure what that means in terms of damage calculation when the player steps into such a trap. Would the player receive damage for every trapdoor they pass, only for the last one or wouldn't they be able to fall down the following trap dors at all?
Besides that, puzzles requiring to think across multiple levels aren't such a good idea in terms of level design since you force the player to switch levels quite often and 3D patterns might not be comprehendable since the levels are never displayed at top of each other, only side by side.
Though what you could do, is aligning multiple trap doors on top of each other. Problem is, i'm not sure what that means in terms of damage calculation when the player steps into such a trap. Would the player receive damage for every trapdoor they pass, only for the last one or wouldn't they be able to fall down the following trap dors at all?
-
- Posts: 17
- Joined: Mon May 07, 2012 2:27 pm
Re: @Devs: Will the dungeon editor allow us to...
Cant you just set and read global variables or when custom declaration is not allowed, is there not something like a hashtable/data bank?
-
- Posts: 41
- Joined: Wed Apr 11, 2012 5:48 pm
Re: @Devs: Will the dungeon editor allow us to...
Why can't you teleport the LUA entities to different levels? ^_^