Zapyre
July 19, 2022, 12:23am
1
I am trying to use this car pack on my localhost server and I am having quite a rought time getting them to showup on the server and I am not shure if I have a file missing on my resource.lua or something.
Car Pack: Liberty City Vehicle & Ped Pack (FDLC, LCPD and more) [Add-On | Liveries | Sounds | Custom Shards] - GTA5-Mods.com
Resource.lua content:
resource_manifest_version ‘77731fab-63ca-442c-a67b-abc70f28dfa5’
– MADE BY PROJECT ROGUE ANDREW | ABOWPLAYS
description “Car Add-on”
files {
‘data/handling.meta’,
‘data/vehiclelayouts.meta’,
‘data/vehicles.meta’,
‘data/vehicle_names.meta’,
‘data/carcols.meta’,
‘data/carvariations.meta’,
‘data/carvariationslc.meta’,
‘data/peds.meta’,
‘data/dlctext.meta’,
‘data/weapons.meta’,
‘data/scenarios.meta’,
‘data/weaponarchetypes.meta’,
}
data_file ‘HANDLING_FILE’ ‘data/handling.meta’
data_file ‘VEHICLE_LAYOUTS_FILE’ ‘data/vehiclelayouts.meta’
data_file ‘VEHICLE_LAYOUTS_FILE’ ‘data/vehiclelayouts_npc.meta’
data_file ‘VEHICLE_METADATA_FILE’ ‘data/vehicles.meta’
data_file ‘PED_METADATA_FILE’ ‘peds.meta’
data_file ‘VEHICLE_METADATA_FILE’ ‘data/vehicle_names.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 ‘WEAPONINFO_FILE’ ‘data/weapons.meta’
data_file ‘WEAPON_METADATA_FILE’ ‘data/weaponarchetypes.meta’
client_script { ‘client/vehicle_name.lua’ }
__resource.lua (1.1 KB)
Anyhelp will be apreciated. Thanks a lot!!!
1 Like
Stop using resource.lua and use fxmanifest.lua
Try this:
I’ve already provided everything needed in the template
And use vMenu to add vehicle spawn names to the addons file.
Zapyre
July 19, 2022, 1:23pm
3
It worked, love you!! Thx alot!!!
Zapyre
July 19, 2022, 7:57pm
4
And for the audio files that it comes with any tip to make them work?
I don’t know unfortunately, maybe @LUKY00010 does? I just ended up replacing vehicles with addon sounds with vanilla sounds as I’d rather having a working car than a dead quiet one lol
1 Like
AvaN0x
July 20, 2022, 7:55am
6
I got some working.
For example if you find a file named adder2_game.dat151.rel
(I used adder2 as an example of vehicle name), you’ll have to add this to the fxmanifest:
files { "adder2_game.dat151.rel" }
data_file 'AUDIO_GAMEDATA' 'adder2_game.dat'
1 Like
Zapyre
July 20, 2022, 9:19am
7
didnt work, there are all this files + the sfx ones that have _npc.awc files inclueded and i dont really know if it makes any diference.
Thx for the help!
AvaN0x
July 20, 2022, 9:55am
8
Oh well then I don’t know more about it
You could try some of them from here: Data files - Cfx.re Docs
AUDIO_CURVEDATA
, AUDIO_DYNAMIXDATA
, AUDIO_GAMEDATA
, AUDIO_SOUNDDATA
, AUDIO_SPEECHDATA
, AUDIO_SYNTHDATA
, AUDIO_WAVEPACK
Maybe you’ll be able to figure it out
Zapyre
July 20, 2022, 10:42am
9
fxmanifest.lua (2.3 KB)
I have used it, some cars like the taxis work perfectly but the rest dont work
add the carpack to the server and start it in server.cfg
ma-T-o
August 21, 2023, 1:33am
11
I explained this here, I hope it helps!:
I’ll try to help, here’s how I do it:
When you go in the car’s files where the sounds are, you’ll often find it with this structure:
(folder) config: in which you will find the files you mentioned.
(folder) sfx: in which you will find another folder with a name like “dlc_carname”, inside it you will find awc files.
So what to do with all those folders and files??
First off, let’s start by creating the structure of our “customsounds” resource:
Create a folder called “customsounds”
Inside t…