Map generator for Ace of Spades 0.75, with a 3D labyrinth, trees, and mountains. Comes with a game-mode.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screenshots
scripts
LICENSE
README.md
aosmap.d
block.d
cell.d
dub.json
grid.d
main.d
pattern.d
randutils.d
room.d
simplexnoise.d
stair.d
terrain.d
tower.d

README.md

vxlgen

A labyrinth map generation tool for Ace of Spades "Classic" (0.75 and 0.76).

Updates and pictures are posted in this thread: http://buildandshoot.com/viewtopic.php?f=35&t=5239

The generated map work with the server mod "laby.py" which is still buggy.

Also it needs a map generation hook to be generated on the fly.

Usage

usage: vxlgen [-seed n] [-o output-file.vxl]

License

See LICENSE.

Algorithm

Nothing much interesting. It works on 4x4x6 "cells".

To ensure there is a path from anywhere to anywhere the algorithm works as follow:

  • place walls and floor randomly
  • place rooms (approximately 10% of the tower volume)
  • place stairs randomly (approximately 8 for a 128x128 floor)
  • for each floor
    • colour each connected group of cells
    • create connections until there is only one colour
  • bury unreachable areas
  • bury dead-ends

Screenshots

  • Corridors Roof

  • Roof Roof

  • Spawn point is inside the building to avoid spawn camping Roof

  • Trees and sea Roof

  • Rooms Roof

  • Up to 10 floors Roof