Map Colors - Electric131/Sandustry-CustomMapLoader GitHub Wiki

This page is up to date as of v3.1.0

Map Colors

The colors property allows you to change what pixel a given color represents. Note that most particles (e.x. gold, steam, etc.) cannot be spawned yet, due to a limitation not allowing them to be hidden if covered by the fog. If you want this behavior, check out scripts.

Each value in the colors override is optional, and any specified tiles will override their default color.

The colors property has several fields for the different images colors can appear in. (Planned feature, currently only elements field)

Elements

The elements property modifies the colors used in map_blueprint_playtest.png.

Some general tips:

  • Elements with the "Fog" foreground are only revealed when a pixel next to them is destroyed (whether by the player or not)

Note: I did take some creative liberties since some of the tiles are repeated with different colors, so I named some based on how they're used and their background/foreground

Name Default Color Foreground Background Clarifying Info
Empty (255, 255, 255) / 0xffffff Empty Empty N/A
Bedrock (170, 170, 170) / 0xaaaaaa Bedrock N/A N/A
SurfaceWater (102, 0, 255) / 0x6600ff Water SandSoil N/A
Ice (102, 204, 255) / 0x66ccff Ice Empty N/A
RevealedFog (153, 0, 0) / 0x990000 Empty SandSoil N/A
CaveSandsoil (0, 0, 0) / 0x000000 SandSoil SandSoil N/A
Grass (0, 255, 0) / 0x00ff00 Grass SandSoil N/A
Moss (0, 224, 0) / 0x00e000 Moss SandSoil N/A
Divider (0, 102, 0) / 0x006600 Divider SandSoil The weird burnable walls in the artifact rooms
SporeSoil (255, 255, 0) / 0xffff00 SporeSoil SandSoil N/A
JetpackFrostBed (204, 255, 255) / 0xccffff FrostBed FogJetpackBlock N/A
CaveFrostBed (153, 255, 255) / 0x99ffff FrostBed SandSoil N/A
Fog (153, 51, 0) / 0x993300 Fog SandSoil N/A
JetpackFog (255, 0, 153) / 0xff0099 Fog FogJetpackBlock It's fancy fog to show the jetpack is blocked
JetpackFogWater (102, 102, 255) / 0x6666ff FogWater FogJetpackBlock N/A
BedrockFog (102, 102, 102) / 0x666666 Fog Bedrock N/A
FogWater (153, 102, 255) / 0x9966ff FogWater SandSoil N/A
FogLava (255, 102, 0) / 0xff6600 FogLava SandSoil N/A
Fluxite (175, 0, 224) / 0xaf00e0 Fluxite SandSoil N/A
RedsandSoil (255, 85, 0) / 0xff5500 RedsandSoil SandSoil N/A
Crackstone (205, 139, 139) / 0xcd8b8b Crackstone SandSoil N/A
AlternateFog (51, 51, 51) / 0x333333 Fog (166, 166, 166) / 0xa6a6a6 N/A
RevealedFogWater (0, 0, 255) / 0x0000ff Water SandSoil I think it's just surface water...
Scoria (38, 0, 0) / 0x260000 Scoria SandSoil N/A
GoldSoil (127, 127, 0) / 0x7f7f00 GoldSoil SandSoil Drops gold; Element spawned by flowers