wootguy / bspguy

Tool for editing GoldSrc maps without decompiling
The Unlicense
129 stars 30 forks source link

Removing worldspawn brush (no entities!) #55

Open moptex opened 3 years ago

moptex commented 3 years ago

I strongly ask you to add a function to remove individual worldspawn brushes (no entities!). For example, boxes, containers, etc. I'm in the middle of porting maps, and I really need this function in order to avoid decompilation. Porting maps from dod, tfc, csczsd to cs 1.6.

UnrealKaraulov commented 2 years ago

Remove... sounds like more easy that adding)

mfaizsyahmi commented 2 years ago

This is impossible, short of decompiling and recompiling. In a sense, the entire worldspawn is a single giant brush. Everything is superglued into a single piece and it's not possible to take them apart at the seams because everything not on the surface has been stripped during compilation.

Not to mention how binary space partitioning has sliced the map up into nodes and leafs along the seams of the world geometry, containers, boxes and all. Removing those world "objects" actually mean "adding" BSP volumes that weren't there during compilation so there would be no BSP leaf info, no visibility info, and everything would appear and not appear at the same time. It'd be the same as standing in the void.

UnrealKaraulov commented 2 years ago

Maybe existing Feature 'Export BSP model' works like it need?