Logo de Ue Sequencer And Cinematics

Ue Sequencer And Cinematics

Comunidade
kevinpbuckley
ue-sequencer-and-cinematics

Create and drive Unreal Engine cinematics from C++ — ULevelSequence (the cinematic asset), ALevelSequenceActor (the level-placed container), ULevelSequencePlayer (CreateLevelSequencePlayer, Play, Stop, PlayLooping, SetPlaybackPosition, OnFinished), possessables vs spawnables, runtime binding overrides (SetBinding/SetBindingByTag), track and MovieScene concepts, Cine Camera (UCineCameraComponent, ACineCameraActor — filmback, focal length, aperture, focus), Camera Cuts track, and Movie Render Queue for high-quality offline output. Use when triggering or controlling a cutscene at runtime, overriding sequence bindings for dynamic actors, reacting to sequence-end events, animating a film-style camera, firing gameplay callbacks from an event track, or rendering frames with the Movie Render Pipeline.

Visão geral

Publicado porkevinpbuckley
Repositóriounreal-engine-skills
Nome da habilidadeue-sequencer-and-cinematics
Estrelas
89
Forks
9
Arquivos incluídos
4
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 4

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por kevinpbuckley no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Ue Sequencer And Cinematics no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-sequencer-and-cinematics
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinpbuckley/unreal-engine-skills.git /tmp/unreal-engine-skills
mkdir -p .claude/skills
cp -r /tmp/unreal-engine-skills/skills/core/ue-sequencer-and-cinematics .claude/skills/ue-sequencer-and-cinematics
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Ue Sequencer And Cinematics em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Ue Sequencer And Cinematics automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Ue Sequencer And Cinematics não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Sequencer & cinematics

Sequencer is Unreal's non-linear timeline editor. A Level Sequence (ULevelSequence) binds actors and animates their properties via tracks; you play it at runtime through a ULevelSequencePlayer for cutscenes or scripted moments, and feed gameplay events back through event tracks or the OnFinished delegate.

When to use this skill

  • Triggering a cutscene or scripted in-game beat from C++ and reacting when it ends.
  • Overriding which actors a sequence controls at runtime (dynamic/spawned characters).
  • Animating a film-style camera (focal length, aperture, depth of field) via Cine Camera.
  • Firing gameplay functions at exact timeline positions (event tracks / Director blueprint).
  • Using Movie Render Queue for offline high-quality output from a sequence asset.

The pieces

TypeRole
ULevelSequenceCinematic asset — wraps UMovieScene (tracks, sections, bindings)
ALevelSequenceActorLevel-placed actor that holds the player and settings
ULevelSequencePlayerRuntime player: play/stop/scrub/loop, delegates, binding overrides
ULevelSequenceDirectorPer-sequence Blueprint class that event tracks call into
ACineCameraActor / UCineCameraComponentFilm-style camera (filmback, focus, aperture)

Modules to add to your .Build.cs:

"LevelSequence", "MovieScene", "CinematicCamera"

For Movie Render Queue also add "MovieRenderPipelineCore" (and enable the plugin).

Playing a sequence from C++

The factory method ULevelSequencePlayer::CreateLevelSequencePlayer spawns a transient ALevelSequenceActor, initialises its player, and returns the player ready to use. The out-param SeqActor receives the spawned actor (useful for lifecycle control).

cpp
#include "LevelSequence.h"
#include "LevelSequenceActor.h"
#include "LevelSequencePlayer.h"
#include "MovieSceneSequencePlayer.h"

// Called from BeginPlay or a gameplay event — never from a constructor.
void AMyDirector::PlayCutscene()
{
    if (!CutsceneAsset) { return; }  // UPROPERTY TObjectPtr<ULevelSequence> CutsceneAsset

    FMovieSceneSequencePlaybackSettings Settings;
    // Settings.bAutoPlay = false;   // default; we call Play() explicitly
    // Settings.LoopCount.Value = 0; // play once; -1 = infinite

    ALevelSequenceActor* SeqActor = nullptr;
    ULevelSequencePlayer* Player = ULevelSequencePlayer::CreateLevelSequencePlayer(
        GetWorld(), CutsceneAsset, Settings, SeqActor);

    if (Player)
    {
        Player->OnFinished.AddDynamic(this, &AMyDirector::OnCutsceneDone);
        Player->Play();
    }
}

UFUNCTION()
void AMyDirector::OnCutsceneDone()
{
    // Re-enable player input, restore camera, advance game state.
}

If you placed an ALevelSequenceActor in the level, prefer:

cpp
// PlacedSeqActor is a UPROPERTY TObjectPtr<ALevelSequenceActor> set in the editor.
if (ULevelSequencePlayer* P = PlacedSeqActor->GetSequencePlayer())
{
    P->OnFinished.AddDynamic(this, &AMyDirector::OnCutsceneDone);
    P->Play();
}

