RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

server/commands - Camera & Input Commandsge_utils - Game Engine Utility Functionsmain.lua - GE Lua Entry Point & Game Loopmap.lua - Navigation Graph (AI Road Map)screenshot.lua - Screenshot Systemserver/server - Level Loading & Game ServerserverConnection - Client-Server Connection Manager`setSpawnpoint` - Default Spawn Point Persistence`simTimeAuthority` - Simulation Time & Bullet Time Control`spawn` - Vehicle Spawning & Safe Placement`suspensionFrequencyTester` - Suspension Natural Frequency Analysis
Career BranchesCareer System CoreCareer Save System
Career Computer MenuCareer Fuel SystemInspect VehicleVehicle InventoryLinear TutorialLoaner VehiclesCareer LogLogbookMarketplaceMission WrapperCareer Painting ModuleCareer Part Inventory ModuleCareer Part Shopping ModuleCareer Payment ModuleCareer Permissions ModuleCareer Playbook Writer ModuleCareer Player Abstract ModuleCareer Player Attributes ModuleCareer Player Driving ModuleCareer Quick Travel ModuleCareer Rentals ModuleCareer Reputation ModuleCareer Spawn Points ModuleCareer Speed Traps ModuleCareer Test Drive ModuleCareer Tether ModuleCareer Tuning ModuleCareer UI Utils ModuleCareer Unlock Flags ModuleCareer Value Calculator ModuleVehicle Class GroupingVehicle Deletion ServiceVehicle PerformanceVehicle Shopping
General MilestonesMilestones Core
Branch MilestonesDelivery MilestonesInsurance MilestonesMission MilestonesMoney MilestonesSpeed Trap MilestonesStatistic Milestones

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 ExtensionscareermodulesmilestonesgeneralMilestones

Branch Milestones

M.dependencies = {"career_branches"}

Dependencies

M.dependencies = {"career_branches"}

Generates milestones for reaching branch/skill levels. Creates one milestone per non-development branch, tracking XP progress toward each level.


Public API

FunctionSignatureDescription
M.setNotificationTarget(attKey)Set up the next notification threshold for a branch

Hook Handlers

HookPurpose
M.onGeneralMilestonesCollectGenerate branch/skill level milestones
M.onGeneralMilestonesSetupCallbacksRegister notification targets per branch
M.onPlayerAttributesChangedCheck if branch XP thresholds crossed

Generated Milestones

For each non-development branch:

  • ID: branch_{branchId}
  • Steps: maxReachableLevel - 1 (one per level)
  • Target: branchInfo.levels[step+1].requiredValue
  • Rewards: majorLinear for branches, minorLinear for skills
  • Filter: {branch=true, branch_{id}=true}; branches also get general=true

Branch Icons

Parent BranchIcon
motorsportraceFlag
labourerdeliveryTruckArrows
specializedcarChase01
adventurerjump

Notification Flow

When onPlayerAttributesChanged fires with positive change:

  1. Check if attribute corresponds to a branch milestone
  2. Compare current value against target threshold
  3. If reached: trigger milestoneReached, hook onBranchTierReached, advance step

See Also

  • general - Milestone collection system
  • milestones - Save data and reward functions

Milestones Core

Core milestone infrastructure: save/load, claim bridge, reward functions, notification system, and UI data formatting. Used by all milestone subsystems.

Delivery Milestones

Generates milestones for cargo delivery progress: parcels, vehicles, trailers, fluids, dry bulk, timed delivery outcomes, and facility coverage.

On this page

DependenciesPublic APIHook HandlersGenerated MilestonesBranch IconsNotification FlowSee Also