First, you need to install the scripts required for Qubit 3D Printer to work. After installing these scripts, you can put qubit-3dprinter into your resources folder and run it.
Qubit Vehicle Crafting supports ESX and QB frameworks. If you're using a different framework, unfortunately you won't be able to run Qubit Car Crafting.
Open the config.lua and fxmanifest.lua change framework setttings for your needs
QBCore Settings
If you're using the qbcore framework, you should configure the framework settings in the config as follows
To set up the sound system, you need to have either the xSound or mx-surround script. Place the file below in the required location according to the structure of the script you are using, and follow the installation steps.
xSound Settings
If you're using the xsound, you should configure the sound settings in the config as follows
Move .ogg file to xsound/html/sounds/printersound.ogg
You can produce any item with a 3D Printer. All you need to do is add the item you want to produce to Config.PrintItems
Here is example 3D Print item definition
["weapon_pistol"] = { -- Item Name title ="9mm Pistol", -- Menu Name description ="Start process of 3D object", -- Menu Description visual_value ="w_pi_pistol", -- Object Name visual_value_type ="object", -- "object" or "image" (IT'S UNDER DEVELOPMENT, USE ONLY "OBJECT"), printingTime =120, -- Printing Seconds batteryConsumeRate =1.0, -- This value determines how much resources will be consumed in 5 seconds. resinConsumeRate =1.0, -- This value determines how much resources will be consumed in 5 seconds.},
5. Importing Items
To use the Qubit 3D Printer, you need to integrate the printer, battery, and resin items into your framework. Follow these steps to add the items
If you are using QBCore or OX, you don't need to import the SQL.
QBCore Item Configration
Go to the qb-core folder, open qb-core/shared/items.lua, and add the crafting items line at the bottom
To run qubit-3dprinter you need to import the following SQL file.
Setup Finished 🎉
After configuring your items, you can start using the 3D Printer. If you encounter any issues during the setup process, please visit our Discord for more comprehensive support.