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

Mission Milestones

M.dependencies = {"gameplay_missions_missions"}

Dependencies

M.dependencies = {"gameplay_missions_missions"}

Generates milestones for mission star collection, mission passing, and mission completion - both globally and per-branch.


Public API

FunctionSignatureDescription
M.makeAllMissionStarMilestones(missions, list)Create global star/pass/complete milestones
M.makeBranchMissionStarMilestones(missions, branchKey, list)Create per-branch star/pass/complete milestones
M.setNotificationTarget(milestone)Set next notification threshold

| M.makeUnlockMissionsMilestones | (missions, milestonesList) | - |

Hook Handlers

HookPurpose
M.onGeneralMilestonesCollectGenerate all mission milestones
M.onGeneralMilestonesSetupCallbacksRegister notification targets
M.onAnyMissionChangedCheck milestones on mission stop

Generated Milestones (Global)

Step percentages: {10%, 18%, 30%, 54%, 74%, 100%} of total

IDLabelMeasuresRewards
mission_totalStarCountStar CollectorTotal stars earnedmajorLinear
mission_passMissionsChallenge PasserMissions with ≥1 default starminorLinear
mission_completeMissionsChallenge CompletionistMissions with all starsminorLinear

Generated Milestones (Per Branch)

Same structure as global, but filtered by branch:

ID PatternLabel Pattern
mission_totalStar_branch_{key}{Branch} Star Collector
mission_passMissions_{key}{Branch} Challenge Passer
mission_completeMissions_{key}{Branch} Challenge Completionist

All use {mission=true} filter plus branch-specific filter keys.

Mission Completion Definitions

  • Pass: At least 1 default star unlocked (defaultUnlockedStarCount > 0)
  • Complete: Total unlocked = default + bonus star count

See Also

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

Insurance Milestones

Single milestone tracking insurance repair claims count.

Money Milestones

Generates milestones tracking money earned and spent across various tagged categories.

On this page

DependenciesPublic APIHook HandlersGenerated Milestones (Global)Generated Milestones (Per Branch)Mission Completion DefinitionsSee Also