Ace of Spades maps from the community's archives, ready for a Nexgen Spades server: every map listed on aos.party, plus the maps of the hosting.dgd.cx map search that are not already here.
maps/<Name>/<Name>.ngmap the map, as ngmap at quality 100 (below)
maps/<Name>/<Name>.txt the original pyspades metadata, untouched (when the map has one)
maps/<Name>/<Name>.toml the ngspades settings, generated from the .txt
maps/<Name>/preview.png an isometric picture of the map
maps/<Name>/top.webp a top-down picture of the map, 512 pixels a side
maps.json the index: name, folder, author, source page, files, modes
docs/ the map browser (GitHub Pages, below)
tools/build_site.py builds docs/data.json, docs/img and docs/top from the files here
ngmap is the map format of protocol 1.0 (OpenSpades' ngspades codec). At
quality 100 every block of the map is exactly where the original VXL had
it and every visible colour is within one step of the original, in a
seventh of the bytes: the aos.party maps are ~325 MB as ngmap against
~2.3 GB as VXL. The server downloads a map's .ngmap and turns it back
into the .vxl it loads by itself; a folder copied from here works as it
is.
A name listed more than once gets a number or its aos.party id appended to
the folder (Name_2, Name_1234), so no map replaces another. A map of
the map search is only added when no map here has the same blocks, whatever
its name or colours, so the same map never comes twice.
Most maps are 512 x 512, the size Ace of Spades always had. ngspades also plays maps twice as wide (protocol 1.0 only: a 0.75 server cannot send one), and two of ours are here:
Mountain_River_1024: mountains in the west and a river that runs east to its delta and a lake, made by Sean Barrett's ("nothings") public domain aosmap generator (forest_river, without its trees), with the game's grass patches.Villages_1024: villages joined by roads among forests and hills, built from the houses and cars of 20thCenturyTown, Arica_Harbor, Broville, city and hiesville.
Their modes were measured the same way (16 bots, 10 game minutes, two seeds): both play both capture the flags and king of the hill, and the mountain one territory control too.
https://ngspades.github.io/maps/ is a page over this repository: every map, filterable by mode and searchable by its name, author or folder. A map's page shows its isometric and top-down pictures (as aos.party does), a description (the author's, or one written from the map's measurements when the script has none), its settings, the fitness its bots measured and the size and link of each file, so a map can be chosen and downloaded without cloning anything.
The page is static and lives in docs/. docs/index.html, docs/app.js and
docs/style.css are written by hand; docs/data.json, docs/img/ and
docs/top/ are generated by tools/build_site.py from maps.json, the
.toml and .txt files and the pictures. It never opens an .ngmap: the
isometric previews are turned into 800 pixel wide WebP files and the top
views are copied as they are, and a rebuild of the whole repository takes
about two seconds.
The page wears the game's own site's look (ngspades.obex.pw): the voxel
camo backgrounds and the logo, Dosis, Allerta Stencil and Bungee (SIL Open
Font License 1.1; the files are in docs/assets).
After adding or changing maps, rebuild the page and commit it:
python3 -m pip install pillow # once
python3 tools/build_site.py # writes docs/data.json, docs/img and docs/topA new map also needs its top view: the game repository's
tools/make_map_topview.py --repo . draws one from the .ngmap (the same
libmapvxl the server reads maps with) and writes maps/<Name>/top.webp. It
only draws the maps that have no picture yet or whose map file changed.
python3 tools/build_site.py --check exits non-zero when the page is behind
the maps. GitHub Pages serves main's docs/ folder as it is (there is a
.nojekyll in it), so a push publishes the new page a minute later.
- Copy the map's folder into
Resources/maps/of your server, so you haveResources/maps/<Name>/<Name>.ngmap(and its.tomland.txt). - Add
"<Name>"tomaps = [...]inResources/config.toml, or start the server with--map <Name>.
A server whose config names a map it does not have downloads it from here at
start-up. To play one against bots in the game, copy its folder into the
maps/ folder of the game's data: the Play with bots screen lists it under
"Your maps" for the modes it is tagged with (below).
Every map carries the modes it plays well, as a list: modes = [...] in the
[map] table of its .toml, and "modes" in its maps.json entry. A map
can fit several (["ngctf", "ctf", "zombie"]), or none.
| Tag | Mode |
|---|---|
ngctf |
capture the flag, next gen (perks, classes; bases 200 blocks apart or more) |
ctf |
capture the flag, classic rules |
koth |
king of the hill |
tc |
territory control |
babel |
Babel: the intel on a platform in the sky |
arena |
arena rounds |
zombie |
zombies against survivors |
The tags are measured, not guessed: the server played each map with 16 bots
for 10 game minutes in each mode, twice, and a map earned a mode when its
land, the bots' time in the water, their deaths to the map itself, the
fights and the mode's objective (intel pickups and captures, hills and
territories taken, zombie rounds that end) all passed the mode's limits.
The figures are in each .toml under [map.fitness]. Arena and Babel come
from the map's own .txt, as its author made it. A Babel map is tagged
babel only, a Counter-Strike map (cs_*, de_*) arena only, and a map
named for zombies is always tagged zombie.
Join the official Nexgen Spades Discord to play, get help and share what you build: https://discord.gg/vfknrFQr2
Where it all began: the Build and Shoot Discord, home of the Ace of Spades community: https://discord.gg/Cbda3DtJR
Each map belongs to its author, named in its .txt (author = ...) and in
maps.json. They come from the aos.party archive and the hosting.dgd.cx map
search, both run by the Ace of Spades community, and from the
piqueserver arena repository
(de_train); every entry in maps.json links to its source. Nothing here is
ours but the .toml files, the previews and the index.
If you made one of these maps and want it credited differently or taken out, open an issue and it will be done.
