From 8628c4e225cbbdbdfd18c7abb60eac34e23a1428 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:27:45 +0100 Subject: [PATCH] chore: pack_cars database creation and code formatting - Created database - fxmanifest updated to version 1.0.1 - Improved code formatting --- .../resources/[bpt_cars]/pack_cars.sql | 3 + .../pack_cars/data/p911r/carcols.meta | 1467 ++++++++++------- .../pack_cars/data/p911r/carvariations.meta | 346 ++-- .../pack_cars/data/p911r/dlctext.meta | 9 +- .../pack_cars/data/p911r/handling.meta | 139 +- .../pack_cars/data/p911r/vehicles.meta | 322 ++-- .../[bpt_cars]/pack_cars/fxmanifest.lua | 3 +- .../[bpt_cars]/tagt3flat6/fxmanifest.lua | 23 +- 8 files changed, 1288 insertions(+), 1024 deletions(-) create mode 100644 server-data/resources/[bpt_cars]/pack_cars.sql diff --git a/server-data/resources/[bpt_cars]/pack_cars.sql b/server-data/resources/[bpt_cars]/pack_cars.sql new file mode 100644 index 000000000..ddc093b06 --- /dev/null +++ b/server-data/resources/[bpt_cars]/pack_cars.sql @@ -0,0 +1,3 @@ +INSERT INTO `vehicles` (name, model, price, category) VALUES + ('Porsche 911 R','p911r',190000,'sports') +; \ No newline at end of file diff --git a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carcols.meta b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carcols.meta index 1f4061a13..26bd31e6b 100644 --- a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carcols.meta +++ b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carcols.meta @@ -1,633 +1,844 @@ - - - - - - - - - - - - - 135_p911r_modkit - - MKT_SPECIAL - - - - - - - - - - VMT_ENGINE - - - - - - - VMT_ENGINE - - - - - - - VMT_ENGINE - - - - - - - VMT_ENGINE - - - - - - - VMT_BRAKES - - - - - - - VMT_BRAKES - - - - - - - VMT_BRAKES - - - - - - - VMT_GEARBOX - - - - - - - VMT_GEARBOX - - - - - - - VMT_GEARBOX - - - - - - - VMT_ARMOUR - - - - - - - VMT_ARMOUR - - - - - - - VMT_ARMOUR - - - - - - - VMT_ARMOUR - - - - - - - VMT_ARMOUR - - - HORN_TRUCK - - - - VMT_HORN - - - HORN_COP - - - - VMT_HORN - - - HORN_CLOWN - - - - VMT_HORN - - - HORN_MUSICAL_1 - - - - VMT_HORN - - - HORN_MUSICAL_2 - - - - VMT_HORN - - - HORN_MUSICAL_3 - - - - VMT_HORN - - - HORN_MUSICAL_4 - - - - VMT_HORN - - - HORN_MUSICAL_5 - - - - VMT_HORN - + + - HORN_SAD_TROMBONE - - - - VMT_HORN - - - MUSICAL_HORN_BUSINESS_1 - - - - VMT_HORN - - - MUSICAL_HORN_BUSINESS_2 - - - - VMT_HORN - - - MUSICAL_HORN_BUSINESS_3 - - - - VMT_HORN - - - MUSICAL_HORN_BUSINESS_4 - - - - VMT_HORN - - - MUSICAL_HORN_BUSINESS_5 - - - - VMT_HORN - - - MUSICAL_HORN_BUSINESS_6 - - - - VMT_HORN + + 135_p911r_modkit + + + + MKT_SPECIAL + + + + + + + + + + + + VMT_ENGINE + + + + + + + + + VMT_ENGINE + + + + + + + + + VMT_ENGINE + + + + + + + + + VMT_ENGINE + + + + + + + + + VMT_BRAKES + + + + + + + + + VMT_BRAKES + + + + + + + + + VMT_BRAKES + + + + + + + + + VMT_GEARBOX + + + + + + + + + VMT_GEARBOX + + + + + + + + + VMT_GEARBOX + + + + + + + + + VMT_ARMOUR + + + + + + + + + VMT_ARMOUR + + + + + + + + + VMT_ARMOUR + + + + + + + + + VMT_ARMOUR + + + + + + + + + VMT_ARMOUR + + + + + HORN_TRUCK + + + + + + VMT_HORN + + + + + HORN_COP + + + + + + VMT_HORN + + + + + HORN_CLOWN + + + + + + VMT_HORN + + + + + HORN_MUSICAL_1 + + + + + + VMT_HORN + + + + + HORN_MUSICAL_2 + + + + + + VMT_HORN + + + + + HORN_MUSICAL_3 + + + + + + VMT_HORN + + + + + HORN_MUSICAL_4 + + + + + + VMT_HORN + + + + + HORN_MUSICAL_5 + + + + + + VMT_HORN + + + + + HORN_SAD_TROMBONE + + + + + + VMT_HORN + + + + + MUSICAL_HORN_BUSINESS_1 + + + + + + VMT_HORN + + + + + MUSICAL_HORN_BUSINESS_2 + + + + + + VMT_HORN + + + + + MUSICAL_HORN_BUSINESS_3 + + + + + + VMT_HORN + + + + + MUSICAL_HORN_BUSINESS_4 + + + + + + VMT_HORN + + + + + MUSICAL_HORN_BUSINESS_5 + + + + + + VMT_HORN + + + + + MUSICAL_HORN_BUSINESS_6 + + + + + + VMT_HORN + + + + + MUSICAL_HORN_BUSINESS_7 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_C0 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_D0 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_E0 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_F0 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_G0 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_A0 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_B0 + + + + + + VMT_HORN + + + + + DLC_BUSI2_C_MAJOR_NOTES_C1 + + + + + + VMT_HORN + + + + + HIPSTER_HORN_1 + + + + + + VMT_HORN + + + + + HIPSTER_HORN_2 + + + + + + VMT_HORN + + + + + HIPSTER_HORN_3 + + + + + + VMT_HORN + + + + + HIPSTER_HORN_4 + + + + + + VMT_HORN + + + + + INDEP_HORN_1 + + + + + + VMT_HORN + + + + + INDEP_HORN_2 + + + + + + VMT_HORN + + + + + INDEP_HORN_3 + + + + + + VMT_HORN + + + + + INDEP_HORN_4 + + + + + + VMT_HORN + + + + + LUXE_HORN_1 + + + + + + VMT_HORN + + + + + LUXE_HORN_2 + + + + + + VMT_HORN + + + + + LUXE_HORN_3 + + + + + + VMT_HORN + + + + + + LUXORY_HORN_1 + + + + + + VMT_HORN + + + + + + LUXURY_HORN_2 + + + + + + VMT_HORN + + + + + + LUXURY_HORN_3 + + + + + + VMT_HORN + + + + + ORGAN_HORN_LOOP_01 + + + + + + VMT_HORN + + + + + + ORGAN_HORN_LOOP_01_PREVIEW + + + + + + VMT_HORN + + + + + ORGAN_HORN_LOOP_02 + + + + + + VMT_HORN + + + + + + ORGAN_HORN_LOOP_02_PREVIEW + + + + + + VMT_HORN + + + + + LOWRIDER_HORN_1 + + + + + + VMT_HORN + + + + + + LOWRIDER_HORN_1_PREVIEW + + + + + + VMT_HORN + + + + + LOWRIDER_HORN_2 + + + + + + VMT_HORN + + + + + + LOWRIDER_HORN_2_PREVIEW + + + + + + VMT_HORN + + + + + + + + + VMT_SUSPENSION + + + + + + + + + VMT_SUSPENSION + + + + + + + + + VMT_SUSPENSION + + + + + + + + + VMT_SUSPENSION + + + + + + + + - MUSICAL_HORN_BUSINESS_7 - - - - VMT_HORN + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VehicleLight_car_oldsquare + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + p911r + - - DLC_BUSI2_C_MAJOR_NOTES_C0 - - - - VMT_HORN - - - DLC_BUSI2_C_MAJOR_NOTES_D0 - - - - VMT_HORN - - - DLC_BUSI2_C_MAJOR_NOTES_E0 - - - - VMT_HORN - - - DLC_BUSI2_C_MAJOR_NOTES_F0 - - - - VMT_HORN - - - DLC_BUSI2_C_MAJOR_NOTES_G0 - - - - VMT_HORN - - - DLC_BUSI2_C_MAJOR_NOTES_A0 - - - - VMT_HORN - - - DLC_BUSI2_C_MAJOR_NOTES_B0 - - - - VMT_HORN - - - DLC_BUSI2_C_MAJOR_NOTES_C1 - - - - VMT_HORN - - - HIPSTER_HORN_1 - - - - VMT_HORN - - - HIPSTER_HORN_2 - - - - VMT_HORN - - - HIPSTER_HORN_3 - - - - VMT_HORN - - - HIPSTER_HORN_4 - - - - VMT_HORN - - - INDEP_HORN_1 - - - - VMT_HORN - - - INDEP_HORN_2 - - - - VMT_HORN - - - INDEP_HORN_3 - - - - VMT_HORN - - - INDEP_HORN_4 - - - - VMT_HORN - - - LUXE_HORN_1 - - - - VMT_HORN - - - LUXE_HORN_2 - - - - VMT_HORN - - - LUXE_HORN_3 - - - - VMT_HORN - - - - LUXORY_HORN_1 - - - - VMT_HORN - - - - LUXURY_HORN_2 - - - - VMT_HORN - - - - LUXURY_HORN_3 - - - - VMT_HORN - - - ORGAN_HORN_LOOP_01 - - - - VMT_HORN - - - - ORGAN_HORN_LOOP_01_PREVIEW - - - - VMT_HORN - - - ORGAN_HORN_LOOP_02 - - - - VMT_HORN - - - - ORGAN_HORN_LOOP_02_PREVIEW - - - - VMT_HORN - - - LOWRIDER_HORN_1 - - - - VMT_HORN - - - - LOWRIDER_HORN_1_PREVIEW - - - - VMT_HORN - - - LOWRIDER_HORN_2 - - - - VMT_HORN - - - - LOWRIDER_HORN_2_PREVIEW - - - - VMT_HORN - - - - - - - VMT_SUSPENSION - - - - - - - VMT_SUSPENSION - - - - - - - VMT_SUSPENSION - - - - - - - VMT_SUSPENSION - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VehicleLight_car_oldsquare - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - p911r - - - - - - - - - - - - - \ No newline at end of file + + diff --git a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carvariations.meta b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carvariations.meta index f640c86d8..06c4c26a2 100644 --- a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carvariations.meta +++ b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/carvariations.meta @@ -1,183 +1,167 @@ - - - - - - - - - - - - - - p911r - - - - 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 + + + + p911r + + + + + 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 + + + + + + + + + + + diff --git a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/dlctext.meta b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/dlctext.meta index 22bb4c390..d405833ac 100644 --- a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/dlctext.meta +++ b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/dlctext.meta @@ -1,7 +1,6 @@ - - - - - \ No newline at end of file + + + + diff --git a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/handling.meta b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/handling.meta index 88a153e2c..6f95501e3 100644 --- a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/handling.meta +++ b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/handling.meta @@ -1,67 +1,76 @@ - - - - p911r - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 440010 - 1 - 0 - AVERAGE - - - - - - - - - - - - \ No newline at end of file + + + + p911r + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 440010 + + + 1 + + + 0 + + + AVERAGE + + + + + + + + + + + + + diff --git a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/vehicles.meta b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/vehicles.meta index 391dc8767..a9523ceee 100644 --- a/server-data/resources/[bpt_cars]/pack_cars/data/p911r/vehicles.meta +++ b/server-data/resources/[bpt_cars]/pack_cars/data/p911r/vehicles.meta @@ -1,136 +1,192 @@ - vehshare - - - - p911r - p911r - P911R - 911 R - PORSCHE - null - null - null - null - - null - tagt3flat6 - LAYOUT_LOW_INFERNUS - DOMINATOR_COVER_OFFSET_INFO - EXPLOSION_INFO_DEFAULT - - DEFAULT_FOLLOW_VEHICLE_CAMERA - DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA - VEHICLE_BONNET_CAMERA_STANDARD_LONG - DEFAULT_POV_CAMERA_LOOKAROUND_MID - - - - - - - - - - - - - - - - - - VFXVEHICLEINFO_CAR_GENERIC - - - - - - - - - - - - - - - - - - - - - - 500.000000 - 500.000000 - 500.000000 - 500.000000 - 500.000000 - 500.000000 - - - - - - - - - - - SWANKNESS_2 - - FLAG_RECESSED_HEADLIGHT_CORONAS FLAG_HAS_LIVERY FLAG_SPAWN_ON_TRAILER FLAG_AVERAGE_CAR FLAG_HAS_INTERIOR_EXTRAS FLAG_PARKING_SENSORS FLAG_EXTRAS_ALL FLAG_EXTRAS_STRONG - VEHICLE_TYPE_CAR - VPT_BACK_PLATES - VDT_GENTAXI - VC_SUPER - VWT_SPORT - - - - - - - - - - - - WHEEL_FRONT_RIGHT_CAMERA - WHEEL_FRONT_LEFT_CAMERA - WHEEL_REAR_RIGHT_CAMERA - WHEEL_REAR_LEFT_CAMERA - - - - - - - STD_DOMINATOR_FRONT_LEFT - STD_DOMINATOR_FRONT_RIGHT - - - - - - - - - - - - - - - - vehicles_dom_interior - p911r - - - - - - + + vehshare + + + + + + p911r + + + p911r + + + P911R + + + 911 R + + + PORSCHE + + + null + + + null + + + null + + + null + + + + null + + + tagt3flat6 + + + LAYOUT_LOW_INFERNUS + + + DOMINATOR_COVER_OFFSET_INFO + + + EXPLOSION_INFO_DEFAULT + + + + DEFAULT_FOLLOW_VEHICLE_CAMERA + + + DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA + + + VEHICLE_BONNET_CAMERA_STANDARD_LONG + + + DEFAULT_POV_CAMERA_LOOKAROUND_MID + + + + + + + + + + + + + + + + + + + + VFXVEHICLEINFO_CAR_GENERIC + + + + + + + + + + + + + + + + + + + + + + + 500.000000 + 500.000000 + 500.000000 + 500.000000 + 500.000000 + 500.000000 + + + + + + + + + + + + SWANKNESS_2 + + + + FLAG_RECESSED_HEADLIGHT_CORONAS FLAG_HAS_LIVERY FLAG_SPAWN_ON_TRAILER FLAG_AVERAGE_CAR FLAG_HAS_INTERIOR_EXTRAS FLAG_PARKING_SENSORS FLAG_EXTRAS_ALL FLAG_EXTRAS_STRONG + + + VEHICLE_TYPE_CAR + + + VPT_BACK_PLATES + + + VDT_GENTAXI + + + VC_SUPER + + + VWT_SPORT + + + + + + + + + + + + + + WHEEL_FRONT_RIGHT_CAMERA + + + WHEEL_FRONT_LEFT_CAMERA + + + WHEEL_REAR_RIGHT_CAMERA + + + WHEEL_REAR_LEFT_CAMERA + + + + + + + + + STD_DOMINATOR_FRONT_LEFT + + + STD_DOMINATOR_FRONT_RIGHT + + + + + + + + vehicles_dom_interior + + + p911r + + + diff --git a/server-data/resources/[bpt_cars]/pack_cars/fxmanifest.lua b/server-data/resources/[bpt_cars]/pack_cars/fxmanifest.lua index db57ad087..c8d06be11 100644 --- a/server-data/resources/[bpt_cars]/pack_cars/fxmanifest.lua +++ b/server-data/resources/[bpt_cars]/pack_cars/fxmanifest.lua @@ -1,10 +1,11 @@ fx_version("adamant") author("bitpredator") game("gta5") +author("bitpredator") description("bpt_cars") lua54("yes") -version("1.0.0") +version("1.0.1") files({ -- p911r diff --git a/server-data/resources/[bpt_cars]/tagt3flat6/fxmanifest.lua b/server-data/resources/[bpt_cars]/tagt3flat6/fxmanifest.lua index e7befc1ea..5a1171f71 100644 --- a/server-data/resources/[bpt_cars]/tagt3flat6/fxmanifest.lua +++ b/server-data/resources/[bpt_cars]/tagt3flat6/fxmanifest.lua @@ -1,14 +1,15 @@ -fx_version 'adamant' +fx_version("adamant") -game 'gta5' +game("gta5") +author("bitpredator") -files { - 'audioconfig/tagt3flat6_game.dat151.rel', - 'audioconfig/tagt3flat6_sounds.dat54.rel', - 'sfx/dlc_tagt3flat6/tagt3flat6.awc', - 'sfx/dlc_tagt3flat6/tagt3flat6_npc.awc' -} +files({ + "audioconfig/tagt3flat6_game.dat151.rel", + "audioconfig/tagt3flat6_sounds.dat54.rel", + "sfx/dlc_tagt3flat6/tagt3flat6.awc", + "sfx/dlc_tagt3flat6/tagt3flat6_npc.awc", +}) -data_file 'AUDIO_GAMEDATA' 'audioconfig/tagt3flat6_game.dat' -data_file 'AUDIO_SOUNDDATA' 'audioconfig/tagt3flat6_sounds.dat' -data_file 'AUDIO_WAVEPACK' 'sfx/dlc_tagt3flat6' \ No newline at end of file +data_file("AUDIO_GAMEDATA")("audioconfig/tagt3flat6_game.dat") +data_file("AUDIO_SOUNDDATA")("audioconfig/tagt3flat6_sounds.dat") +data_file("AUDIO_WAVEPACK")("sfx/dlc_tagt3flat6")