YaLTeR / SourcePauseTool

This was once just a plugin to prevent game unpausing.
Other
87 stars 23 forks source link

Add entity oob detection #323

Closed UncraftedName closed 1 year ago

UncraftedName commented 1 year ago

Adds the following:

This is a proof of concept entity oob checker using the OBB center. I used this point because it is what determines when non-player entities get teleported; during normal™ gameplay this point should not go oob. A small box is shown for oob entities, and the list can be shown in the hud or printed to console. image image image

For now, I will say this is a proof of concept since it has not been officially decided how to determine if an ent is oob. Also, there is a blacklist of class names that are ignored in the entity collection - this list is probably not complete and may be better as a whitelist. The hope is that it will get updated over time if this feature is used and people report bugs.

lipsanen commented 1 year ago

tyvm