Build Your Dream House with Prefabs
Build Your Dream House with Prefabs
Welcome to Fortnite Creative! Today, we are going to build a house. But we won't build it brick by brick. That takes too long. Instead, we will use Prefabs.
Prefabs are like pre-built Lego sets. They come ready to go. You can place a whole kitchen or a cozy bedroom in seconds. Let's make a starter home for our island!
What You'll Learn
- What a Prefab is (and why it is your best friend).
- How to find Residential houses in the Creative tools.
- How to place and resize a house quickly.
- How to add a Prefab to your island scene.
How It Works
Imagine you want to build a treehouse. You could cut down a tree, chop wood, and nail boards. That is hard work. Or, you could buy a pre-made treehouse kit. You just snap the pieces together.
In Fortnite Creative, Prefabs are those kits. They are groups of walls, floors, and props. They are already connected. They are already styled.
There are many types of Prefabs.
- Residential: These are homes. They have bedrooms, kitchens, and living rooms.
- Retail: These are shops. They have counters and displays.
- Industrial: These are factories. They have pipes and metal beams.
For this tutorial, we will focus on Residential Prefabs. We want a place for our players to rest. We will pick a nice house. Then we will drop it onto our island.
Think of a Prefab as a Scene. A scene is a group of objects that move together. When you move the house, the walls, roof, and furniture all move. They stay stuck together. This is called Hierarchy. The house is the parent. The walls are the children.
Let's Build It
We will build a small starter house. We will use the Creative Inventory. This is the menu where you pick items.
Follow these steps carefully.
Step 1: Open the Creative Inventory
Click the icon that looks like a box with a plus sign. It is usually on the left side of your screen.
Step 2: Find the Prefabs Tab
Look for a tab that says Prefabs. Click it. This opens the library of pre-made structures.
Step 3: Choose a Residential House
You will see many categories. Look for Residential. You might see names like "Suburban House" or "Modern Cottage." Pick one that looks friendly. Let's imagine we picked the "Cozy Cottage."
Step 4: Place the Prefab
Click on the house icon. Then click on the ground in your island. The house appears! It is huge at first.
Step 5: Resize the House
The house might be too big. We can change its size. Right-click the house. Look for a tool called Transform. Use the arrows to make it smaller. Now it fits nicely on the grass.
Step 6: Add Some Props
A house needs furniture. Go back to the Prefabs tab. Look for small items like chairs or lamps. Place them inside the house. Now it looks like a real home!
Here is a simple Verse script idea. It shows how code can interact with your house. This script changes the color of the front door when a player touches it.
# This is a Verse script for a House Device
# It makes the door change color when someone walks in
# First, we define the door.
# We call it "FrontDoor".
# It is a specific prop in our house.
FrontDoor := Device:Find("FrontDoor")
# Next, we define an Event.
# An Event is something that happens.
# Here, it is when a player touches the door.
OnPlayerTouch := FrontDoor:OnBeginOverlap()
# Now, we tell the game what to do.
# When the event happens, run this code.
OnPlayerTouch:Bind(
func(Actor: Actor) -> None:
(
# Change the door color to red.
# We use a function called SetMaterialScalarParameter.
# This is like painting the door.
FrontDoor.SetMaterialScalarParameter("DoorColor", Vector3(1.0, 0.0, 0.0))
# Print a message to the screen.
# This helps us know it worked.
Print("Welcome home!")
)
)
Let's break down the code.
Device:Find: This finds the door in your island. It looks for the name "FrontDoor".OnBeginOverlap: This is the event. It waits for a player to touch the door.SetMaterialScalarParameter: This changes the look of the door. It is a function. A function is a set of instructions.Print: This shows text on the screen. It is good for testing.
Try It Yourself
Now it is your turn!
Challenge:
- Place a Retail Prefab (like a shop) next to your house.
- Add a Prop-Mover to the shop door.
- Make the door open when a player gets close.
Hint: Look for the Prop-Mover device in the Devices tab. You can set it to move on the Z-axis (up and down) or X-axis (side to side). Try setting it to open sideways!
Recap
You did it! You learned how to use Prefabs.
- Prefabs are pre-built structures.
- They save time and look great.
- You can find them in the Creative Inventory.
- You can resize and style them to fit your island.
Keep building. Your island is waiting for you!
References
- https://dev.epicgames.com/documentation/en-us/fortnite/residential-prefabs-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite/using-prefabs-and-galleries-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite-creative/lego-asset-inventory-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite/retail-prefabs-in-fortnite-creative
- https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-industrial-prefabs-in-fortnite-creative
Verse source files
- 01-fragment.verse · fragment
Turn this into a guided course
Add using-residential-prefabs-in-fortnite-creative to your free study plan — we'll suggest related pages and stitch the lot into one compile-checked, self-guided lesson with worked examples and quizzes.
References
Original tutorial generated by Verse Island from the Verse/UEFN knowledge base, with references to the Epic Games sources above. Code is validated against the knowledge base.