slopbroom is an AI-built fork of TrenchBroom, the level editor for Quake-engine games — effectively every change was written by an AI coding assistant (hence the affectionate name), directed by the repository owner. It adds editor features for an FTEQW-based CS/CoD-style mod.
Pick a prop's model from a live thumbnail grid — folder dropdown, file-type filter, and an in-viewport preview.
- Visual model / sprite picker — browse
models/andsprites/as a thumbnail grid for anyprop_*orenv_sprite, with a folder dropdown and file-type filter. - Material-decal picker — browse loose
gfx/decalsPNGs and place infodecals, rendered in the viewport at their true in-engine size, with a folder dropdown. - Lightmap tooling — overlay each face's luxel grid to see the lightmap resolution you're
actually compiling (including per-
func_group_world_units_per_luxeloverrides), and preview the compiled.bsp's baked lighting in the editor, with a lightmap-only mode. - Modern textures — mounts every configured package format (
.pakand.pk3), loads BC7.dds(CPU-decoded, since GL 2.1 has no BPTC) plus loose PNG/TGA, prefers a loose true-colour image over a same-named wad lump, and generates mipmaps so distant surfaces stop shimmering. - Texture filter controls — nearest or bilinear texels, anisotropic filtering, and a mip LOD-bias slider.
- Hammer-style VisGroups — multi-membership visibility groups.
- Hammer-style Paste Special (
Ctrl+Shift+V) — paste N copies with an accumulative offset & rotation, optionally grouped, with pasted entity names made unique (linkedtarget/targetnamerewired within each copy) and an optional name prefix. - View filters — show/hide brushes, point entities, and tags (clip, detail, trigger, …) live.
- Hammer
.vmf/.jmfimport. - Entity Report — a sortable, filterable table of every entity in the map.
- Default texture scale preference + a Draw-Shape tool-bar control.
- Editor-render fidelity: IQM forward-axis fix, GoldSrc studiomodel crash guard, image-sprite
alpha blending + Half-Life/Source
rendermode(additive / glow / colour / alpha), andlightboxes tinted by their own colour.
Compiled lighting preview — the same view unlit, then rendering the compiled .bsp's baked
lightmaps, then lightmap-only:
Entity Report — every entity in the map, sortable and filterable:
View filters — toggle brushes, entities, and tags to declutter the viewport:
VisGroups — Hammer-style multi-membership visibility groups:
Paste Special (Ctrl+Shift+V) — N copies with an accumulative offset & rotation, optional
grouping, and automatic unique entity names:
Built with the same toolchain as upstream (CMake + Ninja + Qt 6); see the
upstream build docs. Windows helper
scripts tb_build.bat / tb_rebuild.bat are included.
slopbroom tracks upstream TrenchBroom and stays licensed under the GNU GPL v3
(see LICENSE.txt); all upstream copyright notices are preserved, and upstream
history is kept in git (and as the upstream remote).
A personal, AI-built fork ("slop" — but it works well). Not affiliated with or endorsed by upstream TrenchBroom; please file issues here, not upstream.





