[How-To] Add-on Vehicles (Detailed)

Where does one place the vehicle_names.lua file? Can I group all cars into one .lua or do I need one for each car? Thanks for any help!

where does one put skins

My car not have modifications in lscustum

UPDATE __resource.lua

resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'

files {
    'vehicles.meta',
    'carvariations.meta',
    'carcols.meta',
    'handling.meta',
   **--**  'vehiclelayouts.meta',    -- Not Required
}

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'   -- Not Required


client_script {
**--**   'vehicle_names.lua'    -- Not Required
}

UPDATE vehicle_names.lua


--[[
Citizen.CreateThread(function()
    AddTextEntry("vehicle spawn/model name", "display name you want")
	AddTextEntry('0x9D82D700', 'Beispiel')
	AddTextEntry('0x114E8264', 'Beispiel2')
end)

ODER

Citizen.CreateThread(function()
    AddTextEntryByHash(<hash>, "text")
end)
]]--

Citizen.CreateThread(function()

end)

The needed DATA FILES you can find here: Data file types

If you wonna create fast und safty Addon or Replace Cars, you can use this utilitie: FXI - FX Vehicle Installer v0_2.1

Hi where do i put the vehicle_names.lua ? in the advanced garages? for it to show the car names when im spawning from a parking lot?

server_names.lua is in the main folder

grafik

Where can I find out the vehicle hash code ?

h im having trouble, none of this makes sense and i only have .rpf files

Please provide a link to a working program to edit these ‘larger than 16mb’ files down in size. The link provided is broken and brings me to “warren paint” with no apparent application downloads. I have tried a program called “paint.net” and it wouldn’t let me open any vehicle skins, so i think this part of the tutorial needs updating. otherwise great work!

If you are more specific with what you don’t understand I could maybe help? If my hunch is correct, you are having trouble opening the .rpf files so please download a program called openIV and you can access the vehicle data files with that just click gta5 when you run the program and then open your .rpf file. If this is the case, in the future, something like this can be answered in the first and second search result on google when searching “how to open a .rpf file”.

1 Like

thank you, using openiv worked, thats the main part that was confusing me, also do you know any places where i can find adding the lambda menu into my server? i’ve litteralyl looked for the past 2 hours on this website on youtube on facebook plenty of websites but none tell me how to do so only how to add it to the “plugins” folder

No worries. If more people were willing to help we’d have better servers to choose from so I’m happy to do so. I know I sure could have used some help when i first started a couple of months ago.

I could be wrong but I don’t believe Lambda menu is server sided and most servers that I have seen that use it, usually have instructions in a starting tutorial or loading screen telling people to go and download it. The best alternative I can suggest is using vmenu. In my opinion its actually better and its server sided so all the time and weather syncs between players and you can run it with scripthook disabled so you don’t have people running around spawning tug boats and stuff and ruining people’s rp. It has just as many options as lambda plus more. This way everyone who joins will have an easy time without having to download plugins just to create a character or spawn cars, etc. With vmenu you can set ace permisssions so only you and select players can use options such as god mode or no clip, etc… If you have anymore questions, feel free to ask and I’ll answer as best as I can. Unfortunately I am currently unemployed so in the short time I’ve been doing this I have learnt a lot with all the downtime I’ve had between job searching/interviews. Anyways, here the link: vMenu v3.0.3 - A server-sided menu including (almost) full permissions support

thanks for the help, vmenu worked and it is way better then lambda menu and good luck with your job findings and interviews!

@chefslaya what if my dlc doesn’t have a carlayout.meta? do i just not include it? also i made the __resource.lua but it can’t find the resource when i launch the server

I have written a very simple resourcethat allows me to specify vehicle names in a configuration file, execute the script in the resource and it will run through the configuration and set up each vehicle name using AddTextEntryByHash…

I am doing so with the following code:

AddTextEntryByHash(GetHashKey(Config.vehicle_names.vehicles[i].key), Config.vehicle_names.vehicles[i].name)

This is working for half of the cars I have tried so far, but the others are still showing as NULL in anything that references the vehicle’s name, like esx_advancedgarage.

I have checked handling.meta and vehicles.meta to ensure that the YTD/YTF files match in spelling and case.

