andrei-drexler / ironwail

High-performance QuakeSpasm fork
GNU General Public License v2.0
526 stars 49 forks source link

[feature request] Filter r_showbboxes by classname substrings. #144

Closed andrey-budko closed 1 year ago

andrey-budko commented 1 year ago

What do you think about ability to filter r_showbboxes? Could be useful for finding secrets or other things.

Implementation: https://github.com/andrey-budko/ironwail/commit/0e7b1760cd74df787581d60d0efc85bd53f00427

Syntax: r_showbboxes 1 r_showbboxes_filter "artifact,=trigger_secret"

Show only edicts with artifact substring in classname, and trigger_secret

andrey-budko commented 1 year ago

In action: https://www.youtube.com/watch?v=dMc5tf96bWY

andrei-drexler commented 1 year ago

This does look quite useful.

andrey-budko commented 1 year ago

same, but without filter var copying/splitting for each edict

https://github.com/andrey-budko/ironwail/commit/4cf9574feadeb79e3d75628f56f31a62f73a8ff3