Garry's Mod

Garry's Mod

Nester - The Procedural Map
SeeBass2020 28 May, 2023 @ 12:26pm
How does this work?
how
< >
Showing 1-3 of 3 comments
walk
SeeBass2020 22 Jun, 2023 @ 3:07pm 
no i mean like how does the room generation work
Boogie :3 23 Dec, 2023 @ 6:31pm 
So from what I've discovered through console stuff and just going outside the map and experimenting with that, All rooms are already in the map and are placed in a sorted way, Whenever a door is opened it will break a small wooden box below it, once this happens the map will randomly choose one of the rooms and proceed to clone them to the door that was opened, As for room generation with rooms such as the hallway office rooms, And that one stair room, There are 3 variants for the spiral stair room, 1 being start, 2 being a loop one, and 3 being the end, The map assumingly picks a random number and spawns room 1, spawns the amount of room 2 above it, And then ends it with room 3. This also goes for the horse statue room, Those long hallways, Plus the hallway office rooms, Though there are many variations for the hallway office rooms, The room generation can also detect if there are other rooms in the way, Therefore giving more variety for small rooms and big rooms depending on where you are.

Now onto some more interesting stuff I found, There seems to be a G-Man Block in the map, Which is nowhere near whatever the G-Man apparition is, if you go in one direction for too long, You will hit the map's boundaries, If you do this the door you open that'll lead you out will close and lock instantly, Spawning a G-Man Block on the other side of it.
If a Crusher room spawns, the map will prevent you from getting to the control room side of it without no-clip, Occasionally a room won't load and the door will open to a void, But for most of the time you should have a generated room, and if you know how to, You can go into the console to spawn the rooms.

If you enjoyed reading this, good for you ig? this was alot of stuff though, and i had to do some stuff with the console to figure out most of it.
< >
Showing 1-3 of 3 comments
Per page: 1530 50