Parts
t1ger_mechanic/shared/parts.lua
Body Parts
Config.BodyParts = {
door = {
item = "t1ger_vehicledoor",
label = "Vehicle Door",
icon = "https://i.postimg.cc/hvHDrP2S/t1ger-vehicledoor.png",
prop = {model = "imp_prop_impexp_car_door_04a", pos = vector3(-0.7, -0.2, 0.0), rot = vector3(0.0, -10.0, 90.0), boneId = 28422},
anim = {dict = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@", clip = "machinic_loop_mechandplayer", duration = -1, blendIn = 2.0, blendOut = 2.0, flag = 1}
},
hood = {
item = "t1ger_vehiclehood",
label = "Vehicle Hood",
icon = "https://i.postimg.cc/5yH9LFq7/t1ger-vehiclehood.png",
prop = {model = "imp_prop_impexp_bonnet_04a", pos = vector3(0.0, 0.20, 0.12), rot = vector3(-20.0, 0.0, 180.0), boneId = 28422},
anim = {dict = "mini@repair", clip = "fixing_a_player", duration = -1, blendIn = 2.0, blendOut = 2.0, flag = 1}
},
trunk = {
item = "t1ger_vehicletrunk",
label = "Vehicle Trunk",
icon = "https://i.postimg.cc/WpK1jXTQ/t1ger-vehicletrunk.png",
prop = {model = "imp_prop_impexp_trunk_01a", pos = vector3(0.0, 0.15, 0.1), rot = vector3(30.0, 0.0, 0.0), boneId = 28422},
anim = {dict = "mini@repair", clip = "fixing_a_player", duration = -1, blendIn = 2.0, blendOut = 2.0, flag = 1}
},
wheel = {
item = "t1ger_vehiclewheel",
label = "Vehicle Wheel",
icon = "https://i.postimg.cc/15q5zwz4/t1ger-vehiclewheel.png",
prop = {model = "imp_prop_impexp_tyre_01c", pos = vector3(0.0, -0.1, 0.2), rot = vector3(0.0, 0.0, 0.0), boneId = 28422},
anim = {dict = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@", clip = "machinic_loop_mechandplayer", duration = -1, blendIn = 2.0, blendOut = 2.0, flag = 1}
},
window = {
item = "t1ger_vehiclewindow",
label = "Vehicle Window",
icon = "https://i.postimg.cc/pLMV5r9C/t1ger-vehiclewindow.png",
prop = {model = "h4_prop_yacht_glass_04", pos = vector3(0.0, -0.1, 0.3), rot = vector3(0.0, 0.0, 0.0), boneId = 28422},
anim = {dict = "missmechanic", clip = "work_in", duration = -1, blendIn = 2.0, blendOut = 2.0, flag = 1}
},
}item(string) — the item name for the body partlabel(string) — the label of the body particon(string) — the icon for the body partprop(table) — the prop settings for the body part, used during replacements/repairsmodel(string) — the prop modelpos(vector3) — the position offset on the player when attachedrot(vector3) — the rotation offset on the player when attachedboneId(number) — the boneId on the player to attach the prop
anim(table) — the animations settings for the body part, used during replacements/repairs.dict(string) — the animation dictonaryclip(string) — the animation clip/nameduration(number) — the duration of the anim. Must be-1blendIn(number) — the blend in speed of the animationblendOut(number) — the blend out speed of the animationflag(integer) — the flag for the animation. Recommended to use1
Service Parts
Each service part has the following:
item(string) — the item name for the service partlabel(string) — the label of the service particon(string) — the icon for the service partinterval(string) — the service interval before requiring replacementassociated(array) — the list of associated core parts that are affected on neglected maintenancetype(string) — select between"gas","electric"or"shared". Defines which type of vehicle this part is tracked on.prop(table) — the prop settings for the service part, used during replacements/repairsmodel(string) — the prop modelpos(vector3) — the position offset on the player when attachedrot(vector3) — the rotation offset on the player when attachedboneId(number) — the boneId on the player to attach the prop
Core Parts
Each core part has the following:
item(string) — the item name for the service partlabel(string) — the label of the service particon(string) — the icon for the service partassociated(array) — the list of associated service parts that will affect this part on neglected maintenancetype(string) — select between"gas","electric"or"shared". Defines which type of vehicle this part is tracked on.prop(table) — the prop settings for the service part, used during replacements/repairsmodel(string) — the prop modelpos(vector3) — the position offset on the player when attachedrot(vector3) — the rotation offset on the player when attachedboneId(number) — the boneId on the player to attach the prop
Materials
Index is the item name and value is the item label.
Last updated