diff --git a/resources/ccso4/__resource.lua b/resources/ccso4/__resource.lua new file mode 100644 index 000000000..97aac3e8b --- /dev/null +++ b/resources/ccso4/__resource.lua @@ -0,0 +1,14 @@ +resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' + +files { + 'data/vehicles.meta', + 'data/carcols.meta', + 'data/carvariations.meta', + 'data/handling.meta', +} + +data_file 'HANDLING_FILE' 'handling.meta' +data_file 'VEHICLE_METADATA_FILE' 'data/vehicles.meta' +data_file 'CARCOLS_FILE' 'data/carcols.meta' +data_file 'VEHICLE_VARIATION_FILE' 'data/carvariations.meta' + diff --git a/resources/ccso4/caraddoncontentunlocks.meta b/resources/ccso4/caraddoncontentunlocks.meta new file mode 100644 index 000000000..4b68b9278 --- /dev/null +++ b/resources/ccso4/caraddoncontentunlocks.meta @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/resources/ccso4/carcols.meta b/resources/ccso4/carcols.meta new file mode 100644 index 000000000..ce0856705 --- /dev/null +++ b/resources/ccso4/carcols.meta @@ -0,0 +1,1252 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VehicleLight_car_utility + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 18charger + + + + + + ccso4 + + + + + + + VehicleLight_sirenlight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/ccso4/carvariations.meta b/resources/ccso4/carvariations.meta new file mode 100644 index 000000000..bd756c49c --- /dev/null +++ b/resources/ccso4/carvariations.meta @@ -0,0 +1,38 @@ + + + + + + ccso4 + + + + 0 + 0 + 0 + 0 + 28 + 0 + + + + + + + + 0_default_modkit + + + + + + Police guv plate + + + + + + + + + \ No newline at end of file diff --git a/resources/ccso4/dlctext.meta b/resources/ccso4/dlctext.meta new file mode 100644 index 000000000..22bb4c390 --- /dev/null +++ b/resources/ccso4/dlctext.meta @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/resources/ccso4/handling.meta b/resources/ccso4/handling.meta new file mode 100644 index 000000000..7582616c3 --- /dev/null +++ b/resources/ccso4/handling.meta @@ -0,0 +1,67 @@ + + + + + + CCSO4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 440010 + 0 + 0 + AVERAGE + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/ccso4/stream/ccso4+hi.ytd b/resources/ccso4/stream/ccso4+hi.ytd new file mode 100644 index 000000000..8a28cadbf --- /dev/null +++ b/resources/ccso4/stream/ccso4+hi.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c8c23202c6f11b600054b3218281e02c1383f163b3b7f65915259e61ca60c55 +size 3477725 diff --git a/resources/ccso4/stream/ccso4.yft b/resources/ccso4/stream/ccso4.yft new file mode 100644 index 000000000..3e6b11112 --- /dev/null +++ b/resources/ccso4/stream/ccso4.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa8b104a792faa9b005e5d49d4b48c946e8f633adca6d038dcbe87923011e6d1 +size 3464024 diff --git a/resources/ccso4/stream/ccso4.ytd b/resources/ccso4/stream/ccso4.ytd new file mode 100644 index 000000000..6d676b418 --- /dev/null +++ b/resources/ccso4/stream/ccso4.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c700205ce36702037277f8be908a8964a3a7db9b011341ff20dc5323bbfbf392 +size 4646925 diff --git a/resources/ccso4/stream/ccso4_hi.yft b/resources/ccso4/stream/ccso4_hi.yft new file mode 100644 index 000000000..3240bffc0 --- /dev/null +++ b/resources/ccso4/stream/ccso4_hi.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd850a1b64a48c047f4ac680270414181d56e673b6e6a5b6bae37eceebc1c4f9 +size 6135642 diff --git a/resources/ccso4/ulc.lua b/resources/ccso4/ulc.lua new file mode 100644 index 000000000..fe48a6b2a --- /dev/null +++ b/resources/ccso4/ulc.lua @@ -0,0 +1,60 @@ + +--[[ + Ultimate Lighting Controller Config + the ULC resource is required to use this configuration + get the resource here: https://github.com/Flohhhhh/ultimate-lighting-controller/releases/latest + To learn how to setup and use ULC visit here: https://docs.dwnstr.com/ulc/overview +]] + +return {names = {"ccso4"}, + steadyBurnConfig = { + forceOn = false, useTime = false, + disableWithLights = false, + sbExtras = {} + }, + parkConfig = { + usePark = tryee, + useSync = true, + syncWith = {{"e350vanb", "e450ambo", "ccso4", "615", "376", "gpd7", "640", "128", "704", "st23tahoe", "24sub", "24ramambo", "23sierrafire", "23gmcleoslick", "23gmcleo", "ccso1", "gpdchief1" },}, + pExtras = {10}, + dExtras = {11} + }, + hornConfig = { + useHorn = true, + hornExtras = {10}, + disableExtras = {11} + }, + brakeConfig = { + useBrakes = true, + speedThreshold = 3, + brakeExtras = {}, + disableExtras = {} + }, + reverseConfig = { + useReverse = false, + reverseExtras = {}, + disableExtras = {} + }, + doorConfig = { + useDoors = false, + driverSide = {enable = {}, disable = {}}, + passSide = {enable = {}, disable = {}}, + trunk = {enable ={}, disable = {}} + }, + buttons = { + {label = "Front ", key = 1, color = "green", extra = 1, linkedExtras = {2}, oppositeExtras = {}, offExtras = {6}, repair = false}, + {label = "Front White", key = 2, color = "green", extra = 3, linkedExtras = {}, oppositeExtras = {}, offExtras = {6}, repair = false}, + {label = "Rear", key = 3, color = "green", extra = 4, linkedExtras = {}, oppositeExtras = {}, offExtras = {6}, repair = false}, + {label = "Takedown", key = 4, color = "green", extra = 5, linkedExtras = {}, oppositeExtras = {}, offExtras = {2,3}, repair = false}, + {label = "Cruise", key = 5, color = "green", extra = 6, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false} + }, + stages = { + useStages = false, + stageKeys = {}, + }, + defaultStages = { + useDefaults = false, + enableKeys = {}, + disableKeys = {} + } +} \ No newline at end of file diff --git a/resources/ccso4/vehicles.meta b/resources/ccso4/vehicles.meta new file mode 100644 index 000000000..86ce20eff --- /dev/null +++ b/resources/ccso4/vehicles.meta @@ -0,0 +1,138 @@ + + + vehshare + + + + ccso4 + ccso4 + CCSO4 + FEDSIG + 18DODGE + null + null + null + null + + null + lg81hcredeye + LAYOUT_STANDARD + BUFFALO_COVER_OFFSET_INFO + EXPLOSION_INFO_DEFAULT + + DEFAULT_FOLLOW_VEHICLE_CAMERA + BOX_VEHICLE_AIM_CAMERA + VEHICLE_BONNET_CAMERA_STANDARD + DEFAULT_POV_CAMERA_LOOKAROUND + + + + + + + + + + + + + + + + + + + + + + + + + + + + VFXVEHICLEINFO_CAR_GENERIC + + + + + + + + + + + + + + + + + + + + + + 15.000000 + 30.000000 + 70.000000 + 140.000000 + 500.000000 + 500.000000 + + + + + + + + + + + SWANKNESS_1 + + FLAG_USE_INTERIOR_RED_LIGHT FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_LIVERY + VEHICLE_TYPE_CAR + VPT_FRONT_AND_BACK_PLATES + VDT_RACE + VC_EMERGENCY + VWT_SPORT + + + + + + + + + + + + WHEEL_FRONT_RIGHT_CAMERA + WHEEL_FRONT_LEFT_CAMERA + WHEEL_REAR_RIGHT_CAMERA + WHEEL_REAR_LEFT_CAMERA + + + + + + + STD_POLICE3_FRONT_LEFT + STD_POLICE3_FRONT_RIGHT + STD_POLICE2_REAR_LEFT + STD_POLICE2_REAR_RIGHT + + + + + + vehicles_race_interior + vehicles_race_generic + + + vehicles_race_generic + 18charger + + + \ No newline at end of file diff --git a/resources/e350vanb/.fxap b/resources/e350vanb/.fxap new file mode 100644 index 000000000..48d048d3c Binary files /dev/null and b/resources/e350vanb/.fxap differ diff --git a/resources/e350vanb/Templates/e350_sign_1.png b/resources/e350vanb/Templates/e350_sign_1.png new file mode 100644 index 000000000..a9d0bab2b Binary files /dev/null and b/resources/e350vanb/Templates/e350_sign_1.png differ diff --git a/resources/e350vanb/Templates/window_temp.png b/resources/e350vanb/Templates/window_temp.png new file mode 100644 index 000000000..91f34a851 Binary files /dev/null and b/resources/e350vanb/Templates/window_temp.png differ diff --git a/resources/e350vanb/__resource.lua b/resources/e350vanb/__resource.lua new file mode 100644 index 000000000..fdc8dfb3a --- /dev/null +++ b/resources/e350vanb/__resource.lua @@ -0,0 +1,17 @@ +resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' + +-- Leaked By: Leaking Hub | Joshua Y. | https://discord.gg/aXWXXst + +files { + 'vehicles.meta', + 'carvariations.meta', + 'carcols.meta', + 'handling.meta', + 'vehiclelayouts.meta', +} + +data_file 'HANDLING_FILE' 'handling.meta' +data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta' +data_file 'CARCOLS_FILE' 'carcols.meta' +data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta' +data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta' diff --git a/resources/e350vanb/carcols.meta b/resources/e350vanb/carcols.meta new file mode 100644 index 000000000..83bd6f1a4 --- /dev/null +++ b/resources/e350vanb/carcols.meta @@ -0,0 +1,1188 @@ + + + + + + e350vanb + + + + + + + VehicleLight_sirenlight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/e350vanb/carvariations.meta b/resources/e350vanb/carvariations.meta new file mode 100644 index 000000000..c32ed4e8d --- /dev/null +++ b/resources/e350vanb/carvariations.meta @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + e350vanb + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 0_default_modkit + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/e350vanb/handling.meta b/resources/e350vanb/handling.meta new file mode 100644 index 000000000..98ca045a5 --- /dev/null +++ b/resources/e350vanb/handling.meta @@ -0,0 +1,67 @@ + + + + + + e350vanb + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 440010 + 0 + 0 + AVERAGE + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/e350vanb/stream/e350vanb.yft b/resources/e350vanb/stream/e350vanb.yft new file mode 100644 index 000000000..927ce526f --- /dev/null +++ b/resources/e350vanb/stream/e350vanb.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f3a6443b4d298b16c3852aafde1504ee67737daf2b88ba17ab814fa8bb07ab2 +size 8270507 diff --git a/resources/e350vanb/stream/e350vanb.ytd b/resources/e350vanb/stream/e350vanb.ytd new file mode 100644 index 000000000..44ec0dd5b --- /dev/null +++ b/resources/e350vanb/stream/e350vanb.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de75c55c943af665e3e938f634a3c998209aac670b7dd0b31edc08f87181fd7d +size 7133792 diff --git a/resources/e350vanb/stream/e350vanb_hi.yft b/resources/e350vanb/stream/e350vanb_hi.yft new file mode 100644 index 000000000..443b2b2d3 --- /dev/null +++ b/resources/e350vanb/stream/e350vanb_hi.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfe274786c35da7b576b9615fd7d09557f8cf1d2a96f56d8c694be073cd170e4 +size 8270423 diff --git a/resources/e350vanb/ulc.lua b/resources/e350vanb/ulc.lua new file mode 100644 index 000000000..c6ca90c30 --- /dev/null +++ b/resources/e350vanb/ulc.lua @@ -0,0 +1,56 @@ + +--[[ + Ultimate Lighting Controller Config + the ULC resource is required to use this configuration + get the resource here: https://github.com/Flohhhhh/ultimate-lighting-controller/releases/latest + To learn how to setup and use ULC visit here: https://docs.dwnstr.com/ulc/overview +]] + +return {names = {"e350vanb"}, + steadyBurnConfig = { + forceOn = false, useTime = false, + disableWithLights = false, + sbExtras = {} + }, + parkConfig = { + usePark = true, + useSync = true, + syncWith = {"e350vanb", "e450ambo", "ccso4", "615", "376", "gpd7", "640", "128", "704", "st23tahoe", "24sub", "24ramambo", "23sierrafire", "23gmcleoslick", "23gmcleo", "ccso1", "gpdchief1" }, + pExtras = {10}, + dExtras = {11} + }, + hornConfig = { + useHorn = false, + hornExtras = {}, + }, + brakeConfig = { + useBrakes = false, + speedThreshold = 3, + brakeExtras = {}, + disableExtras = {} + }, + reverseConfig = { + useReverse = false, + reverseExtras = {} + }, + doorConfig = { + useDoors = false, + driverSide = {enable = {}, disable = {}}, + passSide = {enable = {}, disable = {}}, + trunk = {enable ={}, disable = {}} + }, + buttons = { + {label = "Stage 1", key = 1, color = "red", extra = 2, linkedExtras = {2}, oppositeExtras = {}, offExtras = {1}, repair = false}, + {label = "Stage 2", key = 2, color = "red", extra = 1, linkedExtras = {1}, oppositeExtras = {}, offExtras = {2}, repair = false}, + {label = "Cruise", key = 3, color = "red", extra = 3, linkedExtras = {3}, oppositeExtras = {}, offExtras = {2,1,4,5,6}, repair = false}, + {label = "TKDN", key = 4, color = "red", extra = 4, linkedExtras = {4}, oppositeExtras = {}, offExtras = {3,2,1,5,6}, repair = false}, + {label = "<-", key = 5, color = "amber", extra = 5, linkedExtras = {5}, oppositeExtras = {}, offExtras = {6}, repair = false}, + {label = "->", key = 6, color = "amber", extra = 6, linkedExtras = {6}, oppositeExtras = {}, offExtras = {5}, repair = false} + + }, + defaultStages = { + useDefaults = false, + enableKeys = {}, + disableKeys = {} + } +} \ No newline at end of file diff --git a/resources/e350vanb/vehicles.meta b/resources/e350vanb/vehicles.meta new file mode 100644 index 000000000..42e66d9ad --- /dev/null +++ b/resources/e350vanb/vehicles.meta @@ -0,0 +1,134 @@ + + + vehshare + + + + e350vanb + e350vanb + e350vanb + Chevrolet + express + null + null + null + null + + null + RUMPO + LAYOUT_VAN + YOUGA2_COVER_OFFSET_INFO + EXPLOSION_INFO_DEFAULT + + DEFAULT_FOLLOW_VEHICLE_CAMERA + DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA + VEHICLE_BONNET_CAMERA_LOW + DEFAULT_POV_CAMERA_LOOKAROUND_MID + + + + + + + + + + + + + + + + + + + + + + + + + + + + VFXVEHICLEINFO_CAR_GENERIC + + + + + + + + + + + + + + + + + + + + + + 20.000000 + 40.000000 + 90.000000 + 180.000000 + 750.000000 + 750.000000 + + + + + + + + + + + SWANKNESS_1 + + FLAG_DONT_SPAWN_IN_CARGEN FLAG_LAW_ENFORCEMENT FLAG_HAS_LIVERY FLAG_BIG FLAG_CAN_HONK_WHEN_FLEEING FLAG_AVOID_TURNS FLAG_EXTRAS_REQUIRE FLAG_PEDS_CAN_STAND_ON_TOP FLAG_USE_FAT_INTERIOR_LIGHT FLAG_IS_BULKY FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_CANNOT_TAKE_COVER_WHEN_STOOD_ON FLAG_EXTRAS_ONLY_BREAK_WHEN_DESTROYED + VEHICLE_TYPE_CAR + VPT_FRONT_AND_BACK_PLATES + VDT_ZTYPE + VC_EMERGENCY + VWT_MUSCLE + + + + + + + + + + + + WHEEL_FRONT_RIGHT_CAMERA + WHEEL_FRONT_LEFT_CAMERA + WHEEL_REAR_RIGHT_CAMERA + WHEEL_REAR_LEFT_CAMERA + + + + + + + VAN_YOUGA2_FRONT_LEFT + VAN_YOUGA2_FRONT_RIGHT + VAN_YOUGA2_REAR_LEFT + VAN_YOUGA2_REAR_RIGHT + + + + + + vehicles_bob_brown_interior + e350pas + + + \ No newline at end of file diff --git a/resources/e450ambo/.fxap b/resources/e450ambo/.fxap new file mode 100644 index 000000000..18a82928b Binary files /dev/null and b/resources/e450ambo/.fxap differ diff --git a/resources/e450ambo/Templates/e450_sign_1.png b/resources/e450ambo/Templates/e450_sign_1.png new file mode 100644 index 000000000..cacb8fdcb Binary files /dev/null and b/resources/e450ambo/Templates/e450_sign_1.png differ diff --git a/resources/e450ambo/Templates/e450_windtempl.png b/resources/e450ambo/Templates/e450_windtempl.png new file mode 100644 index 000000000..78b628922 Binary files /dev/null and b/resources/e450ambo/Templates/e450_windtempl.png differ diff --git a/resources/e450ambo/Templates/regulartint.png b/resources/e450ambo/Templates/regulartint.png new file mode 100644 index 000000000..9283bae67 Binary files /dev/null and b/resources/e450ambo/Templates/regulartint.png differ diff --git a/resources/e450ambo/carcols.meta b/resources/e450ambo/carcols.meta new file mode 100644 index 000000000..3f3bde056 --- /dev/null +++ b/resources/e450ambo/carcols.meta @@ -0,0 +1,1188 @@ + + + + + + e450ambo + + + + + + + VehicleLight_sirenlight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/e450ambo/carvariations.meta b/resources/e450ambo/carvariations.meta new file mode 100644 index 000000000..4be9f8545 --- /dev/null +++ b/resources/e450ambo/carvariations.meta @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + e450ambo + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 134 + 134 + 0 + 0 + + + + + + + + + + + + + + + 0_default_modkit + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/e450ambo/fxmanifest.lua b/resources/e450ambo/fxmanifest.lua new file mode 100644 index 000000000..2559e109b --- /dev/null +++ b/resources/e450ambo/fxmanifest.lua @@ -0,0 +1,25 @@ +fx_version 'cerulean' + +game 'gta5' + +description 'Car Packs' + +files { + 'data/**/vehicles.meta', + 'data/**/carcols.meta', + 'data/**/carvariations.meta', + 'data/**/handling.meta', + 'data/**/vehiclelayouts.meta', + 'data/**/dlctext.meta', +} + + +data_file 'handling_file' 'data/**/*handling.meta' +data_file 'vehicle_metadata_file' 'data/**/*vehicles.meta' +data_file 'dlctext_file' 'data/**/*dlctext.meta' +data_file 'carcols_file' 'data/**/*carcols.meta' +data_file 'vehicle_variation_file' 'data/**/*carvariations.meta' +data_file 'vehicle_layouts_file' 'data/**/*vehicleslayouts.meta' + + +dependency '/assetpacks' \ No newline at end of file diff --git a/resources/e450ambo/handling.meta b/resources/e450ambo/handling.meta new file mode 100644 index 000000000..f8027c82a --- /dev/null +++ b/resources/e450ambo/handling.meta @@ -0,0 +1,67 @@ + + + + + + e450ambo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 440010 + 0 + 0 + AVERAGE + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/e450ambo/stream/e450ambo+hi.ytd b/resources/e450ambo/stream/e450ambo+hi.ytd new file mode 100644 index 000000000..539062863 --- /dev/null +++ b/resources/e450ambo/stream/e450ambo+hi.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:970f44ee884d1d6798f166a869423cfeb28b27996071fd489530b1938b7bd127 +size 4227300 diff --git a/resources/e450ambo/stream/e450ambo.yft b/resources/e450ambo/stream/e450ambo.yft new file mode 100644 index 000000000..331070ba3 --- /dev/null +++ b/resources/e450ambo/stream/e450ambo.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c556adc212fe1658e590d863a6ece12791443ced878bce84e89e5226c827045 +size 12373809 diff --git a/resources/e450ambo/stream/e450ambo.ytd b/resources/e450ambo/stream/e450ambo.ytd new file mode 100644 index 000000000..d5d3854f2 --- /dev/null +++ b/resources/e450ambo/stream/e450ambo.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff93c8da63df5aa593f9488c7349faf97c6284d99b82f5ad09899ec2bbeec561 +size 4698009 diff --git a/resources/e450ambo/stream/e450ambo_hi.yft b/resources/e450ambo/stream/e450ambo_hi.yft new file mode 100644 index 000000000..02911530a --- /dev/null +++ b/resources/e450ambo/stream/e450ambo_hi.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61f4a65027028e9dba9b11cc3b92a882038d9b2036e8af1f47f1e1096b32998a +size 12373778 diff --git a/resources/e450ambo/ulc.lua b/resources/e450ambo/ulc.lua new file mode 100644 index 000000000..fe48a6b2a --- /dev/null +++ b/resources/e450ambo/ulc.lua @@ -0,0 +1,60 @@ + +--[[ + Ultimate Lighting Controller Config + the ULC resource is required to use this configuration + get the resource here: https://github.com/Flohhhhh/ultimate-lighting-controller/releases/latest + To learn how to setup and use ULC visit here: https://docs.dwnstr.com/ulc/overview +]] + +return {names = {"ccso4"}, + steadyBurnConfig = { + forceOn = false, useTime = false, + disableWithLights = false, + sbExtras = {} + }, + parkConfig = { + usePark = tryee, + useSync = true, + syncWith = {{"e350vanb", "e450ambo", "ccso4", "615", "376", "gpd7", "640", "128", "704", "st23tahoe", "24sub", "24ramambo", "23sierrafire", "23gmcleoslick", "23gmcleo", "ccso1", "gpdchief1" },}, + pExtras = {10}, + dExtras = {11} + }, + hornConfig = { + useHorn = true, + hornExtras = {10}, + disableExtras = {11} + }, + brakeConfig = { + useBrakes = true, + speedThreshold = 3, + brakeExtras = {}, + disableExtras = {} + }, + reverseConfig = { + useReverse = false, + reverseExtras = {}, + disableExtras = {} + }, + doorConfig = { + useDoors = false, + driverSide = {enable = {}, disable = {}}, + passSide = {enable = {}, disable = {}}, + trunk = {enable ={}, disable = {}} + }, + buttons = { + {label = "Front ", key = 1, color = "green", extra = 1, linkedExtras = {2}, oppositeExtras = {}, offExtras = {6}, repair = false}, + {label = "Front White", key = 2, color = "green", extra = 3, linkedExtras = {}, oppositeExtras = {}, offExtras = {6}, repair = false}, + {label = "Rear", key = 3, color = "green", extra = 4, linkedExtras = {}, oppositeExtras = {}, offExtras = {6}, repair = false}, + {label = "Takedown", key = 4, color = "green", extra = 5, linkedExtras = {}, oppositeExtras = {}, offExtras = {2,3}, repair = false}, + {label = "Cruise", key = 5, color = "green", extra = 6, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false} + }, + stages = { + useStages = false, + stageKeys = {}, + }, + defaultStages = { + useDefaults = false, + enableKeys = {}, + disableKeys = {} + } +} \ No newline at end of file diff --git a/resources/e450ambo/vehicles.meta b/resources/e450ambo/vehicles.meta new file mode 100644 index 000000000..582cdf3b1 --- /dev/null +++ b/resources/e450ambo/vehicles.meta @@ -0,0 +1,134 @@ + + + vehshare + + + + e450ambo + e450ambo + e450ambo + Chevrolet + e450ambo + null + null + null + null + + null + CAMPER + LAYOUT_VAN + YOUGA2_COVER_OFFSET_INFO + EXPLOSION_INFO_DEFAULT + + DEFAULT_FOLLOW_VEHICLE_CAMERA + DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA + VEHICLE_BONNET_CAMERA_LOW + DEFAULT_POV_CAMERA_LOOKAROUND_MID + + + + + + + + + + + + + + + + + + + + + + + + + + + + VFXVEHICLEINFO_CAR_GENERIC + + + + + + + + + + + + + + + + + + + + + + 20.000000 + 40.000000 + 90.000000 + 180.000000 + 750.000000 + 750.000000 + + + + + + + + + + + SWANKNESS_1 + + FLAG_DONT_SPAWN_IN_CARGEN FLAG_LAW_ENFORCEMENT FLAG_HAS_LIVERY FLAG_BIG FLAG_CAN_HONK_WHEN_FLEEING FLAG_AVOID_TURNS FLAG_EXTRAS_REQUIRE FLAG_PEDS_CAN_STAND_ON_TOP FLAG_USE_FAT_INTERIOR_LIGHT FLAG_IS_BULKY FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_CANNOT_TAKE_COVER_WHEN_STOOD_ON FLAG_EXTRAS_ONLY_BREAK_WHEN_DESTROYED + VEHICLE_TYPE_CAR + VPT_FRONT_AND_BACK_PLATES + VDT_ZTYPE + VC_EMERGENCY + VWT_MUSCLE + + + + + + + + + + + + WHEEL_FRONT_RIGHT_CAMERA + WHEEL_FRONT_LEFT_CAMERA + WHEEL_REAR_RIGHT_CAMERA + WHEEL_REAR_LEFT_CAMERA + + + + + + + VAN_YOUGA2_FRONT_LEFT + VAN_YOUGA2_FRONT_RIGHT + VAN_YOUGA2_REAR_LEFT + VAN_YOUGA2_REAR_RIGHT + + + + + + vehicles_bob_brown_interior + e350chdl + + + \ No newline at end of file diff --git a/resources/tiller/.fxap b/resources/tiller/.fxap new file mode 100644 index 000000000..7129f112b Binary files /dev/null and b/resources/tiller/.fxap differ diff --git a/resources/tiller/Documentation.url b/resources/tiller/Documentation.url new file mode 100644 index 000000000..80fe48e05 --- /dev/null +++ b/resources/tiller/Documentation.url @@ -0,0 +1,5 @@ +[{000214A0-0000-0000-C000-000000000046}] +Prop3=19,11 +[InternetShortcut] +IDList= +URL=https://docs.londonstudios.net/ diff --git a/resources/tiller/cab-data/carcols.meta b/resources/tiller/cab-data/carcols.meta new file mode 100644 index 000000000..a738725de --- /dev/null +++ b/resources/tiller/cab-data/carcols.meta @@ -0,0 +1,779 @@ + + + + + + + + + tiller + + + + + + + VehicleLight_sirenlight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/tiller/cab-data/carvariations.meta b/resources/tiller/cab-data/carvariations.meta new file mode 100644 index 000000000..170baf198 --- /dev/null +++ b/resources/tiller/cab-data/carvariations.meta @@ -0,0 +1,62 @@ + + + + + tiller + + + + 0 + 134 + 0 + 64 + 64 + 64 + 64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0_default_modkit + + + + + + Police guv plate + + + + + + + + + \ No newline at end of file diff --git a/resources/tiller/cab-data/vehicles.meta b/resources/tiller/cab-data/vehicles.meta new file mode 100644 index 000000000..a7b482d1f --- /dev/null +++ b/resources/tiller/cab-data/vehicles.meta @@ -0,0 +1,156 @@ + + + vehshare + + + + tiller + tiller + FIRETRUK + TILLER + + null + null + null + null + + null + kc129powerstroke60 + LAYOUT_TRUCK_BIFF + SHERIFF_COVER_OFFSET_INFO + EXPLOSION_INFO_DEFAULT + + DEFAULT_FOLLOW_VEHICLE_CAMERA + DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA + VEHICLE_BONNET_CAMERA_MID_HIGH + DEFAULT_POV_CAMERA + + + + + + + + + + + + + + + + + + + + + + + + + + + + VFXVEHICLEINFO_CAR_GENERIC + + + + + + + + + + + + + + + + + + + + + + 500.000000 + 500.000000 + 500.000000 + 500.000000 + 500.000000 + 500.000000 + + + + + + + + + + + SWANKNESS_1 + + FLAG_HAS_LIVERY FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_INTERIOR_EXTRAS + VEHICLE_TYPE_CAR + VPT_FRONT_AND_BACK_PLATES + VDT_GENTAXI + VC_EMERGENCY + VWT_MUSCLE + + docktrailer + trailers + trailers2 + trailers3 + tanker + tillertrailer + usartrailer + + + armytanker + armytrailer + tr4 + tvtrailer + trailerlarge + tillertrailer + usartrailer + + + + S_M_Y_Sheriff_01 + + + + + + + + + + + REWARD_WEAPON_PUMPSHOTGUN + REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE + REWARD_STAT_WEAPON + + + WHEEL_FRONT_RIGHT_CAMERA + WHEEL_FRONT_LEFT_CAMERA + WHEEL_REAR_RIGHT_CAMERA + WHEEL_REAR_LEFT_CAMERA + + + + + + + STD_POLICE_FRONT_LEFT + STD_POLICE_FRONT_RIGHT + STD_POLICE_REAR_LEFT + STD_POLICE_REAR_RIGHT + + + + + + + \ No newline at end of file diff --git a/resources/tiller/client.lua b/resources/tiller/client.lua new file mode 100644 index 000000000..d1dc300d9 --- /dev/null +++ b/resources/tiller/client.lua @@ -0,0 +1,48 @@ +local controlPressed = false +local control = 0 + +RegisterNuiCallback('submitButtonPress', function(data, cb) + control = data.control + + controlPressed = true + + cb({}) +end) + +RegisterNuiCallback('submitButtonRelease', function(data, cb) + control = 0 + + controlPressed = false + + cb({}) +end) + +RegisterNuiCallback('closeMenu', function(data, cb) + closeMenu() + cb({}) +end) + +function openMenu() + SendNUIMessage({ + type = 'openMenu' + }) + SetNuiFocus(true, true) +end + +exports("openMenu", openMenu); + +function closeMenu() + SendNUIMessage({ + type = 'closeMenu' + }) + SetNuiFocus(false, false) +end + +exports("closeMenu", closeMenu); + +function getPressedKey() + if not controlPressed then return 0 end + return control +end + +exports("getPressedKey", getPressedKey); \ No newline at end of file diff --git a/resources/tiller/fxmanifest.lua b/resources/tiller/fxmanifest.lua new file mode 100644 index 000000000..abcb8a328 --- /dev/null +++ b/resources/tiller/fxmanifest.lua @@ -0,0 +1,45 @@ +fx_version 'cerulean' + +games { 'gta5' } + +author 'London Studios' +description 'A tiller vehicle compatible with Smart Ladder' +version '1.0.0' +lua54 'yes' + +files { + 'cab-data/vehicles.meta', + 'cab-data/carcols.meta', + 'cab-data/carvariations.meta', + 'trailer-data/vehicles.meta', + 'trailer-data/carcols.meta', + 'trailer-data/carvariations.meta', + 'stream/*.ytyp', + 'nui/menu.html', + 'nui/style.css', + 'nui/main.js', +} + +ui_page 'nui/menu.html' + +data_file 'VEHICLE_METADATA_FILE' 'cab-data/vehicles.meta' +data_file 'CARCOLS_FILE' 'cab-data/carcols.meta' +data_file 'VEHICLE_VARIATION_FILE' 'cab-data/carvariations.meta' + +data_file 'VEHICLE_METADATA_FILE' 'trailer-data/vehicles.meta' +data_file 'CARCOLS_FILE' 'trailer-data/carcols.meta' +data_file 'VEHICLE_VARIATION_FILE' 'trailer-data/carvariations.meta' + +data_file 'DLC_ITYP_REQUEST' 'stream/*.ytyp' + +client_script 'client.lua' + +escrow_ignore { + 'cab-data/*.meta', + 'trailer-data/*.meta', + 'stream/*.ytd', + 'tiller.lua', + 'stream/tiller_base.ydr', + 'client.lua', +} +dependency '/assetpacks' \ No newline at end of file diff --git a/resources/tiller/nui/main.js b/resources/tiller/nui/main.js new file mode 100644 index 000000000..9bf8172fb --- /dev/null +++ b/resources/tiller/nui/main.js @@ -0,0 +1,57 @@ +window.addEventListener("load", function() { + document.querySelectorAll(".movement-button").forEach(function(button) { + button.addEventListener("mousedown", function() { + + fetch(`https://${GetParentResourceName()}/submitButtonPress`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json; charset=UTF-8', + }, + body: JSON.stringify({ + control: button.dataset.control, + }) + }).then(resp => resp.json()).then(resp => console.log(resp)); + }); + + button.addEventListener("mouseup", function() { + + fetch(`https://${GetParentResourceName()}/submitButtonRelease`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json; charset=UTF-8', + }, + body: JSON.stringify({ + control: button.dataset.control, + }) + }).then(resp => resp.json()).then(resp => console.log(resp)); + }); + }); + + document.getElementById("close-menu-button").addEventListener("click", function() { + + fetch(`https://${GetParentResourceName()}/closeMenu`, { + method: 'POST', + headers: { + 'Content-Type': 'application/json; charset=UTF-8', + }, + body: JSON.stringify({ + }) + }).then(resp => resp.json()).then(resp => console.log(resp)); + }); +}); + +function openMenu() { + document.querySelectorAll("#control-panel")[0].style.display = "flex"; +} + +function closeMenu() { + document.querySelectorAll("#control-panel")[0].style.display = "none"; +} + +window.addEventListener('message', (event) => { + if (event.data.type === 'openMenu') { + openMenu(); + } else if (event.data.type === 'closeMenu') { + closeMenu(); + } +}); \ No newline at end of file diff --git a/resources/tiller/nui/menu.html b/resources/tiller/nui/menu.html new file mode 100644 index 000000000..d3f979a16 --- /dev/null +++ b/resources/tiller/nui/menu.html @@ -0,0 +1,47 @@ + + + + + + Tiller Ladder - Control Panel + + + + + + +
+

