Creating a Mini‐Map - BRCMapStation/Docs GitHub Wiki
Creating a Mini-Map
This tutorial explains how to create a simple Mini-Map for your map.
It assumes you've already created and worked on a Map.
Setting up a blank Mini-Map
If you're working on a map made on MapStation version 0.14.0
or newer, you should have a basic Mini-Map setup in your map folder, consisting of a MiniMap.prefab
asset and a MiniMapMaterial.mat
asset:
If you don't have these files, right click anywhere in your Map's directory in the Project Explorer and click on Create -> BRC MapStation -> MiniMap
This will create the two missing resources.
Editing the Mini-Map
An easy way to edit your Mini-Map is by opening the Scene for your map, then at the top of your screen clicking on BRC MapStation -> Edit MiniMap
This will open the Mini-Map prefab in edit mode.
From here, it's recommended you switch the "Context" from "Hidden" to either "Gray" or "Normal", in order to be able to see your Map as you work on the Mini-Map.
A fast way to prototype or build a Mini-Map is using Probuilder. I will start with a Plane and will extrude all around my map geometry.
Probuilder is a very complex tool and very much out of scope for this tutorial, so I won't get into detail. Using Probuilder, I've built a rough representation of the skateable areas in my map:
We can now drag the MiniMapMaterial to our Mini-Map meshes and adjust it to our liking:
The important values to edit are "Height Low" and "Height High". These define the range of the gradient.
For my map, I felt that a "Height High" of 0 and a "Height Low" of -30 worked well and gave the map a nice gradient:
We're done! With the blockout and material set up, you can now leave the Prefab editor and build the map!
Testing
Going in-game and taking the phone out we can see the Mini-Map works perfect and pretty accurately represents the map geometry:
Also on the pause menu: