17. Build the lab and beacon deck
On this page
17. Build the lab and beacon deck
| ID | Type | Starting value |
|---|---|---|
| score | number | 0 |
| objective | string | Collect the amber power cell from the supply bench. |
| cell_taken | boolean | false |
| powered | boolean | false |
| aligned | boolean | false |
| finished | boolean | false |
Create Quest signal, named The last signal. Its description is Power the relay, align the receiver and transmit. Enable automatic tracking. Add stage work, title To do, with objective finish containing the same instruction. The room's First Enter actions will start it.
Check your work. Stop here and reopen your saved project. You should have one 3D room, one reusable Tester, one placed Tester, an entry spawn, six variables and the signal quest. No imported character model is needed.
Make a floor and three walls#
Use Add to Scene to create a box primitive. Name it Lab Floor, set ID lab_floor, size [12, 0.24, 9] and position [0, -0.12, -0.7]. Its top is at Y=0. Set color #24364a and roughness 0.83. Disable its hotspot.
Add the back and side walls from the placement table in the reference section. Primitive dimensions describe the full box, not half-extents. Set scale to [1, 1, 1] while entering those sizes. Use the supplied table for the ceiling beams, panels and decorative blocks as well.
Do not make every wall a navigation blocker while learning. The authored navigation area already keeps the player inside the room. Add blockers for objects in the walking area where they are needed.
Set navigation and the fixed camera#
Set walkable Y to 0 and the agent radius to 0.3. Use bounds X -5.4 to 5.4 and Z -3.8 to 3.2. If the current editor is showing a polygon, make the equivalent rectangle. Keep the initial blocker list empty in this simple demo.
Create or rename the camera to Room view with ID wide. Set position [0, 7.4, 12.7], target [0, 1, -1.4], FOV 46, near clip 0.05 and far clip 100. Make wide the room's default camera. Test the room before adding puzzle logic.
