SnowyMouse / invader

Free toolkit for Halo: Combat Evolved for creating maps and assets
https://invader.opencarnage.net
Other
59 stars 10 forks source link

[invader-build] implement this effect warning. #223

Open Aerocatia opened 2 years ago

Aerocatia commented 2 years ago

We probably want this info in invader-build too.

WARNING: effect <path> with an alpha tint of zero, but that particle has nonlinear tinting and will never draw.
Aerocatia commented 2 years ago

The error condition is if the effect tag particles block has an entry with the tint upper bound and/or tint lower bound alpha set to 0 while referencing a particle tag with the nonlinear tint flag checked.

This is another cross-tag check