Build a Sci-Fi Base with Futuristic Prefabs
Build a Sci-Fi Base with Futuristic Prefabs
Do you want to build a secret base for aliens? Or a high-tech lab for robots? You can do it in minutes. You do not need to build every brick by hand. Fortnite Creative has "Futuristic Prefabs." These are pre-made pieces. They look like they came from the year 3000. Let's build a cool sci-fi scene together.
What You'll Learn
- What a Prefab is.
- How to find the Futuristic theme.
- How to place and rotate big structures.
- How to make a simple base.
How It Works
Imagine you are playing with LEGO bricks. You can build a house. But it takes a long time. Now imagine someone gave you a whole LEGO room. It is already built. You just place it down. That is a Prefab.
A prefab is a pre-made group of objects. It might be a wall, a door, or a whole room. In Fortnite Creative, these are in the Prefabs category.
The Futuristic theme looks very modern. It has shiny metal. It has glowing lights. It looks like a spaceship or a secret lab. You can find these in the Gallery. The Gallery is like a giant toy box. You pick what you want. You place it in your world.
Think of it like cooking. You can chop every vegetable yourself. Or you can buy a bag of pre-chopped veggies. Prefabs are the pre-chopped veggies. They save you time. You can focus on making your game fun.
Let's Build It
We will build a small futuristic entryway. We will use two pieces. One is a frame. One is a door.
Here is how to do it in the editor.
- Open your island in UEFN.
- Open the Gallery panel (press G).
- Click on the Prefabs tab.
- Search for "Futuristic" or look for the theme.
- Pick a frame piece. Pick a door piece.
- Place them in your world.
Now, let's look at the code logic behind placing things. In Verse, we do not usually place prefabs with code. We place them in the editor. But we need to understand the Scene Graph.
The Scene Graph is like a family tree for your objects. Every object is a node. Some nodes are parents. Some are children. When you place a prefab, you place a whole family tree.
Here is a simple Verse concept. We will look at how an object knows where it is. This is called Position.
# This is a simple Verse script
# It shows how we might check an object's position
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /UnrealEngine.com/Temporary/SpatialMath }
using { /Fortnite.com/Devices }
position_example := class(creative_device):
OnBegin<override>()<suspends> : void =
# Create a transform at the center of the map
# vector3 holds X, Y, and Z coordinates
# The number 0.0 means the middle on that axis
ShipTransform : transform = transform:
Translation := vector3{X := 0.0, Y := 0.0, Z := 0.0}
Rotation := rotation{}
Scale := vector3{X := 1.0, Y := 1.0, Z := 1.0}
# Print the X position so we can see it in the log
# note: prefabs are placed in the UEFN editor, not spawned at runtime;
# this shows how Verse represents a position with a transform value
Print("Ship X position: {ShipTransform.Translation.X}")```
Let's break this down.
* `position_example` is a **Class**. It is a blueprint for our script device.
* `OnBegin` is a **Function**. It runs when the game starts.
* `ShipTransform` is a **Variable**. It is a box that holds the position data.
* `transform` is the **Type**. It stores Translation, Rotation, and Scale together.
* `vector3{X := 0.0, Y := 0.0, Z := 0.0}` is the **Position**. It is the X, Y, and Z coordinates.
You do not need to write this code to place prefabs. You use the mouse. But understanding this helps. It shows that every object has a place. It is part of the scene.
When you place a futuristic wall, it is a node in the graph. When you place a door next to it, it is another node. They are separate. But they work together. You can move the wall. The door stays put. You can move the door. The wall stays put.
This is the power of the Scene Graph. You can move pieces without breaking the whole base.
## Try It Yourself
You have a futuristic frame. You have a door. Now make a corridor.
**Challenge:** Place three more futuristic wall pieces. Make a hallway. Then place a light piece at the end.
**Hint:** Look for pieces that look like long tubes or panels. Use the Rotate tool. Turn the walls to face the right way.
## Recap
Prefabs are pre-made building blocks. They save you time. The Futuristic theme looks like a sci-fi movie. You place them in the Gallery. You rotate them to fit your map. You are building a scene graph. Every piece has its own place. Have fun building your future!
## References
* https://dev.epicgames.com/documentation/en-us/fortnite/futuristic-prefabs-in-fortnite-creative
* https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-futuristic-prefabs-in-fortnite-creative
* https://dev.epicgames.com/documentation/en-us/fortnite-creative/using-prefabs-and-galleries-in-fortnite-creative
* https://dev.epicgames.com/documentation/en-us/fortnite/retail-prefabs-in-fortnite-creative
* https://dev.epicgames.com/documentation/en-us/fortnite/military-prefabs-in-fortnite-creative
Verse source files
- 01-device.verse · device
Turn this into a guided course
Add using-futuristic-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.