BeamNG levels use helper objects for gameplay interaction areas and points of interest:
| Class | Purpose |
|---|---|
BeamNGGameplayArea |
Editor-visible box area used by gameplay systems. |
BeamNGPointOfInterest |
Named point/icon metadata used by map, career, facilities, deliveries, and other gameplay systems. |
These objects are commonly used by fuel stations, dealerships, deliveries, garages, parking, and other interaction locations.
{
"class": "BeamNGGameplayArea",
"name": "garage_area_01",
"__parent": "garage_interaction",
"position": [100, 200, 5],
"rotationMatrix": [1, 0, 0, 0, 1, 0, 0, 0, 1],
"scale": [2, 4, 2],
"area2D": false
}
{
"class": "BeamNGPointOfInterest",
"name": "garage_icon_01",
"__parent": "garage_interaction",
"position": [100, 200, 7],
"title": "Garage",
"desc": "Vehicle service location",
"type": "garage"
}
| Class | Field | Type | Description |
|---|---|---|---|
BeamNGGameplayArea |
position |
array[3] | Area center. |
BeamNGGameplayArea |
rotationMatrix |
array[9] | Area orientation. |
BeamNGGameplayArea |
scale |
array[3] | Area volume size. |
BeamNGGameplayArea |
area2D |
bool | Treats the area as 2D where supported. |
BeamNGGameplayArea |
color |
color | Editor/debug draw color. |
BeamNGPointOfInterest |
position |
array[3] | POI location. |
BeamNGPointOfInterest |
title |
string | POI title or translation key. |
BeamNGPointOfInterest |
desc |
string | POI description or translation key. |
BeamNGPointOfInterest |
type |
string | POI type used by gameplay/UI systems. |
Many shipped gameplay areas and points of interest are driven by Lua systems and related files.
Additional fields may be saved on these objects depending on the feature that owns them.
For tools that generate gameplay areas:
persistentId values unless creating new objects.sites, facilities, or mission data when moving these objects.See also: Fuel Stations
, Facilities
, Gameplay Data
, Sites
, Level object files (items.level.json)
.
Was this article helpful?