Disable Locations

Whether you're optimizing performance or customizing your server map layout, you can disable individual Ammu-Nation stores included in the TStudio Ammu-Nation pack.

Each location has its own streamed folder and entry in the config.lua. Deactivation involves two simple steps.


🧩 Step 1: Disable in config.lua

  1. Open: tstudio_zmapdata/config.lua

  2. Scroll to the Config.Interiors section.

  3. Locate the array item (inside square brackets []) for the location you want to disable.

  4. Set:

    enabled = false

✅ Example:

To disable Cypress, update:

[1] = {
    enabled = false,
    name = "v_gun2",
    coords = vec3(821.14, -2154.89, 28.62)
},

💡 Tip: Use the coords to identify which location is which.


🗑️ Step 2: Delete Folder from Stream

  1. Go to your tstudio_ammunation/stream/ directory

  2. Delete the matching folder (e.g. tstudio_location_01_cypress for Cypress)

🧼 This ensures the assets are no longer streamed, freeing memory and avoiding unnecessary load.


✅ Example: Disable Everything Except Legion

  1. Set enabled = false for all locations except Legion

  2. Keep only tstudio_location_03_legion in your stream/ folder

  3. Delete the other 10 folders


📍 Ammu-Nation Locations

Location

Folder Name

Coords (in config.lua)

Cypress

tstudio_location_01_cypress

vector3(821.14, -2154.89, 28.62)

La Mesa

tstudio_location_02_lamesa

vector3(843.29, -1028.10, 27.19)

Legion

tstudio_location_03_legion

vector3(10.91, -1105.66, 28.80)

Hawick

tstudio_location_04_hawick

vector3(247.37, -47.25, 68.94)

Morningwood

tstudio_location_05_morningwood

vector3(-1310.88, -392.01, 35.70)

Little Seoul

tstudio_location_06_littleseoul

vector3(-663.17, -940.76, 20.83)

Chumash

tstudio_location_07_chumash

vector3(-3167.30, 1084.71, 19.84)

East Highway

tstudio_location_08_easthighway

vector3(2568.83, 299.79, 107.73)

Sandy Shores

tstudio_location_09_sandyshores

vector3(1696.95, 3755.45, 33.71)

Paleto Bay

tstudio_location_10_paletobay

vector3(-327.17, 6079.26, 30.45)

Route 68

tstudio_location_11_route68

vector3(-1114.85, 2693.81, 17.55)

⚠️ Important Notes

  • Do not disable locations unless you're also removing their folder.

  • All stores are optimized to run together

  • Disabling entries in config.lua without deleting the stream folder can still stream props/collisions unnecessarily.

Last updated