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: November 28, 2021

Any further questions?

Join our discord
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.