Beam Navigator

Summary

Simple controller to add a navigation screen inside a vehicle. Needs a correctly set up material for the screen to display.


File Info

Filename beamNavigator.lua
Path /lua/vehicle/controller/beamNavigator.lua
Type Auxiliary
Usage type Multiple

JBeam Properties

string
type
@screen_gps
default
Material name to be used for the navigator screen.
string
type
local://local/vehicles/common/navi_screen.html
default
HTML file to display on the navigator screen.
number
type
256
default
Width (px) of the texture.
number
type
128
default
Height (px) of the texture.
number
type
30
default
Refresh rate (Hz) of the texture.


Example Usage

"controller": [
  ["fileName"],
  ["beamNavigator"]
],
"beamNavigator": {
  "screenMaterialName":"@screen2_gps",
  "textureWidth":512,
  "textureFPS": 20,
}

Last modified: 28/11/2021 22:06

Any further questions?

Join our discord