Files
Elite-Gaming-FiveM/resources/SmartHose/config.lua
T
KingMcDonalds 765aa151a3 fixing vehicles
2026-03-13 23:31:07 -07:00

667 lines
38 KiB
Lua

ConfigHose = {
-- @ https://docs.fivem.net/docs/game-references/controls/#controls
Keys = {
Interact = 38, -- E
GrabFireExtinguisher = 38, -- E
SwitchDecalTypeKey = 47,-- G
ShootHose = 24, -- INPUT_ATTACK
DropHose = 38, -- E
GrabLine = 20, -- Z
PickupHose = 47, -- G
OpenDisplayPrompt = 47, -- G
IncreasePressure = 172, -- Arrow Up
DecreasePressure = 173, -- Arrow Down
},
HoseModel = `WEAPON_HOSE`,
PanelLocale = 'en',
refreshRopeCacheCommand = "refreshallropes", -- Command to refresh the rope cache for all players, useful for testing rope colour changes
Debug = false,
EnablePositioningCommand = true,
PositioningControls = {
down = 207, -- Page Up
up = 208, -- Page Down
backwards = 173, -- Arrow Down
forwards = 172, -- Arrow Up
left = 174, -- Arrow Left
right = 175, -- Arrow Right
enter = 191, -- Enter Key
},
-- This enables the /findhosepositioning command to help you find the right vehicle offsets for either
-- the hose connection or the supply line connection point. See our documentation for more info.
JobCheck = {
EnablePermissions = false, -- If set to false, all below job checks will be disabled, even if they are enabled in the config.lua
AcePermissions = {
Enabled = false,
Permission = "usehose"
},
ESX = {
Enabled = false,
CheckJob = {
Enabled = false, -- Enable this to use ESX job check
Jobs = {"fireman"} -- A user can have any of the following jobs, allowing you to add multiple
}
},
-- We've added vRP integration. All you need to do is enable it below. Then, configure if you wish to check for groups or permissions, or even both
vRP = {
Enabled = false,
CheckGroup = {
Enabled = false, -- Enable this to use vRP group check
Groups = {"fireman"}, -- A user can have any of the following groups, meaning you can add different jobs
},
CheckPermission = {
Enabled = false, -- Enable this to use vRP permission check
Permissions = {"fireman.usehose"} -- A user can have any of the following permissions, allowing you to add multiple
},
},
-- We've added QBCore integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
QBCore = {
Enabled = false,
CheckJob = {
Enabled = false, -- Enable this to use QBCore job check
Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs
},
CheckPermission = {
Enabled = false, -- Enable this to use QBCore permission check
Permissions = {"fireman.usehose"}, -- A user can have any of the following permissions, allowing you to add multiple
},
},
-- We've added QBX integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both
QBX = {
Enabled = false,
CheckJob = {
Enabled = false, -- Enable this to use QBX job check
Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs
}
},
},
Translations = {
storeHoseMessage = "Press E to store hose",
cannotStoreHoseMessage = "You can only store the hose in the vehicle you grabbed it from.",
cannotStoreHoseWhileOnGround = "You cant store the hose while its on the floor!.",
vehicleUnavailableMessage = "The vehicle you grabbed the hose from is no longer available.",
grabHoseMessage = "Press E to grab hose",
SupplyLine = "Press Z to grab line",
storeSupplyLine = "Press Z to store line",
connectRelayLineMessage = "Press Z to connect line",
disconnectLine = "Press Z to disconnect line",
thirdEyeMessage = "Grab/Store Hose",
grabHoseWorldInteraction = "Grab Hose",
tankIsEmpty = "Tank is empty! Cannot shoot water!",
maxRopes = "This vehicle has reached the maximum number of ropes.",
waterTypeDisplay = "Hose Type ~INPUT_DETONATE~ (Water)\nPressure ~INPUT_CELLPHONE_UP~ | ~INPUT_CELLPHONE_DOWN~ ",
foamTypeDisplay = "Hose Type ~INPUT_DETONATE~ (Foam)\nPressure ~INPUT_CELLPHONE_UP~ | ~INPUT_CELLPHONE_DOWN~ ",
cantCarryFoam = "This vehicle cannot carry foam!",
maximumPressure = "Maximum pressure reached!",
minimumPressure = "Minimum pressure reached!",
noPermission = "You do not have access to use the hose.",
pickupHoseMessage = "Press G to pick up the hose",
interactDisplay = "Press G to open display",
pumpNotEngaged = "Pump is not engaged!",
attacklineValve = "Attack line discharge is not open.",
grabfireExtinguisher = "Press ~INPUT_PICKUP~ to grab extinguisher",
storefireExtinguisher = "Press ~INPUT_PICKUP~ to store extinguisher",
relayDirection = "This relay is oriented upstream. Start transfer from the other truck."
},
Notifications = {
Enabled = true,
HelpTextSound = false,
Framework = {
QBCore = false,
QBX = false,
ESX = false,
vRP = false,
okok = false,
}
},
InteractType = {
TruckInteraction = {
Drawtext = true,
ScreenPrompt = false,
WorldInteraction = false,
ThirdEye = {
enabled = false,
qbTarget = false,
oxTarget = false,
},
Custom = false,
},
},
Rope = {
Hose = {
HoseModelTimeout = 2500, -- Timeout for the hose model to be loaded
HoseropeInitialLength = 32.5, -- Initial rope length (recommended)
RopeColour = { r = 117, g = 29, b = 36 },
HoseropeLength = 100.0, -- Rope Max length (recommended)
DrawMarker = false, -- Draw marker on the floor when the hose is dropped.
GrabAnimationDict = 'anim@amb@nightclub@mini@drinking@drinking_shots@ped_d@normal',
GrabAnimationName = 'pickup',
PickupAnimationDict = 'veh@common@bicycle@ds',
PickupAnimationName = 'pickup',
},
-- if useBone = true, "offsets" field will be ignored; otherwise custom offsets are enabled.
VehicleSettings = {
[`firetruk`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`lafdxt6700`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`engine`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`lafdengine`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`lacofdeng`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`lacofdt3`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`EnforcerEng`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`enforcer`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`enforcerta`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`enforcerf`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`brush`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`brushram`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`firef350`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`bulldog`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`ftanker`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`heavypump`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`heavytank`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`heavywild`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`panther`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`t3engine1`] = {
useBone = false,
driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun.
bones = {
{name = "discharge_1", portId = "attack1" }, -- left attack
{name = "discharge_2", portId = "attack2" }, -- right attack
},
offsets = {
-- Attack Lines (Hoses)
{ x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" },
{ x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" },
-- Supply / Intake (Hand Lines & Relays)
{ x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" },
{ x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" },
},
maxRopes = 2,
},
[`enladder`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.420, y = 0.500, z = -0.020, rx = -25.500, ry = 0.000, rz = 98.250, depth = 0.420, portId = "attack1", type = "hose" }, -- left attack
{ x = 1.340, y = -0.205, z = 0.000, rx = -39.000, ry = 0.000, rz = -94.750, depth = 0.335, type = "hand"},
},
maxRopes = 2,
},
[`britishladder`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.420, y = 0.500, z = -0.020, rx = -25.500, ry = 0.000, rz = 98.250, depth = 0.420, portId = "attack1", type = "hose" }, -- left attack
{ x = 1.340, y = -0.205, z = 0.000, rx = -39.000, ry = 0.000, rz = -94.750, depth = 0.335, type = "hand"},
},
maxRopes = 2,
},
[`britishladderels`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.420, y = 0.500, z = -0.020, rx = -25.500, ry = 0.000, rz = 98.250, depth = 0.420, portId = "attack1", type = "hose" }, -- left attack
{ x = 1.340, y = -0.205, z = 0.000, rx = -39.000, ry = 0.000, rz = -94.750, depth = 0.335, type = "hand"},
},
maxRopes = 2,
},
[`rearmount`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{x = -1.365, y = 0.895, z = -0.165, rx = -11.750, ry = 0.000, rz = 97.500, depth = 0.735, portId = "attack1", type = "hose" },
{x = -1.345, y = 1.095, z = -0.440, rx = -24.750, ry = 0.000, rz = 72.000, depth = 0.670, type = "hand" },
},
maxRopes = 1,
},
[`rearmountels`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{x = -1.365, y = 0.895, z = -0.165, rx = -11.750, ry = 0.000, rz = 97.500, depth = 0.735, portId = "attack1", type = "hose" },
{x = -1.345, y = 1.095, z = -0.440, rx = -24.750, ry = 0.000, rz = 72.000, depth = 0.670, type = "hand" },
},
maxRopes = 1,
},
[`ldfoam`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.285, y = 1.195, z = 0.000, rx = -38.000, ry = 0.000, rz = 92.250, depth = 0.480, portId = "attack1", type = "hose" },
{ x = 1.375, y = 1.160, z = 0.000, rx = -20.500, ry = 0.000, rz = -91.000, depth = 0.550, type = "hand" },
},
maxRopes = 2,
},
[`ldfoamels`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.285, y = 1.195, z = 0.000, rx = -38.000, ry = 0.000, rz = 92.250, depth = 0.480, portId = "attack1", type = "hose" },
{ x = 1.375, y = 1.160, z = 0.000, rx = -20.500, ry = 0.000, rz = -91.000, depth = 0.550,type = "hand" },
},
maxRopes = 2,
},
[`tillertrailer`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.270, y = 0.445, z = 0.170, rx = -29.750, ry = 0.000, rz = 85.500, depth = 0.660, portId = "attack1", type = "hose" },
{ x = 1.395, y = 0.445, z = 0.175, rx = -22.750, ry = 0.000, rz = -83.750, depth = 0.895, type = "hand" },
},
maxRopes = 1,
},
[`tillertrailerels`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.270, y = 0.445, z = 0.170, rx = -29.750, ry = 0.000, rz = 85.500, depth = 0.660, portId = "attack1", type = "hose" },
{ x = 1.395, y = 0.445, z = 0.175, rx = -22.750, ry = 0.000, rz = -83.750, depth = 0.895, type = "hand" },
},
maxRopes = 1,
},
[`firerobot`] = {
useBone = false,
carryHoses = false, -- Disables grabbing hoses from this vehicle.
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = 0.225, y = -1.590, z = 0.510, rx = -11.500, ry = 0.000, rz = 183.500, depth = 0.645, type = "hand"},
},
},
[`midmount`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.235, y = 1.230, z = -0.390, rx = -22.000, ry = 0.000, rz = 89.500, depth = 1.125, portId = "attack1", type = "hose" },
{ x = -1.320, y = 1.370, z = -0.595, rx = -24.250, ry = 0.000, rz = 77.500, depth = 0.860, type = "hand" },
},
maxRopes = 1,
},
[`midmountels`] = {
useBone = false,
bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2"
offsets = {
{ x = -1.235, y = 1.230, z = -0.390, rx = -22.000, ry = 0.000, rz = 89.500, depth = 1.125, portId = "attack1", type = "hose" },
{ x = -1.320, y = 1.370, z = -0.595, rx = -24.250, ry = 0.000, rz = 77.500, depth = 0.860, type = "hand" },
},
maxRopes = 1,
},
},
},
FireExtinguisher = {
PickupRadius = 1.2, -- Radius to pickup the extinguisher
StoreRadius = 1.0, -- Radius to store the extinguisher
DecalLife = 300.0, -- How long the decals stay on the floor.
Models = {
-875057463,
-171327159,
-1980225301,
-666581633,
-1610165324
}
},
Decals = {
InitialPressure = 0.5, -- Starting Pressure
MaxPressure = 1.5, -- Maximum Pressure Possible
LowestPressure = 0.3, -- Minimum Pressure Possible
PressureIncrement = 0.1, -- How much the Pressure goes up / down
DecalLife = 20.0 -- How long the decals stay on the floor.
},
WaterTank = {
minWaterLevel = 1, -- Minimum water level to shoot water
waterDepletionRate = 1, -- Water depletion rate per second when shooting
MaxwaterDepletionRate = 10, -- Maximum water depletion rate -> Highest Pressure Possible will always remove this amount of water
fillRate = 100, -- Rate at which the tank fills up p/second
foamPercentage = 20, -- Reserves foam percentage of the tank capacity
AutoDischarge = {
Enabled = true, -- master switch
WaterRate = 8.0, -- units/sec drained from WATER tank
FoamRate = 8.0, -- units/sec drained from FOAM tank
TickMs = 250, -- drain/FX tick
SyncThreshold = 250.0, -- send sync when changed by >= this amount
SyncMaxAgeMs = 15000, -- or at least every N ms
},
-- Vehicles that you can interact with should go here along with the capacity and if they can carry foam.
-- Example: [`firetruk`] = { capacity = 7000, carryFoam = true|false, fullTank = true|false },
VehicleWaterCapacities = {
[`firetruk`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`lafdxt6700`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`engine`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`lacofdeng`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`lafdengine`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`lacofdfoam`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`fireboat`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`enforcerf`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`enforcereng`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`enforcer`] = { capacity = 7000, carryFoam = true, fullTank = false },
[`heavytank `] = { capacity = 7000, carryFoam = true, fullTank = false },
[`firerobot`] = { capacity = 2000, carryFoam = true, fullTank = false },
}
},
experimentalFeature = {
showAdvancedUI = true,
waterPhysics = false,
}
}