QodotPlugin / qodot-plugin

(LEGACY) Quake .map support for Godot 3.x
MIT License
960 stars 70 forks source link

Texture-based brush entity types #79

Closed Shfty closed 4 years ago

Shfty commented 4 years ago

Currently there's no functionality in place to match Quake's handling of liquid volumes - the only texture-based checking done at the moment is for CLIP and SKIP.

While it can be worked around by defining custom brush entity classes, it would be good to have as a simple property-free alternative. Need to generalize the CLIP/SKIP setup by designing an entity definition-like system for defining custom brush types based on textures.

Shfty commented 4 years ago

Implemented and working in the latest commit. CLIP and SKIP remain separate, since they apply to entities as well as the worldspawn. There may be room for generalizing them down the line alongside support for the extended per-face data from Q2 / Q3 / Daikatana, but for now I think it's fine.