Entity Sets

This guide helps you control interior details (like open/closed doors, props, decorations, etc.) by toggling entity sets in your map configuration.

1

Open the Config File

tstudio_zmapdata/config.lua

Look for the section:

Config.EntitySets = { ... }

2

Find the Interior You Want to Edit

Each entry looks like this:

{
    name = "Interior Name",
    coords = vector3(x, y, z),
    ipl = "ipl_name",
    entitySets = {
        {name = "entity_set_name", enable = true},
        {name = "another_set", enable = false}
    }
}

Example:

{
    name = "Jurassic Jackpot",
    coords = vector3(-247.24, -919.34, 40.52),
    ipl = "johanni_jurassic_jackpot_milo",
    entitySets = {
        {name = "casino_table_yes_w_car_podium", enable = true},
        {name = "casino_table_no", enable = false}
    }
}
3

Enable or Disable the Entity Sets

To enable an entity set:

{name = "your_entity_set", enable = true}

To disable an entity set:

{name = "your_entity_set", enable = false}

Tip: Avoid enabling two opposing sets (like both on and off) at once.

4

Save and Restart the Resource

Save config.lua and restart the resource in your server.


✅ Result

Your selected interior will now load with only the enabled entity sets active. You can use this to:

  • Toggle doors (open/closed)

  • Enable props or decorations

  • Switch furniture layouts

  • Create seasonal or event-based variations

Last updated