Default Config
Below is the default config.lua
file.
Config = {
LoggingLevel = 2, -- 0 = Errors, 1 = Warnings, 2 = Infos, 3 = Debug, 4 = Trace (everything)
TxdName = 'x3_matrixboard', -- No need to change this.
TxNamePrefix = 'matrix_', -- No need to change this.
Commands = {
MatrixMenu = {
Name = 'matrixmenu', -- Name of the command
Enabled = true, -- If the command is enabled, disable this if you prefer to implement your own system using provided exports
ShowInstallMenu = true -- If the command should show the install menu when its not installed
}
},
Menu = {
Id = 'matrix_board_menu', -- ID of the menu
Title = 'Matrix Board', -- Title of the menu
Position = 'top-right'
}
}
Config.Vehicles = {
[`police2`] = { -- Vehicle model name
Distance = 75.0, -- Distance from the vehicle to start rendering in the matrix boards
MatrixBoards = { -- List of all matrix boards
{
Model = `D3s_Matrix`, -- Model of the matrix board (see config_matrixboards.lua)
Name = 'Rear Window', -- Name of the matrix board as it appears in the menu
Offset = vector3(0.0, -1.45, 0.5), -- Position of the matrix board offset from the center of the vehicle
Rotation = vector3(0.0, 0.0, 0.0), -- Rotation of the matrix board
VisibleByDefault = true, -- If the matrix board is visible by default
},
}
}
}
Last modified: 25 March 2024