Beam导航仪

概述

一个简单的控制器,可以在车内增加一个导航仪屏幕。 该控制器需要为在屏幕上显示的内容设置正确的材质。


文件信息

文件名 beamNavigator.lua
路径 /lua/vehicle/controller/beamNavigator.lua
类型 辅助功能
使用方式 多个对象

JBeam 属性

string
type
@screen_gps
default
需要在导航仪屏幕上使用的材质文件名
string
type
local://local/vehicles/common/navi_screen.html
default
需要在导航仪屏幕上显示的HTML文件名
number
type
256
default
贴图宽度(单位:像素px)
number
type
128
default
贴图高度(单位:像素px)
number
type
30
default
贴图刷新率(单位:赫兹Hz)


示例用法

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

上一次修订: 六月 2, 2026

还有其他问题?

加入我们的 Discord 服务器
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.