Map Generation System (SCP:CS)
Mapgen is a tool formerly developed for SCP: Classified Site, but later open-sourced and reused in Ječná Nightshift to generate a randomized secret bonus level.
Features
- Generate N amount of zones
- Pick up custom zone size and set of rooms to occupy each zone
- Select which zones to connect and by up to how many connectors
- Define rooms using ScriptableObjects
- Gurantee the spawn of rooms marked as MustSpawn
- Place rooms which occupy more than 1 cell (as long as room exits are within the same cell)
- Gurantee that all generated rooms are reachable
- Fully deterministic