Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TOOLS] func_detail_blocker support in VBSP #407

Open
newgreenshoot opened this issue Feb 23, 2025 · 0 comments
Open

[TOOLS] func_detail_blocker support in VBSP #407

newgreenshoot opened this issue Feb 23, 2025 · 0 comments
Labels
Enhancement New feature or request Tools Mapbase - Involves the map compilers

Comments

@newgreenshoot
Copy link

func_detail_blocker is a brush entity from L4D that prevents detail sprites and props from being placed by the compiler inside of its volume, allowing finer-grained control over their placement, without needing to use a separate material or cut up displacements.

Unfortunately, we don't have the map compiler code from post-Orange Box branches, but this is a very simple function, and it was reimplemented by wouterpleizier in 2014. To my knowledge, this preceded any leaks that included map compiler code new enough to support func_detail_blocker, and a quick comparison of it against the leaked code suggests that it has no connection, so it should be clean.

The relevant commit can be found here, it would be trivial to cherrypick: wouterpleizier@804ff1c

Unlike L4D's implementation of the brush entity, it doesn't get written to the BSP and is only used during map compile, so the entity shouldn't need to be linked in server code?

This needs a corresponding FGD update as well. It doesn't take any KVs or I/O, just an empty @solidClass.

@newgreenshoot newgreenshoot added Enhancement New feature or request Tools Mapbase - Involves the map compilers labels Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Tools Mapbase - Involves the map compilers
Projects
None yet
Development

No branches or pull requests

1 participant