Page 1 of 1

Night vision effect - when?

Posted: Thu Feb 23, 2006 0:57
by Enjay
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.

Posted: Thu Feb 23, 2006 1:21
by Graf Zahl
It's simple. Monsters, projectiles and pickup items glow.

Projectiles lose their missile status when they explode, hence the change in appearance.

Posted: Thu Feb 23, 2006 2:08
by Caligari_87
Maybe any frame flagged BRIGHT should glow instead. It would make for a more realistic night-vision effect, because something that gives off light would glow extremely bright in night-vision goggles. I'd say go for that, if you could.

8-)

Posted: Tue Feb 28, 2006 20:31
by Tormentor667
This effect should not be set to on at standard... it'd be a feature of GZDoom

Posted: Tue Feb 28, 2006 20:40
by Paul
I like this effect. Seriously.