TILLER LADDER
CONTROL PANEL

+ +
+
+ + + + + +
+
+ +
+
+ + + + + +
+
+ +
+
+ + + + +
+
+ +
+ + diff --git a/resources/tiller/nui/style.css b/resources/tiller/nui/style.css new file mode 100644 index 000000000..e25c218c5 --- /dev/null +++ b/resources/tiller/nui/style.css @@ -0,0 +1,64 @@ +.control-panel { + background-color: #2c3e50; + position: absolute; + right: 5rem; + padding: calc(10rem / 16) calc(25rem / 16) calc(25rem / 16) calc(25rem / 16); + font-family: "Arial"; + display: none; + flex-direction: column; + align-items: center; +} + +.control-panel h1 { + color: white; + font-weight: 800; + text-align: center; +} + +.control-panel h2 { + color: #353b48; +} + +.button-container { + background-color: #ecf0f1; + margin: 0.7rem 0; + width: 100%; + text-align: center; +} + +.container-buttons { + padding: 0.7rem; + display: grid; + grid-template-columns: 1fr 1fr; + gap: 0.5rem; +} + +.singular { + grid-template-columns: 1fr; +} + +.movement-button { + padding: 1rem 0.3rem; + border: none; + color: white; + background-color: #e58e26; + font-weight: 600; + border-radius: 15px; +} + +.menu-button { + margin-top: 0.6rem; + padding: 0.6rem 2rem; + border: none; + color: white; + font-weight: 600; + border-radius: 15px; +} + +.movement-button:hover { + cursor: pointer; +} + +.menu-description { + color: white; +} diff --git a/resources/tiller/stream/tiller.yft b/resources/tiller/stream/tiller.yft new file mode 100644 index 000000000..dffda1b04 --- /dev/null +++ b/resources/tiller/stream/tiller.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77179eae23ac21b99284ce723269b76a14aecad2d0572293619be9792b241834 +size 6374465 diff --git a/resources/tiller/stream/tiller.ytd b/resources/tiller/stream/tiller.ytd new file mode 100644 index 000000000..4d9861f2b --- /dev/null +++ b/resources/tiller/stream/tiller.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d05ba8c801450b39eaccdacfe0081bba3ec6b818269e33999aeef5edd67c8dc +size 2635431 diff --git a/resources/tiller/stream/tiller_base.ydr b/resources/tiller/stream/tiller_base.ydr new file mode 100644 index 000000000..62f8de3a4 --- /dev/null +++ b/resources/tiller/stream/tiller_base.ydr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:979b714585da42423200ea59416af444b169e9ee2230587c95825940f66ce7a1 +size 1105519 diff --git a/resources/tiller/stream/tiller_foot.ydr b/resources/tiller/stream/tiller_foot.ydr new file mode 100644 index 000000000..4f3e68d34 --- /dev/null +++ b/resources/tiller/stream/tiller_foot.ydr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f345824f942a99ef01ed372f85edaffdd066f3a087992645bc467a987cc24e3 +size 26671 diff --git a/resources/tiller/stream/tiller_hi.yft b/resources/tiller/stream/tiller_hi.yft new file mode 100644 index 000000000..1b9b250a5 --- /dev/null +++ b/resources/tiller/stream/tiller_hi.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:796a7415b1ac28bbc20939d5c200bf62d1e2cfd164cee7894b99c90d1361d854 +size 6374416 diff --git a/resources/tiller/stream/tiller_inner.ydr b/resources/tiller/stream/tiller_inner.ydr new file mode 100644 index 000000000..caccb04d3 --- /dev/null +++ b/resources/tiller/stream/tiller_inner.ydr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02c13a6a27998aa051cdbe2ac81c925206f4004ce6a33788b51c8cd9af65b937 +size 9609477 diff --git a/resources/tiller/stream/tiller_middle.ydr b/resources/tiller/stream/tiller_middle.ydr new file mode 100644 index 000000000..011f9d926 --- /dev/null +++ b/resources/tiller/stream/tiller_middle.ydr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ada76f90b739e0055670f689bd4793328be57b0f6bc44f1189109328378e0011 +size 37048 diff --git a/resources/tiller/stream/tiller_outer.ydr b/resources/tiller/stream/tiller_outer.ydr new file mode 100644 index 000000000..e24e5b4bd --- /dev/null +++ b/resources/tiller/stream/tiller_outer.ydr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:67cd78439cfc280262b911ade6030cebdc35ddcb47492fa7f34154deb0cd2be1 +size 50730 diff --git a/resources/tiller/stream/tiller_outrigger.ydr b/resources/tiller/stream/tiller_outrigger.ydr new file mode 100644 index 000000000..27ad6520b --- /dev/null +++ b/resources/tiller/stream/tiller_outrigger.ydr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42b4a3a6ae3a98215753aa348638b7cc7f9894f17ea8cd210766fd45b8c8881c +size 41174 diff --git a/resources/tiller/stream/tiller_props.ytyp b/resources/tiller/stream/tiller_props.ytyp new file mode 100644 index 000000000..cf4909ec6 Binary files /dev/null and b/resources/tiller/stream/tiller_props.ytyp differ diff --git a/resources/tiller/stream/tiller_seat.ydr b/resources/tiller/stream/tiller_seat.ydr new file mode 100644 index 000000000..15a7f0eb1 --- /dev/null +++ b/resources/tiller/stream/tiller_seat.ydr @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:746c19a73b8a6d5b91d23473a32b04be804362bfb34116a60de2b0e762f15104 +size 202548 diff --git a/resources/tiller/stream/tillertrailer.yft b/resources/tiller/stream/tillertrailer.yft new file mode 100644 index 000000000..bd8cc166d --- /dev/null +++ b/resources/tiller/stream/tillertrailer.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d535fd2c66ef883ea3b415c7f3aa1060d8c3bdf362b402369dffe4bf76142c4 +size 3184455 diff --git a/resources/tiller/stream/tillertrailer.ytd b/resources/tiller/stream/tillertrailer.ytd new file mode 100644 index 000000000..a624e36e6 --- /dev/null +++ b/resources/tiller/stream/tillertrailer.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c3482dc621e4ad7b42186a7b1b648eefdaf928d454b40d976950408a8ee1567 +size 4541711 diff --git a/resources/tiller/stream/tillertrailer_hi.yft b/resources/tiller/stream/tillertrailer_hi.yft new file mode 100644 index 000000000..89821e631 --- /dev/null +++ b/resources/tiller/stream/tillertrailer_hi.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c5e6bc4c44fc0cee42f6d72a2b58e2f077a73360d7be18fb943b25288de5fab +size 3184455 diff --git a/resources/tiller/tiller.lua b/resources/tiller/tiller.lua new file mode 100644 index 000000000..53c40eea9 --- /dev/null +++ b/resources/tiller/tiller.lua @@ -0,0 +1,324 @@ +-- 1 = X +-- 2 = Y +-- 3 = Z + +-- to define if prop rotates or moves, use: +-- if rotation, add: + +tiller = { + model = `tillertrailer`, + name = "TILLER", + isTrailer = true, + controlToOperate = {73, "INPUT_VEH_DUCK"}, + pedAttachment = { + id = "LadderSeat", + offSet = {-0.5, 0.5, 0.5}, + rotation = {0.0, 0.0, 180.0}, + }, + -- Menu is not usable while driving and controlling + menu = { + enabled = true, + resourceName = "tiller", + menuControls = { + openAuto = true, + openMenuKey = 311, + -- Export to open menu should be named openMenu() + } + }, + drawRotation = true, + animation = { + enabled = true, + idle = { + dict = "amb@world_human_stand_guard@male@base", + name = "base" + }, + + }, + cage = { + enabled = false, + id = "Cage", + offSet = {0.0, 0.0, 0.0}, + rotation = {0.0, 0.0, 0.0}, + }, + water = { + enabled = true, + control = {0, 101}, + locations = { + ["InnerLadder"] = { + { + scale = 1.0, + asset = "core", + name = "water_cannon_jet", + offSet = {0.09, -0.99, -0.25}, + rotation = {-10.0, 0.0, 180.0}, + }, + }, + } + }, + data = { + { + id = "LadderSeat", + model = `tiller_seat`, + isLadder = false, + attachTo = "vehicle", + boneIndex = "", -- If attaching to vehicle + defaultOffSet = {0.02, 5.71, 1.5}, + offSet = {0.02, 5.71, 1.5}, + rotation = {0.0, 0.0, 0.0}, + minRotation = false, + minimumRotation = {0.0, 0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = false, + minimumOffSet = {0.0, 0.0, 0.0}, + maxOffSet = false, + maximumOffSet = {0.0, 0.0, 0.0}, + controls = { + [63] = { + movementType = "rotate", + axis = 3, + movementAmount = 0.1, + }, + [64] = { + movementType = "rotate", + axis = 3, + movementAmount = -0.1, + }, + } + }, + { + id = "LadderBottom", + model = `tiller_base`, + isLadder = false, + attachTo = "LadderSeat", + defaultOffSet = {0.0, -0.25, 0.02}, + offSet = {0.0, -0.25, 0.02}, + rotation = {2.8, 0.0, 0.0}, + minRotation = true, + minimumRotation = {-82.0, 0.0, 0.0}, + maxRotation = true, + maximumRotation = {2.8, 0.0, 0.0}, + minOffSet = false, + minimumOffSet = {0.0, 0.0, 0.0}, + maxOffSet = false, + maximumOffSet = {0.0, 0.0, 0.0}, + controls = { + [136] = { + movementType = "rotate", + axis = 1, + movementAmount = -0.1, + }, + [130] = { + movementType = "rotate", + axis = 1, + movementAmount = 0.1, + }, + } + }, + { + id = "OuterLadder", + model = `tiller_outer`, + isLadder = true, + attachTo = "LadderBottom", + defaultOffSet = {-0.005, -4.0, 0.134}, + offSet = {-0.005, -4.0, 0.134}, + rotation = {0.0, 0.0, 0.0}, + minRotation = false, + minimumRotation = {0.0, 0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = true, + minimumOffSet = {0.0, -10.0, 0.0}, + maxOffSet = true, + maximumOffSet = {-0.005, -4.0, -0.134}, + controls = { + [131] = { + movementType = "move", + axis = 2, + movementAmount = -0.01, + }, + [132] = { + movementType = "move", + axis = 2, + movementAmount = 0.01, + }, + } + }, + { + id = "MiddleLadder", + model = `tiller_middle`, + isLadder = true, + attachTo = "OuterLadder", + defaultOffSet = {0.0, -0.13, 0.158}, + offSet = {0.0, -0.13, 0.158}, + rotation = {0.0, 0.0, 0.0}, + minRotation = false, + minimumRotation = {0.0, 0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = true, + minimumOffSet = {0.0, -5.5, 0.0}, + maxOffSet = true, + maximumOffSet = {0.0, -0.13, 0.0}, + controls = { + [131] = { + movementType = "move", + axis = 2, + movementAmount = -0.01, + }, + [132] = { + movementType = "move", + axis = 2, + movementAmount = 0.01, + }, + } + }, + { + id = "InnerLadder", + model = `tiller_inner`, + isLadder = true, + attachTo = "MiddleLadder", + defaultOffSet = {-0.088, -3.69, -0.067}, + offSet = {-0.088, -3.69, -0.067}, + rotation = {0.0, 0.0, 0.0}, + minRotation = false, + minimumRotation = {0.0, 0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = true, + minimumOffSet = {0.0, -9.59, 0.0}, + maxOffSet = true, + maximumOffSet = {0.0, -3.69, 0.0}, + controls = { + [131] = { + movementType = "move", + axis = 2, + movementAmount = -0.01, + }, + [132] = { + movementType = "move", + axis = 2, + movementAmount = 0.01, + }, + } + }, + { + id = "OutRigger1", + model = `tiller_outrigger`, + isLadder = false, + attachTo = "vehicle", + defaultOffSet = {-1.0, 3.7, -0.36}, + offSet = {-1.0, 3.7, -0.36}, + rotation = {0.0, 0.0, 0.0}, + minRotation = false, + minimumRotation = {0.0, -0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = true, + minimumOffSet = {-1.8, 0.0, 0.0}, + maxOffSet = true, + maximumOffSet = {-1.0, 0.0, 0.0}, + controls = { + [208] = { + movementType = "move", + axis = 1, + movementAmount = -0.01, + }, + [207] = { + movementType = "move", + axis = 1, + movementAmount = 0.01, + }, + } + }, + { + id = "Foot1", + model = `tiller_foot`, + isLadder = false, + attachTo = "OutRigger1", + defaultOffSet = {0.0, -0.01, 0.0}, + offSet = {0.0, -0.01, 0.0}, + rotation = {0.0, 0.0, 0.0}, + minRotation = false, + minimumRotation = {0.0, 0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = true, + minimumOffSet = {0.0, 0.0, -0.49}, + maxOffSet = true, + maximumOffSet = {0.0, 0.0, 0.0}, + controls = { + [121] = { + movementType = "move", + axis = 3, + movementAmount = -0.002, + }, + [212] = { + movementType = "move", + axis = 3, + movementAmount = 0.002, + }, + } + }, + { + id = "OutRigger2", + model = `tiller_outrigger`, + isLadder = false, + attachTo = "vehicle", + defaultOffSet = {1.0, 3.87, -0.36}, + offSet = {1.0, 3.87, -0.36}, + rotation = {0.0, 0.0, 180.0}, + minRotation = false, + minimumRotation = {0.0, -0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = true, + minimumOffSet = {0.98, 0.0, 0.0}, + maxOffSet = true, + maximumOffSet = {1.8, 0.0, 0.0}, + controls = { + [208] = { + movementType = "move", + axis = 1, + movementAmount = 0.01, + }, + [207] = { + movementType = "move", + axis = 1, + movementAmount = -0.01, + }, + } + }, + { + id = "Foot2", + model = `tiller_foot`, + isLadder = false, + attachTo = "OutRigger2", + defaultOffSet = {0.0, -0.01, 0.0}, + offSet = {0.0, -0.01, 0.0}, + rotation = {0.0, 0.0, 0.0}, + minRotation = false, + minimumRotation = {0.0, 0.0, 0.0}, + maxRotation = false, + maximumRotation = {0.0, 0.0, 0.0}, + minOffSet = true, + minimumOffSet = {0.0, 0.0, -0.49}, + maxOffSet = true, + maximumOffSet = {0.0, 0.0, 0.0}, + controls = { + [121] = { + movementType = "move", + axis = 3, + movementAmount = -0.002, + }, + [212] = { + movementType = "move", + axis = 3, + movementAmount = 0.002, + }, + } + }, + } +} + +addVehicle(tiller) \ No newline at end of file diff --git a/resources/tiller/tiller_template.dds b/resources/tiller/tiller_template.dds new file mode 100644 index 000000000..99103bab4 Binary files /dev/null and b/resources/tiller/tiller_template.dds differ diff --git a/resources/tiller/tiller_trailer_template.dds b/resources/tiller/tiller_trailer_template.dds new file mode 100644 index 000000000..12165963d Binary files /dev/null and b/resources/tiller/tiller_trailer_template.dds differ diff --git a/resources/tiller/trailer-data/carcols.meta b/resources/tiller/trailer-data/carcols.meta new file mode 100644 index 000000000..62aa1d789 --- /dev/null +++ b/resources/tiller/trailer-data/carcols.meta @@ -0,0 +1,557 @@ + + + + + + + + + tillertrailer + + + + + + + VehicleLight_sirenlight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/tiller/trailer-data/carvariations.meta b/resources/tiller/trailer-data/carvariations.meta new file mode 100644 index 000000000..99feae9e3 --- /dev/null +++ b/resources/tiller/trailer-data/carvariations.meta @@ -0,0 +1,62 @@ + + + + + tillertrailer + + + + 0 + 134 + 0 + 64 + 64 + 64 + 64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0_default_modkit + + + + + + Police guv plate + + + + + + + + + \ No newline at end of file diff --git a/resources/tiller/trailer-data/vehicles.meta b/resources/tiller/trailer-data/vehicles.meta new file mode 100644 index 000000000..e49cdc0b4 --- /dev/null +++ b/resources/tiller/trailer-data/vehicles.meta @@ -0,0 +1,115 @@ + + + vehshare + + + + tillertrailer + tillertrailer + TR2 + tillertrailer + + null + null + null + null + + null + + LAYOUT_RANGER_SANDKING + TR2_COVER_OFFSET_INFO + EXPLOSION_INFO_DEFAULT + + DEFAULT_FOLLOW_VEHICLE_CAMERA + DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA + + + + + + + + + + + + + + + + + VFXVEHICLEINFO_TRAILER_GENERIC + + + + + + + + + + + + + + + + + + + + + + 250.000000 + 400.000000 + 700.000000 + 1000.000000 + 1500.000000 + 1500.000000 + + + + + + + + + + SWANKNESS_1 + + FLAG_SPAWN_ON_TRAILER FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG FLAG_EXTRAS_SCRIPT FLAG_HAS_LIVERY FLAG_GEN_NAVMESH FLAG_DONT_SPAWN_AS_AMBIENT + VEHICLE_TYPE_TRAILER + VPT_NONE + VC_UTILITY + VWT_SPORT + + + + + + VEH_EXT_BOOT + VEH_EXT_BONNET + + + VEH_EXT_BONNET + VEH_EXT_BOOT + + + + + + + + + + + + + + + + vehicles_cav_interior + nissantitan17 + + + \ No newline at end of file diff --git a/resources/ulc/config.lua b/resources/ulc/config.lua index d8f42e5cc..68a3a0342 100644 --- a/resources/ulc/config.lua +++ b/resources/ulc/config.lua @@ -76,7 +76,9 @@ Config = { "24rampumper", "23sierrafire", "24rampumper", - + "e350vanb", + "ccso4", + "e450ambo", diff --git a/server.cfg b/server.cfg index 79acadabf..d74a7e108 100644 --- a/server.cfg +++ b/server.cfg @@ -364,10 +364,10 @@ ensure 23sierrafire ensure 24rampumper ensure 23gmcleoslick ensure 23gmcleo -ensure -ensure -ensure -ensure +ensure e350vanb +ensure ccso4 +ensure tiller +ensure e450ambo ensure ensure ensure