Shells
Guide for editing or adding new shells into the resource
Editing the pre-configured shells
This file can be located in peuren_burglary\shared\sh_shells.lua.
Config.Shells = {
['trailer'] = {--Shell type name
model = 'shell_trailer',--Shell model spawn name
coords = {
["exit"] = {
pos = vec4(1.36, 1.77, -2.68, 0.0)--Exit offset, only vector4 type
},
["alarm"] = {
pos = vec4(2.30, 2.34, -3.1, 185.79),--Alarm security offset, only vector4 type
prop = 'v_res_tre_alarmbox'--Alarm security prop name
}
},
Loot = {--Shell type name
["worddrobe"] = {--[Loot interactable location name] = {}
coords = vec4(5.85, 1.46, -2.68, 0.0),--Loot interactable location offset
},
["microwave"] = {--[Loot interactable location name] = {}
coords = vec4(-2.57, 1.31, -2.90, 58.84),--Loot interactable location offset
prop = "prop_microwave_1",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["box"] = {--[Loot interactable location name] = {}
coords = vec4(-3.53, 1.97, -2.13, 0.0),--Loot interactable location offset
prop = "hei_prop_drug_statue_box_big",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["computer"] = {--[Loot interactable location name] = {}
coords = vec4(5.27, 1.98, -1.90, 158.94),--Loot interactable location offset
prop = "prop_pc_02a",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["bong_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.77, -2.04, -1.99, 0.0),--Loot interactable location offset
prop = "prop_disp_cabinet_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["tv_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.98, -0.41, -1.90, 89.64),--Loot interactable location offset
prop = "prop_tv_cabinet_03",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["beer_fridge"] = {--[Loot interactable location name] = {}
coords = vec4(4.29, -1.87, -1.90, 0.0),--Loot interactable location offset
prop = "prop_bar_beerfridge_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["couch"] = {--[Loot interactable location name] = {}
coords = vec4(-1.64, -1.82, -1.87, 0.0),--Loot interactable location offset
prop = "prop_rub_couch02",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(-0.74, 1.55, -2.68, 6.13),--Loot interactable location offset
},
}
},
-- ALL OTHERS SHELLS FOLLOW THE SAME PATTERN
}
Adding new shells
This file can be located in peuren_burglary\shared\sh_shells.lua.
You can create additional dealers by following this template and adding them inside the Config.Shells.
New Shell Template
['newshellname'] = {--Shell type name
model = 'new_shells_model',--Shell model spawn name
coords = {
["exit"] = {
pos = vec4(1.36, 1.77, -2.68, 0.0)--Exit offset, only vector4 type
},
["alarm"] = {
pos = vec4(2.30, 2.34, -3.1, 185.79),--Alarm security offset, only vector4 type
prop = 'v_res_tre_alarmbox'--Alarm security prop name
}
},
Loot = {--Shell type name
["worddrobe"] = {--[Loot interactable location name] = {}
coords = vec4(5.85, 1.46, -2.68, 0.0),--Loot interactable location offset
},
["microwave"] = {--[Loot interactable location name] = {}
coords = vec4(-2.57, 1.31, -2.90, 58.84),--Loot interactable location offset
prop = "prop_microwave_1",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["box"] = {--[Loot interactable location name] = {}
coords = vec4(-3.53, 1.97, -2.13, 0.0),--Loot interactable location offset
prop = "hei_prop_drug_statue_box_big",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["computer"] = {--[Loot interactable location name] = {}
coords = vec4(5.27, 1.98, -1.90, 158.94),--Loot interactable location offset
prop = "prop_pc_02a",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["bong_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.77, -2.04, -1.99, 0.0),--Loot interactable location offset
prop = "prop_disp_cabinet_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["tv_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.98, -0.41, -1.90, 89.64),--Loot interactable location offset
prop = "prop_tv_cabinet_03",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["beer_fridge"] = {--[Loot interactable location name] = {}
coords = vec4(4.29, -1.87, -1.90, 0.0),--Loot interactable location offset
prop = "prop_bar_beerfridge_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["couch"] = {--[Loot interactable location name] = {}
coords = vec4(-1.64, -1.82, -1.87, 0.0),--Loot interactable location offset
prop = "prop_rub_couch02",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(-0.74, 1.55, -2.68, 6.13),--Loot interactable location offset
},
}
},
Adding it to the other shells
To add your new dealer to the resource just put it in the Config.Shells like the example below.
Config.Shells = {
['newshellname'] = {--Shell type name
model = 'new_shells_model',--Shell model spawn name
coords = {
["exit"] = {
pos = vec4(1.36, 1.77, -2.68, 0.0)--Exit offset, only vector4 type
},
["alarm"] = {
pos = vec4(2.30, 2.34, -3.1, 185.79),--Alarm security offset, only vector4 type
prop = 'v_res_tre_alarmbox'--Alarm security prop name
}
},
Loot = {--Shell type name
["worddrobe"] = {--[Loot interactable location name] = {}
coords = vec4(5.85, 1.46, -2.68, 0.0),--Loot interactable location offset
},
["microwave"] = {--[Loot interactable location name] = {}
coords = vec4(-2.57, 1.31, -2.90, 58.84),--Loot interactable location offset
prop = "prop_microwave_1",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["box"] = {--[Loot interactable location name] = {}
coords = vec4(-3.53, 1.97, -2.13, 0.0),--Loot interactable location offset
prop = "hei_prop_drug_statue_box_big",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["computer"] = {--[Loot interactable location name] = {}
coords = vec4(5.27, 1.98, -1.90, 158.94),--Loot interactable location offset
prop = "prop_pc_02a",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["bong_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.77, -2.04, -1.99, 0.0),--Loot interactable location offset
prop = "prop_disp_cabinet_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["tv_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.98, -0.41, -1.90, 89.64),--Loot interactable location offset
prop = "prop_tv_cabinet_03",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["beer_fridge"] = {--[Loot interactable location name] = {}
coords = vec4(4.29, -1.87, -1.90, 0.0),--Loot interactable location offset
prop = "prop_bar_beerfridge_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["couch"] = {--[Loot interactable location name] = {}
coords = vec4(-1.64, -1.82, -1.87, 0.0),--Loot interactable location offset
prop = "prop_rub_couch02",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(-0.74, 1.55, -2.68, 6.13),--Loot interactable location offset
},
}
},
['trailer'] = {--Shell type name
model = 'shell_trailer',--Shell model spawn name
coords = {
["exit"] = {
pos = vec4(1.36, 1.77, -2.68, 0.0)--Exit offset, only vector4 type
},
["alarm"] = {
pos = vec4(2.30, 2.34, -3.1, 185.79),--Alarm security offset, only vector4 type
prop = 'v_res_tre_alarmbox'--Alarm security prop name
}
},
Loot = {--Shell type name
["worddrobe"] = {--[Loot interactable location name] = {}
coords = vec4(5.85, 1.46, -2.68, 0.0),--Loot interactable location offset
},
["microwave"] = {--[Loot interactable location name] = {}
coords = vec4(-2.57, 1.31, -2.90, 58.84),--Loot interactable location offset
prop = "prop_microwave_1",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["box"] = {--[Loot interactable location name] = {}
coords = vec4(-3.53, 1.97, -2.13, 0.0),--Loot interactable location offset
prop = "hei_prop_drug_statue_box_big",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["computer"] = {--[Loot interactable location name] = {}
coords = vec4(5.27, 1.98, -1.90, 158.94),--Loot interactable location offset
prop = "prop_pc_02a",--Loot interactable prop
removeOnLoot = true,--Delete the prop when looted
},
["bong_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.77, -2.04, -1.99, 0.0),--Loot interactable location offset
prop = "prop_disp_cabinet_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["tv_cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(5.98, -0.41, -1.90, 89.64),--Loot interactable location offset
prop = "prop_tv_cabinet_03",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["beer_fridge"] = {--[Loot interactable location name] = {}
coords = vec4(4.29, -1.87, -1.90, 0.0),--Loot interactable location offset
prop = "prop_bar_beerfridge_01",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["couch"] = {--[Loot interactable location name] = {}
coords = vec4(-1.64, -1.82, -1.87, 0.0),--Loot interactable location offset
prop = "prop_rub_couch02",--Loot interactable prop
removeOnLoot = false,--Delete the prop when looted
},
["cabinet"] = {--[Loot interactable location name] = {}
coords = vec4(-0.74, 1.55, -2.68, 6.13),--Loot interactable location offset
},
}
},
--- OTHER SHELLS FOLLOW THE SAME PATERN
}
Last updated