Verse Library verse

02 Complete Script

Orchestrates splash screens, title messages, camera switches, and HUD controllers for intros.

extracted-snippets/documentation/en-us/fortnite/title-sequence-1-coding-the-verse-device-in-unreal-editor-for-fortnite/02-complete-script.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/title-sequence-1-coding-the-verse-device-in-unreal-editor-for-fortnite
# Local doc:  epic-docs/documentation/en-us/fortnite/title-sequence-1-coding-the-verse-device-in-unreal-editor-for-fortnite.md
# Section:    Complete Script
using { /Fortnite.com/Characters }
using { /Fortnite.com/Devices }
using { /UnrealEngine.com/Temporary/Diagnostics }
using { /Verse.org/Simulation }
title_sequence := class(creative_device):
# Game camera to show splash screens on top of.
@editable
SplashScreenGameCamera:gameplay_camera_fixed_point_device = gameplay_camera_fixed_point_device{}
# Game camera to show game title on top of.
@editable
TitleGameCamera:gameplay_camera_fixed_point_device = gameplay_camera_fixed_point_device{}
# Dialog option for player to choose to start the game.
@editable
StartGameDialog:popup_dialog_device = popup_dialog_device{}
# Game title screen to display.
@editable
TitleScreen:hud_message_device = hud_message_device{}
# How long the title screen should be shown before the game menu appears.
@editable
GameMenuDelay:float = 2.5
# Splash screens to show before the title screen.
@editable
SplashScreens:[]hud_message_device = array{}
# HUD Controller to hide all in-game UI elements.
@editable
IntroHUDController:hud_controller_device = hud_controller_device{}
# HUD Controller to show all in-game UI elements for when the game starts.

Sign in free to read the full source 🌴

This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.

Sign in with Discord

Comments

    Sign in to vote, comment, or suggest an edit. Sign in