RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Flowgraph Base ModuleFlowgraph Base NodeFlowgraph Base State NodeFlowgraph Node BuilderFlowgraph GraphFlowgraph Group HelperFlowgraph LinkFlowgraph ManagerNew Node TemplateFlowgraph PinFlowgraph States ManagerFlowgraph UtilsFlowgraph Variable Storage
Activity Attempt NodeActivity Flow NodeActivity Hook Trigger NodeActivity Reset Prefabs NodeFinish Mission Node (Activity Stop)Aggregate Attempt NodeActivity Attempt Stars NodeActivity Attempt Vehicle NodeAuto Star Goals NodeGet Progress NodeMission Attempt Stars NodeRequest Abandon NodeStars Active (Flowgraph Node)

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 Extensionsflowgraphnodesactivity

Activity Attempt Vehicle Node

Adds vehicle information to an attempt data object. Records model, config, and origin (career inventory or setup module). Category: `once_instant`.

Adds vehicle information to an attempt data object. Records model, config, and origin (career inventory or setup module). Category: once_instant.


Pins

Inputs

NameTypeFixedDescription
flowflowyesExecution trigger (implicit)
vehKeystringnoKey name in attempt data (default: "vehicle")
vehIdnumbernoVehicle ID (defaults to player vehicle 0)
attempttable (attemptData)yesAttempt data to modify

Outputs

NameTypeFixedDescription
attempttable (attemptData)yesModified attempt with vehicle data

Behavior

  • C:workOnce():
    1. Resolves vehicle from vehId pin or getPlayerVehicle(0)
    2. Records model (jbeam), config (partConfig), isConfigFile
    3. In career mode with usePlayerVehicle: adds originId from inventory, originKey = "careerInventory"
    4. In career mode without player vehicle: adds setup module selection index, originKey = "providedBySetupModule"
    5. Stores as attempt[vehKey] = vData

Usage Example

-- Typical pipeline:
-- [Activity Attempt] → [Attempt Vehicle] → [Attempt Stars] → [Aggregate]

-- Result in attempt data:
attempt.vehicle = {
  model = "vivace",
  config = "vehicles/vivace/sport.pc",
  isConfigFile = true,
  originId = 42,           -- career inventory ID
  originKey = "careerInventory"
}

Additional Exports

init()

  • color - any - (see source)

  • description - string - (see source)

  • category - string - (see source)

  • pinSchema - table - (see source)

  • tags - table - (see source)


See Also

  • Activity Attempt Node - Related reference
  • Activity Flow Node - Related reference
  • Activity Hook Trigger Node - Related reference
  • FlowGraph Guide - Guide

Activity Attempt Stars Node

Adds star unlock flags to an attempt data object. User adds custom boolean pins named after star keys. Category: `once_instant`.

Auto Star Goals Node

Automatically populates the tasklist UI app with goals derived from the mission's active stars. Category: `once_instant`.

On this page

PinsInputsOutputsBehaviorUsage ExampleAdditional Exportsinit()See Also