ETK Gauges

Summary

This controller can be used to add an animated screen to a vehicle’s gauge cluster which shows useful information.


File Info

Filename etkGauges.lua
Path /lua/vehicle/controller/etkGauges.lua
Type Auxiliary
Usage type Multiple (Not useful)

JBeam Properties

Name
Default
Unit
Description
Name
materialName
Default
nil
Unit
string
Description
Material name to be used for the gauges screen
Name
htmlPath
Default
nil
Unit
string
Description
HTML file to display on the gauges screen
Name
unitType
Default
metric
Unit
string
Description
Whether to use “metric” or “imperial” unit presets for the gauges screen
Name
textureWidth
Default
512
Unit
number
Description
Width of the texture
Name
textureHeight
Default
256
Unit
number
Description
Height of the texture

Example Usage

"controller": [
  ["fileName"],
  ["etkGauges"]
],
"etkGauges": {
  "materialName":"@etk800_gauges_screen",
  "htmlPath":"local://local/vehicles/etk800/gauges_screen.html",
}

Last modified: November 26, 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.