Entity sets
Which interiors have switchable entity sets, their defaults, and how to change them.
An entity set is a named group of props inside an MLO that can be turned on or off at runtime: a vault full of gold, a set of shutters, a logo, an alternate decor style. Several interiors in the pack ship with a small client script that enables the default sets when the resource starts.
Changing the defaults
There are two ways, depending on the package.
Editable scripts
For Maze Bank, Snr.Buns and Undercity the entity-set script is excluded from escrow, so you can open it and flip enable on any set, then restart the resource:
entitySets = {
{ name = 'room14_seccode_01', enable = true }, -- switched on
{ name = 'vault_props', enable = false }, -- switched off
}Encrypted scripts
For Benny's, Car Meet, Pacific Bank and Record A Studio the script is inside the escrow and cannot be edited. Change the sets from your own client script instead; it runs after the resource's defaults and wins:
-- Example: close the Pacific Bank vault trolleys until a heist opens them
CreateThread(function()
local interior = GetInteriorAtCoords(260.01, 220.73, 108.65)
while not IsValidInterior(interior) do
Wait(500)
interior = GetInteriorAtCoords(260.01, 220.73, 108.65)
end
DisableInteriorProp(interior, 'room16_vault_trolleys') -- or EnableInteriorProp
RefreshInterior(interior)
end)Entity sets are client-side. Sync the state through your framework if every player should see the same thing.
Sets by resource
nopixel-bennys
Script: encrypted. Interior np_bennys_milo_ at (944.31, -1499.57, 36.87).
| Set | Default |
|---|---|
bennys_logo | on |
bennys_carlifts | on |
nopixel-carmeet
Script: encrypted. Interior np_tuner_car_meet_milo_ at (1113.89, -1806.53, 20.03).
| Set | Default |
|---|---|
np_carmeet_entset_1 | on |
np_carmeet_entset_2 | on |
np_carmeet_entset_3 | off |
np_carmeet_entset_4 | off |
np_carmeet_entset_5 | on |
np_carmeet_entset_6 | off |
np_carmeet_entset_7 | on |
np_carmeet_entset_8 | off |
nopixel-housing
nopixel-housingnp_housing_base.lua requests ipls and has some additional optional housing data.
nopixel-mazebank
Script: 3dp_mazebank_entitysets.lua, editable. Interior 3dp_heist_mb_milo at (-1306.92, -822.70, 20.51).
| Set | Default |
|---|---|
room14_seccode_01 to room14_seccode_09 | off (security code panels, enable the one your heist script uses) |
vault_props | on (gold and cash in the vault) |
nopixel-pacificbank
Script: encrypted. Interior np_sm_pb_milo at (260.01, 220.73, 108.65). Every room is its own set, all on by default; room16_vault_trolleys is the one you will want to script (gold and cash trolleys).
| Set | Default |
|---|---|
room01_entrance, room02_mainhall, room03_sideentrance, room04_roofstairs | on |
room05_office01 to room12_office08, room13_mainoffice | on |
room14_vaultstairs, room15_vaultbasement, room16_vault | on |
room16_vault_trolleys | on |
nopixel-snrbuns
Script: 3dp_snrbuns_entitysets.lua, editable. Interior 3dp_snrbuns_milo at (-515.79, -706.09, 38.78).
| Set | Default |
|---|---|
shutter01 to shutter10 | off (roll-down shutters for each food plaza unit) |
pizza, coffee, hotdog, sushi, smoothie, burger, sandwich, kebab, taco, noodle | on (the ten food stalls) |
Turn a stall off and its shutter on to "close" a unit.
nopixel-studio
Script: encrypted. Interior np_studio_milo_ at (487.47, -72.19, 57.16).
| Set | Default |
|---|---|
np_studio_one, np_studio_two, np_studio_six | on |
np_studio_three, np_studio_four, np_studio_five | off |
nopixel-undercity
Script: 3dp_undercity_entitysets.lua, editable. The sewer network is built from many tunnel segments (3dp_uc_milo01_ onwards), each with a styleXX_Y decor set that is on by default. Change a segment's style by editing its entry.
nopixel-fleeca (legacy)
Script: encrypted. Six interiors np_fleeca01_milo_ to np_fleeca06_milo_, each with room04_cashtrolley and room05_cashtrolley (on everywhere except the Pink Cage branch). Superseded by nopixel-fleeca-new.
Resources with IPL scripts instead
These do not toggle entity sets but load or unload map data on start:
nopixel-cargoshiprequests the IPLs for six ship placements and pins the bridge interiors.nopixel-fleeca-newdisables the six vanilla Fleeca interiors.nopixel-mission-row-police-departmentdisables the vanillav_policehubinterior.nopixel-ottoshubremoves the vanilla Otto's and pizza exteriors and loads the replacement 24/7.nopixel-lodlightsremoves vanilla distant LOD-light IPLs.