Skip to content

I was tired of creating maps in nanos world then I created a random map generator!

Notifications You must be signed in to change notification settings

olivatooo/nanos-world-random-map-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Nanos World: Random Map Generator

This is a simple algorithm to generate random new maps in Nanos World only using lua. If you want to customize your maps just edit Config.lua.

-- Start generate location
ORIGIN_POINT = Vector(0, 0, 0)

-- Base Static Mesh to use for floor
BASE_SM = "nanos-world::SM_Wood_Platform_10"

-- Bounds of the base static meshes
BASE_SM_SIZE_X = 300
BASE_SM_SIZE_Y = 300

-- Chance of generating a structure (i.e: House) in percentage. Default is 2%
STRUCTURE_CHANCE = 2

-- Chance of rotating a structure
STRUCTURE_ROTATION_CHANCE = 50

-- Chance of generating a detail (i.e: Pole) in percentage. Default is 2%
DETAILS_CHANCE = 2

-- Chance of rotating a structure
DETAILS_ROTATION_CHANCE = 50

-- Extremely experimental, generate stairs and Z-Level
Z_CHANCE = 0

-- Don't work forget
NUMBER_OF_SPAWN_LOCATIONS = 16

About

I was tired of creating maps in nanos world then I created a random map generator!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages