Chop Shops
Last updated
Last updated
IMPORTANT INFORMATION
Each vehicle has a tracker that must be removed prior to delivering the vehicle to either be chopped into parts or exported
Players must use a tracker remover tool and then will be presented with the bl_ui wavematch minigame
Information can be found here:
Should you wish to change the minigame or inputs required change the logic to suit in the following event: lusty94_chopshop:client:UseTrackerRemover
Shop Name
The key is the chop shop name and must be unique
Label
The label is the name displayed for that chop shop
Coords
Define coords for the chop shop ped to spawn at
Model
Define the ped model you wish to spawn
Chop Cost
Define the cost to start chop shop missions (set to 0 to be free and incur no charge)
Export Cost
Define the cost to start an export mission (set to 0 to be free and incur no charge)
Minimum Export Reputation
Define the minimum reputation level required for this chop shop to start an export mission
Make sure this coincides with your ranks you set in Config.Reputation!
Delivery Coords
Define coordinates to deliver the chop shop mission vehicle
This must be vector4
Work Bench Coords
Define coordinates for the work bench prop to spawn allowing players to process parts
This must be a vector4
Do not set the bench prop too far away from the coordinates set for the delivery location incase of triggering false security actions
Also bare in mind the distance figure you set in Config.CoreSettings.Security.MaxDistance incase of triggering false security actions
Blips
Enable and define blip settings for each chop shop
Set enabled to true to enable the blip for this chop shop
Define the blip ID to be displayed
Define the colour of the blip to be displayed
Define the scale of the blip to be displayed
Define the title of the blip to be displayed
Time Restrictions
You can set each chop shop to have an open and close time making players only permitted to use the chop shop features during configured hours
Set enabled to true to enable the time restrictions for each chop shop
Define the opening hour for this chop shop
Define the closing hour for this chop shop
Reputation
Define each chop shops minimum and maximum amount of reputation points that can be earnt by doing chop shop and export missions
Target Information
Define settings for various target interactions such as icons, labels and distances
Police Alert
Define the chance for police to be alerted if failing chop shop or export mission requirements
Skill Check
Define settings for the mini game when breaking into normal
vehicles
Special vehicles have their own minigame settings which is covered in more detail further below
Prop Models
Define prop models that are spawned and attached to the player when removing parts from the chop shop vehicle
You can use custom props if you wish but you must ensure these are streamed correctly before declaring them in this script
Vehicle Bones
Some parts of vehicles can be visually removed such as the hood, trunk and wheels etc
Define what vehicle bones are being used
Not all vehicle parts have props that can be visually removed so please bare this in mind when adding additional parts available to remove
Vehicle Spawns
Define locatons where vehicles will spawn at when requesting a chop shop or export mission
The coords must be a vector4 and you can use multiple locations
The script will pick a location at random to spawn the vehicle at
Shell Pickup
Once the player has removed all the parts from the vehicle they can request for an NPC to come and collect the remaining vehicle shell and get paid a small amount for it
Model is the spawn name of the vehicle
Driver Model is the ped that spawns inside driving the vehicle
TruckSpawnLoc is the location where the vehicle will spawn (set this nearby as the NPC will drive to the vehicles location before attaching it and driving off)
Reward is the minimum and maximum the player will be paid for the remaining vehicle shell
Vehicles
Define normal vehicles that can spawn when requesting a chop shop mission
Special vehicles are covered in more detail further below as they have slightly different logic
If changing vehicles make sure they are a valid model
If using custom vehicles ensure these are streamed correctly before being declared in this script
Rare Vehicles
Define rare vehicles that can spawn when requesting a chop shop mission
The key is the vehicle spawn name
The chance is the chance for that vehicle to spawn when requesting the mission
Define hacking settings for bl_ui pathfind to break into the vehicle
Nodes is the amount of nodes required to be linked together
Timer is the duration the player has to connect the nodes together
Export Vehicles
Define special vehicles that can spawn when requesting an export mission
The key is the vehicle spawn name
Define reward settings providing a minimum and maximum amount received for this vehicle
Define random drop locations that the vehicle must be delivered to
These must be vector4
The script will pick a location at random
Define the timer duration that the player must deliver the vehicle within to receive payment
Define hacking settings for bl_ui pathfind to break into the vehicle
Nodes is the amount of nodes required to be linked together
Timer is the duration the player has to connect the nodes together
Parts
Define parts available to remove from a chop shop vehicle
The key is the item name
Label is the item label
Duration is the time to remove that part (this is adjusted by rep level)
Define a required item if enabled to remove parts
Define materials given from removing this part
Define a chance for this part to be damaged and yield less returns
Define coords where the prop attaches to the player
Define coords for the part to be attached to the work bench prop
Blip info can be found here:
BL_UI docs:
BL_UI docs: