Download
Overview
Simple straight forward vehicle image creator for fivem.
Setup vehicle spawn coordinates and camera positioning, then run a command to spawn, screenshot and save vehicles to a json file.
You can then use the include python script to download and store all of the images.
Enjoy!
(I am well aware a few other free versions of these exist, but making things is fun right? )
Dependencies
- screenshot-basic
Instructions
Vehicle Image Creator
-
Remove
vehicle_image_creator
from the main folder. -
Modify
vehicle_image_creator/client.lua
to change your settings and add your webhook, these settings are below the vehicles table. -
Add the folder
vehicle_image_creator
into your fivem server and start it. -
Use the command
/capture_vehicles
to screenshot and spawn all vehicles in table. Use/capture_vehicles compacts
to capture a specific category.
-
Using the command will spawn vehicles one by one at the location of your choosing, create the cam, screenshot and save details to a json file.
-
Once you have captured all the vehicles you want images for, download the
image_urls.json
from your server and proceed with the steps under Download Images
Download Images
-
Download the
image_urls.json
file from your server and place into the folderpy_download_images
if you have not done so already. -
Run
download_images.py
to download and save all images stored in the json file to a images folder and categorized.
- Please make sure you understand how to run python files… I will not be providing support for this resource.
Notes
- You are expected to understand how to install, modify basic lua values and run a python file. Please do not join one of my channels asking for support for this, you will be ignored.
- Seems to crash at around 1000 lines of json will look into this later <3 for now dont run all cars at once going by category is fine