Bablo ResourcesDocs

Delete Mode

Delete mode is the eraser of the editor. Point at something and click: a prop you placed is deleted, a GTA map prop or building is hidden. Hidden GTA props are saved on your map, so they stay hidden for players and after a restart.

Pick Delete mode in the top bar. Opening it clears the selection, and the move and rotate handles are hidden while it is open. Esc goes back to the Select tool.


Removing props

Move the cursor over a prop. It gets a red box and the panel shows its model name under Aimed at. Click to remove it, or press Delete, which does the same for the prop under the cursor.

You clickResult
A prop placed with the editorIt is deleted, exactly like Delete in its right-click menu. A locked prop stays: Object is locked.
A GTA map prop or buildingIt is hidden: Hid 1 GTA prop(s).
Nothing that can be removedNothing removable there. Aim at a prop or object and click again.

With nothing under the cursor, Aimed at shows Nothing to remove here. The panel header counts what you removed since you opened the tool, for example 5 removed so far.

A click hides only the prop you clicked. The hide covers the spot where it stood, out to half the size of the prop (at least 0.5 metres), and only that model. Another prop of the same model farther away than that stays. To hide a whole group, see Erasing from the right-click menu.

Lights can’t be removed in Delete mode. Use the Light tool for them.

Deleted placed props are kept in the database for Config.PurgeDeletedAfterDays (7 days by default) so undo can bring them back. After that they are removed for good.


Props that can’t be removed

Some props get a grey box instead of a red one. The panel shows the reason, and clicking the prop shows the same text:

PropMessage
A vehicle or a pedOnly GTA map props and buildings can be hidden, not vehicles or peds.
A prop that another resource created or controlsAnother resource controls this prop, so it stays.
A prop that has just streamed outThis prop has streamed out, there’s nothing left to remove.

The colours of the red and the grey box are set with colorDelete and colorRefused in Config.Eraser.


Erasing from the right-click menu

Right-click a GTA prop, for example with the Select tool or in Delete mode. The top of the menu shows the model name. If the prop can’t be removed, the reason is shown in red and the erase and adopt items are greyed out. Vehicles and peds get no such menu.

ItemWhat it does
Erase just this oneHides this prop, the same as a click in Delete mode.
Erase all of this model nearbyHides every GTA prop of the same model around this one, see below.
Adopt into the mapTurns the prop into a placed prop of your map. See Box Select.

Erase all of this model nearby hides every GTA prop of that model within Config.Hides.radius (10 metres by default) of the prop you clicked. The radius is kept between Config.Eraser.nearbyRadiusMin (1 metre) and Config.Eraser.nearbyRadiusMax (40 metres), and the server never stores a radius below 0.5 or above 100 metres. The whole area is saved as one hide, so the message reads Hid 1 GTA prop(s). however many props it covers. Props you placed with the editor are not hidden.

To hide every GTA prop in an area, whatever the model, use Erase all GTA props inside in Box Select.

Clicking a GTA prop with the Select tool shows That’s a GTA world prop - right-click it to erase or adopt it. at most once every Config.Selection.worldHintCooldownMs (10 seconds).


How hidden props are stored

Every hide is one row in the bablo_mapeditor_hides table, saved on your working map:

ColumnHolds
map_idThe map the hide belongs to.
modelThe model name of the hidden prop. When the game has no name for it, its hash, for example 0x1A2B3C4D.
coordsWhere the prop stood.
radiusHow far around that spot props of this model are hidden, in metres. Hides made by adopting a prop have a negative radius.
creatorThe server ID of the editor who erased it.
restored1 once the prop was brought back. The row is kept, so undo can hide it again.
  • Players get the hides of every enabled map. When a map is switched off, its hides are lifted together with its props and the GTA props come back.
  • A hide tells the game to hide that model within the radius. On top of that, every player’s game removes copies of the hidden prop that streamed back in, every Config.Hides.sweepMs (5000 ms). Hides made by adopting only use this second part, so they remove nothing but the original prop.
  • Hides are never purged. Config.PurgeDeletedAfterDays only clears deleted placed props and lights.
  • The Workshop’s Maps tab shows the number of hides of each map in the Hides column, and the World Map marks them.
  • The JSON export and a map published as its own resource keep the hides. The other export formats leave them out. See Import, Export & Publish.

Bringing an erased prop back

The GTA props you erased on your working map are listed in the Prop Browser at the bottom of the screen, under Erased World Props. The tab shows how many there are, and the search field filters them by model name. Each card shows the model name, the number of the hide and its position.

ButtonWhat it does
Go to propFlies the camera to the spot. When you were not flying, the free camera is turned on first.
RestoreRemoves the hide: The GTA prop is back in view.

When the list is empty it shows GTA props you hide are listed here. A hide that another editor restored in the meantime gives Object not found.

Go to prop keeps the direction the camera looks in and stops Config.Eraser.focusFactor (4) times the hide’s radius away from the spot, but never closer than focusNear (4 metres) or farther than focusFar (40 metres). When the camera looks up more steeply than focusSteepPitch (70 degrees), it is placed above the spot instead.

Only hides on your working map can be restored. To restore a hide of another map, make that map your working map first.


Undo

Each click, each erase from the menu and each restore is one step in the undo history:

ActionCtrl + ZCtrl + Y
Hiding a GTA propBrings the prop back.Hides it again.
Deleting a placed propBrings the prop back.Deletes it again.
RestoreHides the prop again.Restores it again.

If another editor changed the same hide in the meantime: Someone else got to that hidden prop first, so this step had nothing to change. See Undo & Redo.


Settings

LUA
Config.Hides = {
    radius = 10.0, -- "Erase matching nearby" hides every prop of the same model within this distance (m)
    sweepMs = 5000, -- how often copies of hidden props that stream back in are removed again (ms)
}
 
-- Delete mode tool.
Config.Eraser = {
    nearbyRadiusMin = 1.0, -- smallest radius "Erase matching nearby" uses (m); the server floor is 0.5
    nearbyRadiusMax = 40.0, -- largest radius it uses (m); the server cap is 100
    hoverMs = 75, -- how often the prop under the cursor is looked up (ms)
    feedbackMs = 250, -- least time between panel updates (ms)
    colorDelete = { 235, 55, 55 }, -- box around a prop a click will remove (r, g, b)
    colorRefused = { 150, 150, 150 }, -- box around a prop that cannot be removed (r, g, b)
    boxAlpha = 235, -- box opacity (0-255)
    focusFactor = 4.0, -- "Fly to it" stops this many times the hide's radius from the spot
    focusNear = 4.0, -- ... but never closer than this (m)
    focusFar = 40.0, -- ... and never farther than this (m)
    focusSteepPitch = 70.0, -- a camera pitched more than this up or down flies in from above instead (degrees)
}
SettingWhat it does
Config.Hides.radiusThe radius of Erase all of this model nearby, in metres.
Config.Hides.sweepMsHow often every player’s game removes copies of hidden props that streamed back in.
nearbyRadiusMin, nearbyRadiusMaxThe smallest and largest radius Erase all of this model nearby uses.
hoverMsHow often the prop under the cursor is looked up.
feedbackMsLeast time between two updates of the panel.
colorDelete, colorRefused, boxAlphaColour of the red box, of the grey box, and their opacity.
focusFactor, focusNear, focusFar, focusSteepPitchWhere Go to prop puts the camera, see Bringing an erased prop back.

See Configuration and Hidden map props.