Night vision effect - when?
Posted: Thu Feb 23, 2006 0:57
I've noticed that with the enhanced nightvision effect, some things "glow" (use the invulnerability effect) and others don't. I assume the main thrust of the effect is to make living (therefore warm) things glow and decorations not glow (although pickups glow and things like torches and fire barrels don't - so maybe it's not quite what I assumed).
Anyway, I've noticed a few things change their glow state. Projectiles glow but their death state doesn't. Hexen flechette-grenades glow as they fly through the air and whilst they sit wobbling on the ground. However, as soon as they stop wobbling, they loose the glow effect and shortly afterwards explode (they're probably just projectiles too).
None of the above is a complaint BTW, it just leaves me wondering what it is that GZdoom is looking for before it makes a thing glow (I'm assuming it checks an item flag of some sort) and if it is possible to set up items to glow or not when defining things in DECORATE.
Anyway, I've noticed a few things change their glow state. Projectiles glow but their death state doesn't. Hexen flechette-grenades glow as they fly through the air and whilst they sit wobbling on the ground. However, as soon as they stop wobbling, they loose the glow effect and shortly afterwards explode (they're probably just projectiles too).
None of the above is a complaint BTW, it just leaves me wondering what it is that GZdoom is looking for before it makes a thing glow (I'm assuming it checks an item flag of some sort) and if it is possible to set up items to glow or not when defining things in DECORATE.