Map configuration
Maps in Blast Zone expect the following attributes to be set:
| Attribute | Type | Description |
|---|---|---|
| Duration | number | The duration of the map in the rotation |
| Gamemode | string | The gamemode of the map to use |
| Lighting | string | See List of lighting presets |
| Picture | string | The roblox decal asset for the image. Should look something like “rbxassetid://123456789” |
| IsDefault | bool | Whether the map should show up in the default map rotation. Overrides IsRare. |
| IsRare | bool | Whether the map is rare, showing up in the default rotation but less often |
| CanBeVoted | bool | Whether the map can be voted with rock the vote |
The following attributes are optional:
| Attribute | Type | Description |
|---|---|---|
| Disabled | boolean | Whether the map is currently disabled. Useful for disabling maps during events. |
| CanTeamkill | boolean | Whether teamkilling is enabled on this map. Only applies during team-enabled gamemodes. |
| Gravity | number | The gravity of the map. When unset, uses Roblox’s default gravity. The only default map with custom gravity is Lunar Arena. |
| StartingTeam | string | The team to put players on when the map starts or when they join. Only applies during team-enabled gamemodes. |
The map loader script looks for certain special instances inside of the MapCollection folder:
| Name | Type | Description |
|---|---|---|
| Map | Folder | The map itself. It’s a folder so it isn’t moved when it’s placed into the workspace. |
| Camera | BasePart | The overview camera. Use the MeshPart from the MapKit and position it where you’d like the main menu camera to be. |
Other instances are optional and are used for configuring advanced features:
| Name | Type | Description |
|---|---|---|
| CustomProps | Folder | A folder with custom props to add to the game. Optional. |
| LoadoutScene | Model | A model that contains the loadout scene. See Loadout Scenes |
| Settings | Configuration | Instead of setting settings on the map directly, you can also set map settings on an instance called “Settings” |
| Teams | Configuration | A folder that contains team configurations. See Teams. |