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
Multiple Usage Supported / Not useful

Jbeam Properties

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

Example Usage

Controller setup

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