add_brush_box
Add an axis-aligned box brush to a Quake map file, assigning it to worldspawn or a chosen entity, then save for live reload in TrenchBroom.
Instructions
Add an axis-aligned box brush. Defaults to worldspawn (entity 0); pass entity_index to add to a brush entity like func_door. Matches the map's existing texture format; on an empty map inside a Shogo workspace it writes Standard, which is the only format that game's converter reads. Writes the file; TrenchBroom-HL reloads it automatically, but asks first - and defaults to KEEPING the editor version - if the document has unsaved edits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | Yes | Maximum corner [x y z] | |
| min | Yes | Minimum corner [x y z] | |
| texture | Yes | Texture name, e.g. "__TB_empty" or a texture from map_overview | |
| map_path | Yes | Absolute path to the .map file | |
| entity_index | No | Owning entity index; default 0 (worldspawn) |