Adding Custom Shells
0r_houses - Custom Shell Integration Guide
Step 1: Defining a New House Theme
Config.HouseThemes["MyCustomTheme"] = {
Name = 'MyCustomTheme', -- Unique Theme Name
Label = 'Ultra Luxury Shell House', -- Name Displayed in Menus
IsShell = true, -- YOU MUST ABSOLUTELY SET THIS TO TRUE
ShellModel = 'shell_luxury_01', -- Object name or hash you will use in your shell code
Garage = false,
EmptyIpl = false,
ManageMenuItem = 'bkr_prop_clubhouse_laptop_01a',
MapHasTintColor = false,
OnlyIPL = false,
Image = 'newloft.png', -- Name of the image file in the web/assets/ folder
-- Note: Since shells spawn at dynamic coordinates,
-- we will calculate stash and wardrobe values dynamically inside client_editable.lua.
-- You can write empty values or offsets (differences) here for a start.
stashes = {
[1] = {
name = 'Bedroom Stash',
offset = vector3(-1.5, 2.0, 0.5), -- Distance to the center of the shell for calculation
stashWeight = 50,
Lock = true,
}
},
wardrobes = {
vector3(-2.5, 1.5, 0.5) -- Distance to the center of the shell for calculation
}
}Step 2: Spawning the Shell (When the Player Enters)
Step 3: Deleting the Shell (When the Player Exits)
Summary:
Last updated