forked from Simnation/Main
Update
Noose Car // Mechanic Car
This commit is contained in:
parent
8703f26ab8
commit
5e2bb05ffb
26 changed files with 2462 additions and 0 deletions
BIN
resources/[tools]/ebu_synergy/.fxap
Normal file
BIN
resources/[tools]/ebu_synergy/.fxap
Normal file
Binary file not shown.
BIN
resources/[tools]/ebu_synergy/client/client.lua
Normal file
BIN
resources/[tools]/ebu_synergy/client/client.lua
Normal file
Binary file not shown.
31
resources/[tools]/ebu_synergy/client/utils.lua
Normal file
31
resources/[tools]/ebu_synergy/client/utils.lua
Normal file
|
@ -0,0 +1,31 @@
|
|||
RegisterKeyMapping('+angleUp1', 'Axis1 +', 'keyboard', 'NUMPAD8')
|
||||
RegisterKeyMapping('+angleDown1', 'Axis1 -', 'keyboard', 'NUMPAD2')
|
||||
RegisterKeyMapping('+angleUp2', 'Axis2 +', 'keyboard', 'NUMPAD4')
|
||||
RegisterKeyMapping('+angleDown2', 'Axis2 -', 'keyboard', 'NUMPAD6')
|
||||
RegisterKeyMapping('+angleUp3', 'Axis3 +', 'keyboard', 'NUMPAD7')
|
||||
RegisterKeyMapping('+angleDown3', 'Axis3 -', 'keyboard', 'NUMPAD9')
|
||||
RegisterKeyMapping('+angleUp4', 'Axis4 +', 'keyboard', 'NUMPAD1')
|
||||
RegisterKeyMapping('+angleDown4', 'Axis4 -', 'keyboard', 'NUMPAD3')
|
||||
RegisterKeyMapping('+angleUp5', 'Axis5 +', 'keyboard', 'NUMPAD0')
|
||||
RegisterKeyMapping('+angleDown5', 'Axis5 -', 'keyboard', 'DECIMAL')
|
||||
RegisterKeyMapping('+blendUp1', 'Blend Axis +', 'keyboard', 'ADD')
|
||||
RegisterKeyMapping('+blendDown1', 'Blend Axis -', 'keyboard', 'SUBTRACT')
|
||||
|
||||
RegisterKeyMapping('+swapSeat', 'Swap seat', 'keyboard', 'DIVIDE')
|
||||
RegisterKeyMapping('+bcspact', 'Special Action', 'keyboard', 'G')
|
||||
|
||||
RegisterKeyMapping('+bcst1', 'Toggle Extra 1', 'keyboard', 'NUMPAD1')
|
||||
RegisterKeyMapping('+bcst2', 'Toggle Extra 2', 'keyboard', 'NUMPAD2')
|
||||
RegisterKeyMapping('+bcst3', 'Toggle Extra 3', 'keyboard', 'NUMPAD3')
|
||||
|
||||
RegisterKeyMapping('+bcstdt', 'Toggle Door', 'keyboard', 'E')
|
||||
--Help Text Messages
|
||||
function message(lineOne, lineTwo, lineThree, duration, loop)
|
||||
BeginTextCommandDisplayHelp("THREESTRINGS")
|
||||
AddTextComponentSubstringPlayerName(lineOne)
|
||||
AddTextComponentSubstringPlayerName(lineTwo or "")
|
||||
AddTextComponentSubstringPlayerName(lineThree or "")
|
||||
|
||||
-- shape (always 0), loop (bool), makeSound (bool), duration (5000 max 5 sec)
|
||||
EndTextCommandDisplayHelp(0, loop, false, duration or 5000)
|
||||
end
|
210
resources/[tools]/ebu_synergy/config.lua
Normal file
210
resources/[tools]/ebu_synergy/config.lua
Normal file
|
@ -0,0 +1,210 @@
|
|||
Config = {}
|
||||
|
||||
-- Bucket Truck
|
||||
Config.BucketDict = 'anim@amb@yacht@rail@standing@female@variant_01@'
|
||||
Config.Bucketanim = 'idle_b'
|
||||
|
||||
Config.BucketDict2 = 'anim@amb@business@weed@weed_inspecting_lo_med_hi@'
|
||||
Config.Bucketanim2 = 'weed_stand_checkingleaves_idle_05_inspector'
|
||||
|
||||
Config.BucketDict3 = 'anim@amb@yacht@rail@standing@female@variant_01@'
|
||||
Config.Bucketanim3 = 'idle_b'
|
||||
|
||||
--Asphalt Paver
|
||||
Config.APParticleHopper = {
|
||||
dict = 'core',
|
||||
effect = 'ent_amb_generator_smoke',
|
||||
bone = 'misc_s',
|
||||
effectScale = 1.5,
|
||||
effectAlpha = 0.9,
|
||||
effectId = nil,
|
||||
requireSpeed = false,
|
||||
effectRot = vector3(-95.0, 0.0, 45.0)
|
||||
}
|
||||
|
||||
Config.APParticleMoving = {
|
||||
dict = 'core',
|
||||
effect = 'ent_amb_generator_smoke',
|
||||
bone = 'misc_t',
|
||||
effectScale = 2.0,
|
||||
effectAlpha = 0.9,
|
||||
effectId = nil,
|
||||
requireSpeed = true,
|
||||
effectRot = vector3(0.0, 0.0, 0.0)
|
||||
}
|
||||
|
||||
--627 Scraper
|
||||
Config.bc627Particle = {
|
||||
dict = 'cut_finale1',
|
||||
effect = 'wheel_fric_dirt_dry',
|
||||
bone = 'chassis',
|
||||
effectScale = 4.0,
|
||||
effectAlpha = 0.9,
|
||||
effectId = nil,
|
||||
requireSpeed = true,
|
||||
effectRot = vector3(0.0, 0.0, 0.0)
|
||||
}
|
||||
|
||||
Config[`bcf750tma`] = {
|
||||
[1] = {
|
||||
control = '~INPUT_CDBBC4F9~ Toggle Right',
|
||||
extra = 1
|
||||
},
|
||||
[2] = {
|
||||
control = '~INPUT_BB75206C~ Toggle Left',
|
||||
extra = 2
|
||||
},
|
||||
[3] = {
|
||||
control = '~INPUT_A5AD74DD~ Toggle Both',
|
||||
extra = 3
|
||||
},
|
||||
['door'] = '~INPUT_EBBAE6BE~ Toggle Door'
|
||||
}
|
||||
|
||||
Config[`bcscorpion`] = {
|
||||
[1] = {
|
||||
control = '~INPUT_CDBBC4F9~ Toggle Right',
|
||||
extra = 1
|
||||
},
|
||||
[2] = {
|
||||
control = '~INPUT_BB75206C~ Toggle Left',
|
||||
extra = 2
|
||||
},
|
||||
[3] = {
|
||||
control = '~INPUT_A5AD74DD~ Toggle Both',
|
||||
extra = 3
|
||||
},
|
||||
['door'] = '~INPUT_EBBAE6BE~ Toggle Sign'
|
||||
}
|
||||
|
||||
Config[`bcscorpionc`] = {
|
||||
[1] = {
|
||||
control = '~INPUT_CDBBC4F9~ Toggle Right',
|
||||
extra = 1
|
||||
},
|
||||
[2] = {
|
||||
control = '~INPUT_BB75206C~ Toggle Left',
|
||||
extra = 2
|
||||
},
|
||||
[3] = {
|
||||
control = '~INPUT_A5AD74DD~ Toggle Both',
|
||||
extra = 3
|
||||
},
|
||||
['door'] = '~INPUT_EBBAE6BE~ Toggle Sign'
|
||||
}
|
||||
|
||||
Config[`bc950mf`] = {
|
||||
ForkAttDistObj = 3.5, --Attach check distance for objects
|
||||
ForkAttDistCar = 4.5, --Attach check distance for cars
|
||||
|
||||
--Use the below tables to limit what the vehicle can pick up with forks. Use ` symbol instead of ' or " otherwise it will not work.
|
||||
--Leave empty to allow it to pick up anything in the category
|
||||
WhitelistCars = {
|
||||
--`reaper`,
|
||||
--`buffalo`
|
||||
|
||||
},
|
||||
WhitelistObjects = {
|
||||
--`prop_rub_carwreck_9`,
|
||||
--`prop_rub_carwreck_8`,
|
||||
--`prop_rub_carwreck_7`
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Config[`bct590f`] = {
|
||||
ForkAttDistObj = 3.5, --Attach check distance for objects
|
||||
ForkAttDistCar = 4.5, --Attach check distance for cars
|
||||
|
||||
--Use the below tables to limit what the vehicle can pick up with forks. Use ` symbol instead of ' or " otherwise it will not work.
|
||||
--Leave empty to allow it to pick up anything in the category
|
||||
WhitelistCars = {
|
||||
--`reaper`,
|
||||
--`buffalo`
|
||||
|
||||
},
|
||||
WhitelistObjects = {
|
||||
--`prop_rub_carwreck_9`,
|
||||
--`prop_rub_carwreck_8`,
|
||||
--`prop_rub_carwreck_7`
|
||||
|
||||
}
|
||||
}
|
||||
Config[`bcbrutetele`] = {
|
||||
ForkAttDistObj = 3.5, --Attach check distance for objects
|
||||
ForkAttDistCar = 4.5, --Attach check distance for cars
|
||||
|
||||
--Use the below tables to limit what the vehicle can pick up with forks. Use ` symbol instead of ' or " otherwise it will not work.
|
||||
--Leave empty to allow it to pick up anything in the category
|
||||
WhitelistCars = {
|
||||
--`reaper`,
|
||||
--`buffalo`
|
||||
|
||||
},
|
||||
WhitelistObjects = {
|
||||
--`prop_rub_carwreck_9`,
|
||||
--`prop_rub_carwreck_8`,
|
||||
--`prop_rub_carwreck_7`
|
||||
|
||||
}
|
||||
}
|
||||
Config[`forklift`] = {
|
||||
ForkAttDistObj = 2.5, --Attach check distance for objects
|
||||
ForkAttDistCar = 1.5, --Attach check distance for cars
|
||||
|
||||
--Use the below tables to limit what the vehicle can pick up with forks. Use ` symbol instead of ' or " otherwise it will not work.
|
||||
--Leave empty to allow it to pick up anything in the category
|
||||
WhitelistCars = {
|
||||
--`reaper`,
|
||||
--`buffalo`
|
||||
|
||||
},
|
||||
WhitelistObjects = {
|
||||
--`prop_rub_carwreck_9`,
|
||||
--`prop_rub_carwreck_8`,
|
||||
--`prop_rub_carwreck_7`
|
||||
|
||||
}
|
||||
}
|
||||
Config[`bcbrutemh`] = {
|
||||
ForkAttDistObj = 3.5, --Attach check distance for objects
|
||||
ForkAttDistCar = 4.5, --Attach check distance for cars
|
||||
|
||||
--Use the below tables to limit what the vehicle can pick up with forks. Use symbol instead of ' or " otherwise it will not work.
|
||||
--Leave empty to allow it to pick up anything in the category
|
||||
WhitelistCars = {
|
||||
--reaper,
|
||||
--buffalo
|
||||
|
||||
},
|
||||
WhitelistObjects = {
|
||||
--prop_rub_carwreck_9,
|
||||
--prop_rub_carwreck_8,
|
||||
--prop_rub_carwreck_7`
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
--========Markers & Prompts=======--
|
||||
--Increases tick rate from 0.01 to 0.08 - 0.1 when in range
|
||||
Config.MarkerDistance = 5.0 -- Distance from point to see marker
|
||||
Config.WaitTimer = 3000 -- Update rate to check for nearby trailer seconds * 1000 (Default 3000)
|
||||
Config.ShowMarkers = true -- Display markers at interaction points
|
||||
Config.ShowHelp = true -- Display help prompts
|
||||
Config.MessageDistance = 2.0 -- Distance from point to display message (Default 2.0)
|
||||
Config.Marker = {
|
||||
type = 1, -- marker shape: https://docs.fivem.net/docs/game-references/markers/ (Default 27)
|
||||
|
||||
Size = 1.0, -- marker size (Default 2.0)
|
||||
|
||||
Color = { -- RGBA color
|
||||
red = 100,
|
||||
green = 200,
|
||||
blue = 200,
|
||||
alpha = 150
|
||||
},
|
||||
heightOffset = 0.0, -- Height from ground for marker. Marker at ground Z (Default 0.0)
|
||||
Bob = false, -- Marker bobbing up and down (Default false)
|
||||
faceCamera = false, -- Marker always faces camera (Default false)
|
||||
rotate = false -- Marker rotates (Default false)
|
||||
}
|
23
resources/[tools]/ebu_synergy/fxmanifest.lua
Normal file
23
resources/[tools]/ebu_synergy/fxmanifest.lua
Normal file
|
@ -0,0 +1,23 @@
|
|||
fx_version 'adamant'
|
||||
game 'gta5'
|
||||
|
||||
description 'Synergy System'
|
||||
author 'Theebu & bagged'
|
||||
version '0.2.3'
|
||||
lua54 'yes'
|
||||
|
||||
escrow_ignore {
|
||||
'config.lua',
|
||||
'client/utils.lua'
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'config.lua',
|
||||
'client/utils.lua',
|
||||
'client/client.lua',
|
||||
}
|
||||
|
||||
server_scripts {
|
||||
'server/server.lua'
|
||||
}
|
||||
dependency '/assetpacks'
|
BIN
resources/[tools]/ebu_synergy/server/server.lua
Normal file
BIN
resources/[tools]/ebu_synergy/server/server.lua
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue