[1.7.0] Darkvision Fix v2.0.0

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Mr Frog
Halfling
Posts: 89
Joined: Wed Mar 25, 2020 4:28 am

[1.7.0] Darkvision Fix v2.0.0

#1 Post 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.
:frog:

visage
Wyrmic
Posts: 273
Joined: Fri Jan 10, 2014 4:09 pm

Re: [1.7.0] Darkvision Fix v2.0.0

#2 Post by visage »

Wasn't this behavior supposed to be fixed in 1.7.0? Any idea what happened with that?

Mr Frog
Halfling
Posts: 89
Joined: Wed Mar 25, 2020 4:28 am

Re: [1.7.0] Darkvision Fix v2.0.0

#3 Post 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.
:frog:

Post Reply