Some of you may remember that a fair while back, Lord Ivan released a map based on the 1997 movie 'Cube'. As I've not seen anyone try and oust it, I thought I would give it a shot.
Whilst a brilliant map, I always felt like it suffered from one problem, in that after playing it so many times, you would memorize the traps and the way out which removed all challenge from the map. Based off this dilemma, I didn't want to make a map that was simply bigger; I wanted to make it different each time you played it.
After two weeks, I finally have something to show for it. I've managed to make a cube maze that is randomly generated and is also significantly larger (over 10 times bigger!). The dimensions of this new map are 9x9x9, which gives you a total of 729 rooms to play with! To add to that, every one of those rooms has the chance of being one of seven colours and also has a chance of having a random trap in it! This gives it near unlimited replay-ability.
Whilst the exits will most likely be fixed, the method of getting to the exit will also be randomized just to make it even trickier! And also due to the fact that the colours of the rooms will be different each play through (as well as the rooms that are trapped and the traps within those rooms); trying to remember a path through the maze will be all but impossible - so bring friends!
The traps can be tested in the typical fashion - either throwing in a boot or throwing in a friend; I've always preferred the latter.
Another feature I've added is the ability to go up cubes, and not just down or into cubes horizontal of yours. This system can take a little getting used to, but once you have gotten used to it, it is pretty fluid.
A few pictures! All textures were made by Lord Ivan so all credit for those go to him! (If Lord Ivan has an issue with me using them, then he's free to contact me, however he will be credited in the map(I did also ask a few years back and he said yes, so hopefully his mind hasn’t changed in the meantime)).
As you can see, the lighting suffered greatly due to being unable to predict the colour of the cube and adjusting the lighting correctly.
This map naturally only works at the moment in the Garrysmod Beta, this is because it uses a huge amount of edicts (During my extreme stress testing, I managed to get the map up to 25k Edicts)
The way it works at the moment is that the maze is completely empty - no traps or cubes. When you go within a certain range of a cube, it decides what colour that cube should be and spawn that colour of cube, it spawns the doors, ladders and dismount points - but it also decides whether it should be a trapped cube and if so, which trap should it use. This adds the randomness to the maze.
The map itself is incredibly modular, and traps can be added to it simply by adding an additional line to a single logic_case. I have also made it so that the gamemode designed can modify the trap probability at will (From 0% to 100% chance if you feel like screwing with people). And to add to it, gamemode developers will also be able to run a command that 'refreshes' the traps on the map so that all cubes re-run their trap probability calculations (otherwise any probabilty changes will take affect only on new cubes that spawn).
There are also math_counters which keep a count of the number of cubes spawned, so you will be able to limit the number of cubes that can ultimately be spawned to avoid server meltdown if you're so inclined - based off this, I would recommend that the map is round based.
This is still a WIP, however all the features mentioned in this thread work and we're still stress testing and beta testing.
Anything you would like to see in this map? Trap Suggestion? Feedback? A new name would also be helpful (it's 3 because a super-scripted 3 means cubed)
(We're also going to be coding a gamemode for it, more details about that is on our blog http://bbservers.co.uk/dblog/?p=239 )