Bablo ResourcesDocs

Box Select

Box Select selects your placed props with a box that you drag across the screen. The same box also counts the GTA map props inside it, so you can turn them all into props of your map (adopt them) or hide them in one go.

Pick Box Select in the top bar. Esc goes back to the Select tool. The move and rotate handles are hidden while the tool is open.


Dragging a box

Hold the left mouse button and drag across the world. The box is drawn while you drag. When you let go:

  • Every placed prop whose position, or any corner of its outline box, lies inside the box is selected. Locked props are left out.
  • Hold Ctrl when you let go to add these props to the selection you already had. Without Ctrl, the box replaces the selection.
  • The GTA props inside the box are counted. Only their position counts, and only props within Config.BoxSelect.reach (100 metres by default) of the camera.

A short click without dragging works like a normal click: it selects the placed prop under the cursor.

ResultMessage
Placed props are selectedSelection now holds 6 object(s).
Only GTA props were caughtNo placed objects in the box, but it caught 14 GTA prop(s). Right-click the box to adopt or erase them.
Nothing insideThe box is empty: no placed objects and no GTA props inside.

The Box Select panel shows Drag a box over the world until you drag the first box. After that it shows the size of your selection, 6 object(s) in selection, and the GTA props in the box, 14 GTA prop(s) caught. Once you adopt props, the panel header counts them, for example 14 adopted. The count starts at zero each time you open the tool.

Which GTA props are caught

Only GTA props (objects) count. These are never caught:

  • Buildings, vehicles and peds.
  • Props that another resource created or controls.
  • Props you placed with the editor. They are selected instead.

After you let go, the box is kept as an area of the screen, not of the world. While the tool is open, the GTA props in that area are counted again every Config.BoxSelect.rescanMs (500 ms). Keep the camera still between dragging the box and using the box menu, because flying changes which props are inside. X clears the box.


The box menu

Right-click while the tool is open to open the box menu. The top line shows what the box holds, for example 6 selected, 14 map props.

Menu itemShown whenWhat it does
Adopt all GTA props insideThe box caught GTA propsTurns them into props of your map. See Adopting GTA props.
Erase all GTA props insideThe box caught GTA propsHides them. See Erasing GTA props.
DeletePlaced props are selectedDeletes every selected prop. See Deleting placed props.

With nothing selected and no GTA props in the box, the box menu does not open and a right-click works as usual. If the GTA props left the box before you picked an item: There’s nothing here to adopt or erase.


Adopting GTA props

Adopting turns GTA map props into props of your map. Each adopted prop is saved in the database on your working map, exactly like a prop you placed yourself, and the original GTA prop is hidden on that spot. From then on you can move, rotate, freeze or delete it like any placed prop, and players see your version while the map is enabled. Use it to move a bench or a fence that GTA put there, or to tidy up a whole street, without searching the browser for the same models.

  1. Drag a box over the GTA props.
  2. Right-click and pick Adopt all GTA props inside.

For every caught prop the editor:

  1. Loads its model. A model that does not load within Config.BoxSelect.modelTimeoutMs (1500 ms) is skipped.
  2. Creates a placed prop with the same model, position and rotation on your working map.
  3. Removes the original GTA prop and saves a hide with the new prop. The hide removes GTA props of that model within Config.BoxSelect.softHideRadius (1.0 metre) of the spot whenever they stream in again, so the original does not come back while the map is on.

All props of one adopt are saved in a single request: 14 GTA prop(s) are now map objects you can edit. Props that could not be converted are counted: Couldn’t convert 2 prop(s).

Limits

  • One adopt converts at most Config.BoxSelect.maxAdopt props (250 by default). When the box caught more, the rest stay in the box: 50 prop(s) were skipped because one request can only carry so many. Run it again for the rest. Right-click and adopt again for the next batch.
  • Adopted props count towards the object limits of the map and of the server, Config.MaxObjectsPerMap (5000) and Config.MaxObjectsTotal (50000). When there is no room, nothing is adopted: This map has reached its object limit. or The server object limit is reached.
  • You need a working map. Without one: No working map selected.

Adopting a single prop

To adopt one GTA prop, right-click it with the Select tool and pick Adopt into the map. The top of that menu shows the model name. It works the same way as adopting from the box. When the prop can’t be adopted, the menu shows the reason in red and the item is greyed out, see Delete Mode.

The Workshop’s History tab lists each adopted prop as Adopted world prop prop_bench_01a.

Adopted props keep their GTA model name. The server only creates new props from models in the prop catalogue (data/props.json) and Config.CustomProps. An adopted prop whose model is not in the catalogue can be moved, edited and deleted, but pasting a copy of it, Clone, Clone On The Spot and the Array Tool are refused with That model isn’t allowed.


Erasing GTA props

Erase all GTA props inside hides every GTA prop in the box. Each prop gets its own hide, exactly as if you clicked it in Delete mode: Hid 14 GTA prop(s). When none of them can be hidden: There was nothing there that can be hidden.

How hides are stored and how to bring a prop back is explained on Delete Mode.


Deleting placed props

Delete in the box menu deletes every prop in the selection at once. Delete on the keyboard does the same. This includes props you added to the selection with Ctrl or selected before you opened the tool.

There is no confirmation. One undo brings all deleted props back.


Undo

Every adopt, erase and delete is one step in the undo history, so Ctrl + Z takes back the whole action:

ActionUndo
AdoptDeletes the adopted props and removes their hides.
EraseRemoves the hides, so the GTA props can show again.
DeleteBrings the deleted props back.

See Undo & Redo.


Settings

LUA
Config.BoxSelect = {
    maxAdopt = 250, -- most map props one adopt converts; the rest stay in the box for another pass
    reach = 100.0, -- map props farther than this from the camera are left out of the box (m)
    rescanMs = 500, -- how often the props in the box are counted again (ms)
    feedbackMs = 250, -- how often the panel is refreshed while the tool is open (ms)
    modelTimeoutMs = 1500, -- how long an adopt waits for a prop's model to load before skipping that prop (ms)
    softHideRadius = 1.0, -- an adopted copy hides the original within this radius (m, 0.5-2)
}
SettingWhat it does
maxAdoptMost GTA props one adopt converts (1 to 100000). The server refuses larger requests.
reachGTA props farther than this from the camera are not counted, in metres.
rescanMsHow often the GTA props in the box are counted again, from 100 to 10000 ms.
feedbackMsHow often the panel is refreshed while the tool is open, from 50 to 500 ms.
modelTimeoutMsHow long an adopt waits for a model to load before it skips that prop, from 100 to 10000 ms.
softHideRadiusHow far around an adopted prop’s spot the original is removed, from 0.5 to 2 metres.

See Configuration.