Brutal Scripts
YouTubeDiscordStore
  • 🙉About Us
  • ↗️Translate
  • Informations
    • 🔒Escrow System
    • 🔥Common Problems
  • Scripts
    • 📄Notify
      • Accessible files
      • Installation guide
    • 🔠Text-UI
      • Installation guide
      • Exports & How to use
      • Integrations
    • 🤟Gangs
      • Accessible files
      • Installation guide
      • exports / triggers
      • Create a new gang
    • 🏡Housing
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔑Keys
      • Accessible files
      • Installation guide
      • exports / triggers
    • 💥Gang Actions
      • Accessible files
      • Installation guide
      • exports / triggers
      • Controlling the menu
    • ⭕Radial
      • Accessible files
      • Installation guide
      • Adding new buttons
    • 🎯Executions
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🐶Pets + K9 V2
      • Accessible files
      • Installation guide
    • 👮Police Job
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🚑Ambulance Job
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔧Mechanic Job
      • Accessible files
      • Installation guide
      • exports / triggers
    • 💪GYM with Skills V2
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔫Paintball
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🥊Boxing
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔨Crafting
      • Accessible files
      • Installation guide
      • Creating a new crafting table
    • 🏦Banking
      • Accessible files
      • Installation guide
      • Paycheck transactions
      • Registering transactions
    • 🎳Bowling
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🦌Hunting
      • Accessible files
      • Installation guide
    • 🏁Racing Script
      • Accessible files
      • Installation guide
    • 🐛Reports
      • Accessible files
      • Installation guide
    • 🛒Shop Robbery
      • Accessible files
      • Installation guide
    • 🛥️Yacht Heist
      • Accessible files
      • Installation guide
    • 🧾Billing
      • Accessible files
      • Installation guide
      • Triggers
    • 💰Truck Robbery
      • Accessible files
      • Installation guide
    • 🏧Atm Robbery
      • Accessible files
      • Installation guide
    • 👶Baby script
      • Installation guide
      • How to add more babys
  • Others
    • Register Key Mapping
    • Drill Minigame
    • Discord Webhook
Powered by GitBook
On this page
  • Where to add?
  • Offset settings
  • Examples

Was this helpful?

  1. Scripts
  2. Crafting

Creating a new crafting table

Welcome to the Brutal Crafting guide, here you can learn how to create a new crafting table or edit correctly the existing ones.

PreviousInstallation guideNextBanking

Last updated 7 months ago

Was this helpful?

Where to add?

You can add as many crafting tables in config.lua as many you need.

You have to add a table like the example to this table: 'CraftingTables'

Example
{
    Label = "DRUG CRAFTING",
    Model = 'prop_tool_bench02_ld',
    Coords = vector3(244.732, 3111.310, 41.491),
    Heading = 94.5842,
    CameraSettings = {xOffset = 0.9, yOffset = 0.0, zOffset = 1.4, xRotate = 0.0, yRotate = 0.0, zRotate = 90.0}, -- The Camera's position and rotation relative to the table  
    LightSettings = {xOffset = 4.0, yOffset = 0.0, zOffset = 3.0}, -- Where should the light come to the table, also relative to the table
    Spawn = true, -- Wether the script should spawn the given prop for the crafting bench, or not spawn, instead use the existing prop which is at the coords.
    StopCraftingRadius = 5.0, -- After this distance the crafts will be stopped
    ShowBlipradius = 30.0, -- Show the blip on the map after this distance
    Color = '#789461', -- The main color of the menu | Give the value in hex | https://www.google.com/search?q=color+picker&sca_esv=0573b43c5c641ce9&sxsrf=ACQVn0_-hMLWl_zzSwut9j_3K-mWUc4NRQ%3A1707927207554&ei=p-bMZfmqIcOO9u8P3IOsqAQ&udm=&ved=0ahUKEwi5mojUnKuEAxVDh_0HHdwBC0UQ4dUDCBA&uact=5&oq=color+picker&gs_lp=Egxnd3Mtd2l6LXNlcnAiDGNvbG9yIHBpY2tlcjIKEAAYRxjWBBiwAzIKEAAYRxjWBBiwAzIKEAAYRxjWBBiwAzIKEAAYRxjWBBiwAzIKEAAYRxjWBBiwAzIKEAAYRxjWBBiwAzIKEAAYRxjWBBiwAzIKEAAYRxjWBBiwA0jMGlD9A1j2FXABeAGQAQCYAYoBoAGfCaoBAzEuObgBA8gBAPgBAcICBxAjGLACGCfCAgcQABiABBgNwgIHECMYsQIYJ8ICBxAAGIAEGArCAgoQIxiABBiKBRgnwgIFEAAYgATCAggQABiABBjLAeIDBBgAIEGIBgGQBgg&sclient=gws-wiz-serp
    Blip = {use = true, size = 0.9, sprite = 500, color = 2},
    Marker = {use = true, marker = 20, rgb = {233, 88, 69}, bobUpAndDown = false, rotate = false, position = {xOffset = 0.7, yOffset = -0.0, zOffset = 0.6}},
    Crafts = {
        {
            Item = 'drug', 
            Label = 'Pack of drug',
            Object = 'hei_prop_hei_drug_pack_01a', -- Use this if you don't find the right objects for the craft: prop_cs_cardbox_01 
            ObjectSettings = {xOffset = 0.3, yOffset = -0.0, zOffset = 1.3, xRotate = 90.0, yRotate = 0.0, zRotate = 90.0}, -- The Object's position and rotation relative to the table
            MoveToMouse = true, -- The object is moving as you move your mouse
            CreatedAmount = 1,
            XpGive = 2, -- How many xp should one crafting give 
            SuccessChance = 70, -- In percentages
            CraftingTime = 10, -- The time to craft the item in seconds
            Level = 1, -- The level which is needed to use this craft
            Jobs = {''},
            Requirements = {
                {'drug_elements', 'Bolt', 6, false}, -- Item/amount/if the item should be removed when crafting
            },
        },
    },

},

Offset settings

Do not insert real vector3 or vector4 coords to these values! These have to be changed manually.

The offset settings can be found at three places during the configuration at the camera or light settings and in the object settings. These offset coords means that they are relative to the crafting table object. Change these values to create the perfect looking crafting table.


Examples

The item is too low

ObjectSettings = {xOffset = 0.95, yOffset = -0.4, zOffset = 0.7, xRotate = 0.0, yRotate = 0.0, zRotate = 0.0},

ObjectSettings = {xOffset = 0.95, yOffset = -0.4, zOffset = 1.0, xRotate = 0.0, yRotate = 0.0, zRotate = 0.0},


Rotation is not right

ObjectSettings = {xOffset = 0.2, yOffset = -0.0, zOffset = 1.2, xRotate = 0.0, yRotate = 90.0, zRotate = 0.0},

ObjectSettings = {xOffset = 0.2, yOffset = -0.0, zOffset = 1.2, xRotate = 0.0, yRotate = 0.0, zRotate = 90.0},

🔨
With the wrong settings
With the good settings
With the wrong settings
With the good settings
Page cover image