Skip to main content

📘 VehicleTemplate Data Guide

🧩 Struct: FB1VehicleTemplateTableRow

Defines a base template shared by one or more vehicles: part animation list, physical dimensions and crash weight.

Properties

  • Id (FName): Unique identifier for the vehicle template.
  • ObjectSelectionId (FName): The ID of the interaction set to display when a vehicle is clicked. (Foreign = "ObjectSelectionSet.Id")
  • CrashMassLevel (int32): Virtual mass level used to judge severity when vehicles collide.
  • PartList (TArray<FB1VehiclePart>): Mapping between vehicle parts and animations that control part movement.
  • AssetDescription (FB1VehicleAssetDescription): Physical dimensions and seating capacity.
  • PartMap (TMap<EB1VehiclePartType, FB1VehiclePartCache>): Runtime mapping of parts, initialized at load.

Driving parameters (speed, acceleration, steering) are not in this template. They live in the vehicle's movement component.

📚 References