Key player methods (all on UMovieSceneSequencePlayer, base of ULevelSequencePlayer):

MethodEffect
Play()Forward from current position
PlayLooping(int32 NumLoops = -1)Loop: -1 = infinite, 0 = play once more
Stop()Stop and move cursor to end (or start if reversed)
Pause()Pause at current position
SetPlaybackPosition(FMovieSceneSequencePlaybackParams)Jump or scrub to a time/frame
SetPlayRate(float)Negative for reverse
GetCurrentTime()Returns FQualifiedFrameTime

Source: Runtime/MovieScene/Public/MovieSceneSequencePlayer.h — Play:193, PlayLooping:208, Stop:220, Pause:212, SetPlaybackPosition:344, OnFinished:426.

Bindings — possessables vs spawnables

A possessable references a pre-existing level actor (linked by soft object path). A spawnable is an actor template embedded in the sequence that the player spawns/destroys for the duration of playback.

  • Possessable: stable cross-level binding; breaks if the target actor is renamed, moved to another level, or replaced at runtime without rebinding.
  • Spawnable: self-contained; the sequence owns the actor's lifetime, making the sequence portable and usable without placing anything in the level. Prefer spawnables for cinematic- only characters or props that don't need to interact with gameplay after the cutscene.

Runtime binding override

For dynamic actors (spawned at runtime, procedurally placed), override a binding on the ALevelSequenceActor rather than editing the asset:

cpp
// Binding must be tagged in the Sequencer UI (RMB on binding > Tags…).
// FMovieSceneObjectBindingID can come from FindNamedBinding() or a designer-exposed
// UPROPERTY(EditAnywhere) FMovieSceneObjectBindingID.
PlacedSeqActor->SetBindingByTag(
    FName("HeroCharacter"),        // tag set in the Sequencer UI
    {DynamicallySpawnedHero},      // TArray<AActor*>
    /*bAllowBindingsFromAsset=*/false);

SetBinding / SetBindingByTag / AddBinding / ResetBindings are all on ALevelSequenceActor (LevelSequenceActor.h:178–238). They write into the actor's UMovieSceneBindingOverrides object without modifying the sequence asset.

Full binding and track internals: references/tracks-and-bindings.md.

Cameras & camera cuts

Add a Camera Cuts track to the sequence to drive which camera the viewer sees. During playback the player overrides the viewport to the active cut camera; on finish the view returns to the player camera (controllable via FLevelSequenceCameraSettings).

Use ACineCameraActor / UCineCameraComponent for cinematic look. Key properties (all UPROPERTY(Interp, …), so they can be keyframed in Sequencer):

PropertyTypeEffect
CurrentFocalLengthfloatZoom; derives FoV from filmback
CurrentAperturefloatf-stop — controls depth of field
FilmbackFCameraFilmbackSettingsSensor size (width × height mm)
FocusSettingsFCameraFocusSettingsManual / tracking / disable DoF

UCineCameraComponent inherits from UCameraComponent; ACineCameraActor wraps it and adds LookatTrackingSettings. Source: Runtime/CinematicCamera/Public/CineCameraComponent.h and CineCameraActor.h.

Camera and camera-cuts deep dive: references/cameras-and-cuts.md.

Event tracks (timeline → gameplay)

Event tracks fire at keyframe positions and invoke functions on the sequence's ULevelSequenceDirector subclass (a Blueprint). The director receives bound-object references through GetBoundObjects(FMovieSceneObjectBindingID) / GetBoundActor(…).

Use event tracks to spawn effects, toggle gameplay flags, or advance state at exact cinematic beats — the timeline analog of anim notifies (see ue-animation-system). For gameplay → timeline (driving a sequence from code), just call SetPlaybackPosition or PlayTo.

The Director's player pointer is UPROPERTY(BlueprintReadOnly) TObjectPtr<ULevelSequencePlayer> Player (LevelSequenceDirector.h:131).

Movie Render Queue

For offline renders (trailers, pre-rendered cutscenes), use the Movie Render Pipeline plugin rather than the editor's legacy "Render Movie" button. It supports multi-sample anti- aliasing accumulation, warmup frames, EXR / PNG / ProRes output, and render passes.

The queue is managed via editor subsystem (MoviePipelineQueueSubsystem) or Python/Blueprint scripting; runtime rendering in a packaged build uses UMoviePipeline directly.

Plugin headers live in: Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/

Full MRQ setup and scripting: references/movie-render-queue.md.

