Ace Squared

Ace Squared

Not enough ratings
How to make maps
By Faust
All information taken from official discord channel AceSquared [discord.gg]
and documentation site Ace Squared Documentation [acesquared.oldgroundsoftware.com]
   
Award
Favorite
Favorited
Unfavorite
Programs
MagicaVoxel - program for creating levels in voxel graphics.
Download[ephtracy.github.io]

Goxel - to port .vox files in the .vxl format.
Download[github.com]
Mapping
Map sizes by mapType
- legacy_aos_v1 for 512x64x512 (x, z, y)
- steam_aos for 512x256x512
- steam_aos_v2 for 500x256x500


Every part of map must be made from big chunks with size 128x128(x, y)

Next step to connect all .vox files into 1 .vxl
Setting a dedicated server
Setup
Now set a dedicated server to test your new map.

run steamcmd as administrator.

  • 1)Download and open SteamCMD
    SteamCMD

  • 2)set installation directory:
    > force_install_dir [your_install_dir]

  • 3)login to steamcmd:
    > login anonymous

  • 4)download server content:
    > app_update 3252540 validate


After completing steps 1-4, you may go to your_install_dir and run the *.exe file. If the program doesn't crash immediately that means the installation was probably successful.

Config

You need to have config.toml configuration file at build_Data/StreamingAssets/config.toml
If this file does not exist it will be auto-generated on first time start of the server.
Here is an example config:
# server name shown on the list server_name = "EU Ace Squared Server" # shown upon connection description = "Best game, please give review on steam!" # port of the game server port = 60010 # maximum amount of players allowed to be connected at one time max_players = 32 # first used gamemode when the server starts. this must be one of # registered gamemodes. gamemode = "babel" # basically whether to show our server on the master server or not broadcast_to_master = true # port for querying the game server for e.g. server list purposes query_port = 60011 # this port is used to heartbeat ie. disconnect stale clients heartbeat_port = 60012 # set to true to make your server show on the modded section in server list modded = true # set to true to use xlua for scripting. this should be always set to true. use_xlua = true # enable to automatically shutdown the server after some time. this is recommended only if you have configured the server to automatically start # after stopping, so this is sort of auto restart feature. auto_shutdown = true # time in seconds, after which the server will shutdown, if auto shutdown is enabled. shutdown_after = 86400 # first used map when the server starts. maps = ["Leaves2"]

More information about dedicated server you can find here[acesquared.oldgroundsoftware.com]

To start server go to Steam_server\steamapps\common\Ace Squared Dedicated Server and execute AceSquaredDedicated.exe

To connect to your server press f1 in game and type this text in console:
connect 127.0.0.1:30002[your server port can be different]
JSON file
For each map no the server, there is a map file (.vxl) and always a map config file (.json).

Map file (.vxl) contains the map data. Config file contains some configuration such as spawn points and map format.

Here is an example .json:
{ "blueTeamTentPosition": { "x": 252, "z": 421 }, "greenTeamTentPosition": { "x": 254, "z": 64 }, "blueTeamSpawnArea": [ { "x": 276, "z": 443 }, { "x": 234, "z": 413 } ], "greenTeamSpawnArea": [ { "x": 246, "z": 33 }, { "x": 273, "z": 75 } ], "ctfBlueTeamFlagPosition": { "x": 215, "z": 387 }, "ctfGreenTeamFlagPosition": { "x": 252, "z": 125 }, "mapType":"steam_aos", "crateSpawnDatas": [ { "type": "ammo", "position": { "x": 179, "z": 318 } }, { "type": "ammo", "position": { "x": 262, "z": 346 } }, { "type": "ammo", "position": { "x": 233, "z": 171 } }, { "type": "ammo", "position": { "x": 351, "z": 195 } }, { "type": "ammo", "position": { "x": 311, "z": 256 } }, { "type": "block", "position": { "x": 180, "z": 323 } }, { "type": "block", "position": { "x": 270, "z": 346 } }, { "type": "block", "position": { "x": 308, "z": 245 } }, { "type": "block", "position": { "x": 233, "z": 160 } }, { "type": "block", "position": { "x": 350, "z": 211 } }, { "type": "health", "position": { "x": 180, "z": 305 } }, { "type": "health", "position": { "x": 231, "z": 146 } }, { "type": "health", "position": { "x": 296, "z": 243 } }, { "type": "health", "position": { "x": 278, "z": 342 } }, { "type": "health", "position": { "x": 346, "z": 220 } } ], "rootYLevel":17, "waterYLevelOffsetFromRoot":2, "autoDestroyUnsupportedVoxels":false, "waterDamageEnabled": false, "zombiesSpawnArea":[ { "x":225, "z":384 }, { "x":305, "z":332 } ], "configuredGamemodes": [ "Zombie" ], "enable_environment_settings": true, "environment_settings": { "skybox_path" : "Skyboxes/NightSky", "lighting_color" : "#808080", "fog_color": "#000001", "skybox_exposure": 0.5 } }

To set spawns/flags more accurate for your map, enable debug info in game options.

So you can adjust your coordinate values.
2 Comments
дабстеп мытищи 18 Jun @ 12:05pm 
aos 0.75 moggs
El Beshuele 17 Jun @ 11:58pm 
Great job