GenCont

GameObjectGenCont

Manages level generation

Variables:

from GenCont
from GenCont
tip: string

Currently shown tip text

random_track: number
wave: number
race_id
goal

Rough estimate for floor tiles to place

safespawn: number

Safespawn behaviour

  • 0: the game just puts the player wherever (possibly in open area)
  • 0.1: L0 behaviour (half-open nook)
  • 1: L1 behaviour (small nook)
  • 2: L2+ behaviour (medium nook)
  • Higher values produce long corridors.

Can only be changed by area mods.

spawn_x: number

Original spawn's X

spawn_y: number

Original spawn's Y

gol: number

Desired number of chests

wgol: number

Extra weapon chests

agol: number

Extra ammo chests

rgol: number

Extra radiation canisters

safedist: number

Area around spawn to not put any enemies in

Alarms:

  • alarm[0]: Places walls, starts populating
  • alarm[1]: Finish, cleanup
  • alarm[2]: Handles safe spawns, places proto statues, and other misc