Greyboxing your environment, also known as massing out or blocking your environment, is the process of adding simple shapes to the 3D space to figure out how users will experience gameplay before investing time into polishing assets. This process is crucial for finding issues in the layout of playable areas, such as difficult regions to traverse, unfair advantages from certain vantage points, or assets with disproportionate scale to the user's character.
Using the Environment Art - Greyboxing .rbxl file as a reference, this section of the environmental art curriculum shows you how to greybox a standard three lane map layout for a team-based first-person laser tag shooter experience, including step-by-step instructions on:
- Creating playable areas that encourage strategic combat for multiple playstyles.
- Applying placeholder materials that help inform users of their position and orientation.
- Testing the layout to ensure it's fun and doesn't include playability issues.
After you complete this section, you will learn how to develop high-quality assets to replace or convert the greybox environment, and meet your experience's game design requirements.
Three Lane Map Layout
The three lane map layout is a first-person shooter map layout that includes a spawn zone for each team on opposite sides of the map, three primary lanes that each team can use to travel to either spawn zone, and cross lanes that allow for users to travel from one primary lane to another. This type of map layout is a common layout for first-person shooter experiences because it quickly places users into combat zones as soon as they join a match, and it allows for a variety of playstyles depending on which primary lane users choose to follow.
The following sections explain each component of the three lane map layout, including considerations of how each component works together to create intentional gameplay interactions within first-person shooter experiences.
Spawn Zones
Spawn zones are areas of the map where users either join their team at the start of a match, or rejoin the gameplay after their health reaches zero. At minimum, each team needs to have a central spawn zone when users first join the experience. Many developers place these central spawn zones at opposite ends of their maps to allow users time to navigate the experience at the start of the match before seeing the enemy team.
In addition, many team-based first-person shooter experiences also include spawn zones throughout the map that users can randomly respawn at once their health reaches zero. The placement of these decentralized spawn zones can significantly increase the experience's difficulty, especially when you place spawn zones near areas with heavy combat. To keep the gameplay simple, the sample laser tag greybox environment only includes one central spawn zone for each team.
Primary Lanes
Primary lanes are paths that extend the length of the map from one spawn zone to another. The three lane map layout includes three primary lanes, and how developers conceptualize them is often dependent on the overall environmental context of the experience. For example, because the sample laser tag map has both an indoor and outdoor environment, the names of the primary lanes are as follows:
- Interior - The innermost lane that's furthest from the entrance of the building.
- Middle - The lane that's in-between the interior and exterior primary lanes.
- Exterior - The lane closest to the entrance of the building that's partially indoors and outdoors.
For most first-person shooter experiences using the three lane map layout, the middle primary lane intersects with areas of the map that contain the most combat because users traveling the middle primary lane can be attacked from both the interior or exterior primary lanes, while users traveling the interior or exterior primary lanes can only be attacked from the middle primary lane.
Cross Lanes
Cross lanes are paths that intersect all of the primary lanes, extending from the interior to the exterior primary lane. These are the paths that users can use to travel from one primary lane to another, and they often contain minimal obstructions to help users take cover from enemy fire. This is because coverless zones create transitory spaces that encourage users to not stay in one place for too long without it being dangerous.
Similar to the reason why the most combat occurs around the middle primary lane, areas where cross lanes intersect with the middle primary lane, or combat pockets, contain the most combat because they allow users traveling from the interior or exterior lanes to access and shoot into the middle lane, and users traveling the middle lane can shoot in the direction of either the interior or exterior lane.
Building a three lane map layout with these combat pockets in mind allows you to segment the distance from spawn zones, and create intentional spaces where users have to interact with each other. This encourages users to engage in rapid gameplay and quickly become familiar with the map as they jump between primary lanes using cross lanes.
Create Playable Areas
Now that you are familiar with three lane map layouts, it's time to learn how to create the playable areas for the sample laser tag greybox environment that follows a three lane map layout. As you follow these instructions that exactly recreate the geometry within the sample Environment Art - Greyboxing .rbxl file, you will start to see how it all works together to make up two spawn zones, three primary lanes, and five cross lanes that mirror across the middle of the map when you look at it from a top-down view.
If you adjust the geometry to meet the specifications of your own experience, note that the sample file keeps every doorway and hallway at least 10 studs wide, and every wall at least 10 studs tall. These parameters ensure that two users are able to pass through hallways and doorways concurrently, no one is able to jump over walls with Roblox's default jump height of 5 studs, and that the camera can safely maneuver the map without interfering with geometry.
Floor Geometry
The first step in creating the laser tag greybox environment is to create the geometry for each of the following floors:
- Main Floor – Spans the length of one spawn zone to another.
- Mezzanine Floor – Spans half of the middle combat pocket, and provides a rise in elevation.
- Outdoor Floor – Spans the outdoor space, and provides a drop in elevation.
To help visualize the geometry of each floor you are creating for the experience, reference the following image that marks the main floor in yellow, the mezzanine floor in red, and the outdoor floor in blue.
It's important to have spaces in the experience with peaks and valleys because it allows you to control sight lines and engagement distances throughout the experience outside of horizontal movement. For example, if the entire playable space was a single floor with no change in elevation, every user would be able to interact with each other as long as there wasn't a wall in the way, meaning there is little ability for the user to develop a strategy outside of not being seen from other users. However, with peaks and valleys, you can decide where users can see each other.
In addition, a rise in elevation creates both a physical and emotional sense of ascension, allowing users with a high ground to have a bird's eye view of the battlefield in order to get a better sense of where to travel next. When they're ready to move on, the drop in elevation creates both a physical and emotional sense of descension, pushing users to make quick decisions to maneuver around enemy lines of sight and achieve their goals.
To create your own floor geometry:
Open Roblox Studio with a Baseplate template.
In the menu bar, navigate to the Model tab, then in the Snap to Grid section,
- Set Rotate to 90.
- Set Move to 5 studs. This allows you to equally position all greybox geometry on or away from each other in 5 stud increments.
Using block parts, create symmetrical left and right surfaces for the main floor of your building. This geometry represents the length of your playable interior, and its symmetry denotes the center of the map.
Using block parts, create symmetrical left and right surfaces for the mezzanine floor of your building. This geometry represents the highest ground on the map.
Using wedge parts, create a rise in elevation between the main and mezzanine floors. This geometry breaks the lines of sight for players traveling the interior primary lane, or the cross lane in the middle of the map.
Using wedge parts, create a drop in elevation between the main and outdoor floor. This geometry is your exterior primary lane, and it descends to the lowest point on the map.
Anchor all of your parts.
Perimeter Wall Geometry
The second step in creating the laser tag greybox environment is to create the geometry for perimeter walls of the building. This provides boundaries for the interior gameplay of the experience, as well as guidance to users on where they can go to engage with one another.
To help visualize the geometry of the perimeter walls of the building you are creating for the experience, reference the following image that marks them in yellow.
To create your own perimeter wall geometry:
Using block parts, create a perimeter boundary around your main floor except for the edge that opens to the exterior primary lane. This geometry prevents players from leaving your playable area while allowing them to enter and exit the building.
Anchor these parts.
Spawn Zone Geometry
The third step in creating the laser tag greybox environment is to create the geometry to contain each team's spawn zone. For experiences that only contain centralized spawn zones, sectioning them off into their own rooms lets users acclimate to the experience when they first join the match, and it provides them cover from enemy fire when they rejoin the match after their health reaches zero.
There are two spawn zones in the Environment Art - Greyboxing .rbxl file, one for each team a user can join, and they're located at opposite ends of the map. Each spawn zone has two exit points users can choose to enter the main gameplay area, which allows for quick access to two primary lanes, and provides cover from enemy fire from users within the cross lane near the spawn zone. Having two exit points is important because a single exit point would result in a bottleneck of users trying to enter or exit the spawn zone, and three spawn zones wouldn't provide enough cover from enemy fire after the start of the match.
To help visualize the geometry of the spawn zone areas you are creating for the experience, reference the following image that marks them in yellow.
To create your own spawn zone geometry:
Using block parts, segment symmetrical sections on the far left and right of the map for each team's spawn zone with two exit points.
Anchor these parts.
Combat Pockets Geometry
The fourth step in creating the laser tag greybox environment is to create the geometry for combat pockets in the interior of the building. This geometry makes up the majority of the playable areas in the experience because combat pockets arise from the intersections of primary lane and cross lanes, which span the entirety of the building.
The instructions in this section refer to this geometry as three separate combat pockets according to their location on a top-view of the map: the left combat pocket, the middle combat pocket, and the right combat pocket. Most combat pockets include a maximum of three entrance or exit points to refrain from giving users choice overload as they're navigating the space.
To help visualize geometry of the combat pockets you are creating for the experience, reference the following image that marks them in yellow.
To create your own combat pockets geometry:
Using block parts, create a left combat pocket with two exit points that allow players to traverse the middle lane, and one exit point that opens to the interior primary lane. This geometry must have space on either side of the combat pocket to allow for cross lanes, and block player entry from the exterior primary lane.
Using block parts, create and position a symmetrical copy of this combat pocket near the other team's spawn zone. This geometry represents your right combat pocket.
Using block parts, create a middle combat pocket with two exit points that allow players to traverse the middle lane, one exit point that opens to the interior primary lane, and open space along the edge that flows into the exterior primary lane.
(Optional) Using block parts, create hallway additions to the middle combat pocket to break up sight lines across the interior primary lane.
Anchor these parts.
Exterior Geometry
The final step in creating the laser tag greybox environment is to create the placeholder exterior assets that create interesting composition for the outdoor space, as well as minimal cover for users traveling the exterior primary lane. This area of the experience is important because while it comes with risk due to the minimal cover from enemy fire, it also provides users a quick route to the enemy team's spawn zone.
To help visualize the geometry of the exterior assets you are creating for the experience, reference the following image that marks them in yellow.
To create your own exterior geometry:
Using block parts, create symmetrical obstacles along the exterior primary lane. For example, the sample greybox environment adds parts to block lines of sight that will later become towers, pillars, and planters.
Anchor these parts.
Apply Placeholder Materials
Now that you have your placeholder geometry in place, it's time to apply placeholder materials to the map in key areas to help orient users to where they are in the experience. The sample Environment Art - Greyboxing .rbxl file uses the following color map, but you can use can use any color to achieve the same purpose:
- Deep Orange for top perimeter walls – Informs users where they are in relation to the back of the building.
- Persimmon for all left-side floors – Informs users where they are in relation to the right-side of the building.
- Lapis for all right-side floors – Informs users where they are in relation to the left-side of the building.
- Bright Green for the exterior elevation – Informs users where they are in relation to outside of the building.
Applying materials to these specific key areas is important because no matter where a user is in the experience, as long as they can see at least one of these colors, they can quickly deduce their approximate location within the overall map, as well as where they are in relation to a spawn zone.
For example, if the following user is on the "red" team, when they're walking on the red floor with the yellow wall to their right, they know that they're in the interior primary lane and moving toward their spawn zone. Conversely, if they're walking on the lapis floor with the yellow wall to their left, they know they're in the interior lane and moving toward the enemy team's spawn zone.
To apply placeholder materials:
- Select the top perimeter walls and the top hallway editions, then set their Part.Color to 255, 176, 0.
- Select the left-side floor parts, then set their Part.Color to 255, 89, 89.
- Select the right-side floor parts, then set their Part.Color to 16, 42, 220.
- Select the part for the elevation between the ground and first floor, then set their Part.Color to 75, 151, 75.
Playtest Your Layout
It's important to continuously playtest the layout of your environment at nearly every step of the development process so you can ensure the experience is both fun and functional, and you can catch small issues before they turn into much larger problems the further you are in the process. As you playtest, ask yourself the following questions:
- Are there advantages or disadvantages to either team?
- Are users able to successfully orient themselves and understand their location at any point on the map?
- Are there any areas on the map that overwhelm users with too many choices?
- What am I enjoying or getting frustrated about the layout or gameplay?
- Will this make users feel the way I want them to when they're in this area?
- Is there any part of the map that I can bypass and still achieve my goals?
To playtest your experience:
In the Test tab, navigate to the Play icon, and click the Mode Picker.
Select from one of the following playtest options:
- Play – Starts simulating the experience, inserting your avatar at either a SpawnLocation or coordinates of around 0, 100, 0.
- Play Here – Starts simulating the experience, inserting your avatar in front of the camera's current position.
- Run – Starts simulating the experience without inserting your avatar. Instead, the simulation begins at the current camera position and you can navigate around using the Studio camera controls.
While playtesting, you can use the same controls as a default Roblox experience. Once you are happy with the overall layout of your experience, you can move on to creating polishing assets that will replace the greybox geometry in accordance with your art style.