Page 1 of 1

[1.7.0] Darkvision Fix v2.0.0

Posted: Mon Nov 23, 2020 3:13 am
by Mr Frog
Download link: https://te4.org/games/addons/tome/darkvision_fix

Tweaks LOS code for both NPCs and the player to properly and consistently respect Dark Vision when determining whether Creeping Darkness blocks sight.

Targeting and projection now properly treat Creeping Darkness as transparent if you have Dark Vision, just like any other tile that can be seen through, eliminating awkward behavior when targeting diagonally and/or around corners. If you do not have Dark Vision, these tiles will be treated as opaque. Additionally, NPCs will properly be able to see and target through their own creeping darkness without hindrance. Similar effects to Creeping Darkness such as Cursed Miasma should also be corrected by this addon.

This addon hard-overwrites engine and module functions. As such, I cannot fully guarantee compatibility or stability.

Re: [1.7.0] Darkvision Fix v2.0.0

Posted: Tue Nov 24, 2020 2:22 am
by visage
Wasn't this behavior supposed to be fixed in 1.7.0? Any idea what happened with that?

Re: [1.7.0] Darkvision Fix v2.0.0

Posted: Tue Nov 24, 2020 3:27 am
by Mr Frog
visage wrote:Wasn't this behavior supposed to be fixed in 1.7.0? Any idea what happened with that?
It was supposed to be fixed. It was not in fact fixed. I don't know what the fix they implemented actually was or what it did.