RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager
Playbook Attribute ViewerPlaybook Mission Tree ViewerPlaybook Unlocked Missions Viewer

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE ExtensionseditormissionPlaybook

Playbook Mission Tree Viewer

Editor extension that renders a **visual node graph** of all career missions, showing unlock states and star progress at each playbook step.

Editor extension that renders a visual node graph of all career missions, showing unlock states and star progress at each playbook step.


Overview

Uses ui_flowgraph_editor to draw an interactive node graph where each node represents a career mission. Node colours reflect unlock state (red = invisible, yellow = visible, green = startable). Links show unlock dependencies. Star icons indicate earned/unearned stars.


Module Interface (M)

FunctionDescription
M.onEditorInitialized()Registers window (500×500) and menu item under "Missions".
M.onEditorGui()Draws the node graph (only if Mission Playbook is visible).
M.show()Shows both the playbook and this viewer window.
M.onPlaybookLogAfterStep(resultData)Hook: snapshots unlocked stars and unlock states for all career missions.

Node Colours

ColourState
RedInvisible (locked)
YellowVisible but not startable
GreenStartable

Node Content

  • Mission name (translated)
  • Star icons: ★ (unlocked), ☆ (locked), ✦ (unlocked this step)
  • Default stars in yellow, bonus stars in cyan
  • Branch level badge on the left

Graph Structure

  • Nodes positioned by mission.unlocks.depth (x) and index (y)
  • Links drawn from each node's output pin to forward-dependency input pins
  • Uses flowgraph editor's pan/zoom for navigation

Data Snapshot Format

resultData.unlockedStars = { ["mission/id"] = { timeBronze = true } }
resultData.unlockedThisStep = { ["mission/id"] = { timeSilver = true } }
resultData.unlocksById = { ["mission/id"] = { startable = true, visible = true, ... } }

Usage Example

editor_missionPlaybook_missionTreeViewer.show()

-- Generate nodes for the graph
-- Click "Generate" button in the viewer window

Module Variables

  • nodes (table) - Array of graph node objects, one per career mission.
  • nodesByMId (table) - Map from mission ID to graph node object.
  • previewEctx (any) - Preview execution context.
  • onEditorRegisterPreferences (function) - Registers editor preferences for this viewer.

Additional Exports

  • M.nodes
  • M.nodesByMId
  • M.onEditorRegisterPreferences

See Also

  • Playbook Attribute Viewer - Related reference
  • Playbook Unlocked Missions Viewer - Related reference
  • World Editor Guide - Guide

Playbook Attribute Viewer

Editor extension that displays **player attribute values and changes** at each step of a Mission Playbook execution. Includes a multi-series plot.

Playbook Unlocked Missions Viewer

Editor extension that displays a **three-column view** of mission unlock states (startable / visible / invisible) at each playbook step.

On this page

OverviewModule Interface (M)Node ColoursNode ContentGraph StructureData Snapshot FormatUsage ExampleModule VariablesAdditional ExportsSee Also