What else can keep some of these from working while others work without issue?

How to add correctly configurate all .meta files?
Because When I downloading police car, I have only YFT and YTD files…

Any idea how do i fixed this invalid wrong door?

vehiclelayouts.meta

which part sir?

<?xml version="1.0" encoding="UTF-8"?> SEAT_RHD_FRONT_LEFT seat_dside_f SEAT_LOW_FRONT_RIGHT SEAT_LOW_REAR_LEFT TASK_DRIVE_WANDER IsFrontSeat SEAT_RHD_FRONT_RIGHT seat_pside_f SEAT_LOW_FRONT_LEFT SEAT_LOW_REAR_RIGHT TASK_DRIVE_WANDER IsFrontSeat SEAT_ANIM_RHD_FRONT_LEFT clipset@veh@low@ds@idle_panic clipset@veh@low@ds@idle_agitated clipset@veh@low@ds@idle_duck LOW_CAR_FRONT_DS_IDLE IN_CAR_LOW VEHICLE_DEFAULT UseStandardInVehicleAnims UseCloseDoorBlendAnims LOW ANIM_GROUP_GESTURE_M_CAR_LOW_DS ANIM_GROUP_GESTURE_F_CAR_LOW_DS SEAT_ANIM_RHD_FRONT_RIGHT clipset@veh@low@ps@idle_panic clipset@veh@low@ps@idle_duck LOW_CAR_FRONT_PS_IDLE IN_CAR_LOW VEHICLE_DEFAULT UseStandardInVehicleAnims HasPanicAnims UseCloseDoorBlendAnims PreventShuffleJack LOW ANIM_GROUP_GESTURE_M_CAR_LOW_PS ANIM_GROUP_GESTURE_F_CAR_LOW_PS ENTRY_POINT_RHD_FRONT_LEFT door_pside_f handle_pside_f FRONT_RIGHT SIDE_LEFT BlockJackReactionUntilJackerIsReady SIDE_RIGHT ENTRY_POINT_RHD_FRONT_RIGHT door_dside_f handle_dside_f FRONT_LEFT SIDE_RIGHT BlockJackReactionUntilJackerIsReady SIDE_LEFT ENTRY_POINT_ANIM_LOW_RHD_FRONT_LEFT LOW_Locked_DS LOW_Force_Entry_DS low_perp_ds_a low_victim_ds_a clipset@veh@low@ds@female@enter_exit ENTER_VEHICLE_STD JackIncludesGetIn UsesNoDoorTransitionForExit UseOpenDoorBlendAnims FixUpMoverToEntryPointOnExit UseGetUpAfterJack JackVariationsIncludeGetIn HasCombatEntry LOWCAR ENTRY_POINT_ANIM_LOW_RHD_FRONT_RIGHT LOW_Locked_PS LOW_Force_Entry_PS low_perp_ps_a low_victim_ps_a clipset@veh@low@ps@female@enter_exit ENTER_VEHICLE_STD JackIncludesGetIn UsesNoDoorTransitionForExit UseOpenDoorBlendAnims FixUpMoverToEntryPointOnExit UseGetUpAfterJack JackVariationsIncludeGetIn HasCombatEntry LAYOUT_LOW_RHD StreamAnims UseDoorOscillation UseLeanSteerAnims UseSteeringWheelIk busted_vehicle_low clipset@veh@low@ds@idle_a clipset@veh@low@ds@idle_b clipset@veh@low@ds@idle_c clipset@veh@low@ds@idle_d clipset@veh@low@ds@idle_e clipset@veh@low@ds@hit_wheel@idle_a clipset@veh@low@ds@hit_wheel@idle_b clipset@veh@low@ds@hit_wheel@idle_c

Hello I would like to know if anyone has any solution to my problem, I downloaded a vehicle “https://en.gta5-mods.com/vehicles/2016-bmw-r1200gs-adventure” but because it is heavy has an extra part and spawning it comes partially invisible until I go to los santos custom and apply “enduro_ex_1.yft” as a modification then it completes the invisible parts and becomes normal, but I would like to make it spawn it already comes with the modification " enduro_ex_1.yft "applied