Gameplay vs cinematic control

  • Disable player input with APlayerController::SetInputMode / DisableInput during non- interactive cutscenes; restore in OnFinished.
  • For interactive moments (player can still move), skip disabling input and use the sequence only for cameras or specific actors.
  • Networked cinematics: trigger the sequence on every client via an RPC/replicated event. ALevelSequenceActor has bReplicatePlayback (LevelSequenceActor.h:117) but Sequencer playback itself is not automatically synchronised — coordinate timing explicitly. See ue-networking-and-replication.

Gotchas

  • Possessable binding breaks on rename/move — if the bound actor is renamed or moved to a sublevel, the soft-object-path reference breaks. Use tags + SetBindingByTag at runtime.
  • Forgetting to restore input/camera — always hook OnFinished and undo any cinematic-mode state (input, camera, HUD visibility) there.
  • Null player after CreateLevelSequencePlayer — this returns null if GetWorld() is null (CDO, editor context) or LevelSequence is null. Guard both.
  • Replicated playback is not frame-accurate — bReplicatePlayback gives clients a status update, not a sample-accurate sync. For frame-locked sync, implement your own timing.
  • Event track functions must exist on the Director blueprint — functions called by event tracks must be BlueprintCallable and present in the Director class; mismatches are silent.
  • Forgetting module deps — missing "LevelSequence" in .Build.cs causes include errors for ULevelSequencePlayer and ALevelSequenceActor.
  • Completion mode — by default Sequencer restores animated properties on stop. Set EMovieSceneCompletionModeOverride::ForceKeepState via Player->SetCompletionModeOverride if you want animated transforms to persist after the sequence ends.

Version notes

  • ALevelSequenceActor::SequencePlayer is deprecated in 5.4; always use GetSequencePlayer() (LevelSequenceActor.h:153).
  • The FGuid FindBindingFromObject(UObject*, UObject*) overload is deprecated in 5.5; use the SharedPlaybackState variant.
  • For Control Rig-authored animation played inside Sequencer, see ue-control-rig-and-ik.
  • For skeletal animation tracks and Anim Notifies, see ue-animation-system.

References & source material

Engine source (UE 5.8, under Engine/Source/Runtime/):

  • LevelSequence/Public/LevelSequence.h — ULevelSequence, MovieScene, DirectorClass.
  • LevelSequence/Public/LevelSequenceActor.h — ALevelSequenceActor, GetSequencePlayer:153, SetBinding:178, SetBindingByTag:190, FindNamedBinding:244, bReplicatePlayback:117.
  • LevelSequence/Public/LevelSequencePlayer.h — ULevelSequencePlayer, CreateLevelSequencePlayer:106, OnCameraCut:110, GetActiveCameraComponent:114.
  • LevelSequence/Public/LevelSequenceDirector.h — ULevelSequenceDirector, Player:131, GetBoundObjects:65, GetBoundActor:95.
  • MovieScene/Public/MovieSceneSequencePlayer.h — Play:193, PlayLooping:208, Stop:220, Pause:212, SetPlaybackPosition:344, OnFinished:426, OnStop:418, OnPlay:410.
  • MovieScene/Public/MovieSceneSequencePlaybackSettings.h — FMovieSceneSequencePlaybackSettings.
  • MovieScene/Public/MovieScene.h — UMovieScene (tracks/sections/bindings model).
  • CinematicCamera/Public/CineCameraComponent.h — UCineCameraComponent, CurrentFocalLength:66, CurrentAperture:70, Filmback:38, FocusSettings:52.
  • CinematicCamera/Public/CineCameraActor.h — ACineCameraActor, GetCineCameraComponent:90.

Plugin source (UE 5.8):

  • Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/MoviePipelineQueue.h

Official docs (UE 5.8, verified):

Deep-dive references in this skill:

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Ue Sequencer And Cinematics faz?

Create and drive Unreal Engine cinematics from C++ — ULevelSequence (the cinematic asset), ALevelSequenceActor (the level-placed container), ULevelSequencePlayer (CreateLevelSequencePlayer, Play, Stop, PlayLooping, SetPlaybackPosition, OnFinished), possessables vs spawnables, runtime binding overrides (SetBinding/SetBindingByTag), track and MovieScene concepts, Cine Camera (UCineCameraComponent, ACineCameraActor — filmback, focal length, aperture, focus), Camera Cuts track, and Movie Render Queue for high-quality offline output. Use when triggering or controlling a cutscene at runtime, over...

Por que usar Ue Sequencer And Cinematics no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Ue Sequencer And Cinematics é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Ue Sequencer And Cinematics no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-sequencer-and-cinematics. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Ue Sequencer And Cinematics?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Ue Sequencer And Cinematics?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Ue Sequencer And Cinematics com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Ue Sequencer And Cinematics é gratuita?

A habilidade é publicada no GitHub por kevinpbuckley. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