Seeing and Hearing

JimTheDinosaur

Vault Dweller
Modder
I've been doing some testing and found some odd stuff.

For one, obj_can_hear_obj seems to be broken (at least, it always seems to stay 0 whatever I do).

obj_can_see_obj works well enough, with LoS working with blocking objects and sneak reducing the distance at which you can be spotted, etc.. The only really annoying thing I seem to have noticed is that darkness seems to have no effect on sneaking. Am I right in this (I always assumed that the Ghost perk was a +20% to sneak in darkness on top of an already existing bonus)?

Also, does anybody maybe know (approximately) the formula the game uses to arrive at the obj_can_see_obj distance? Cause I'd like to recreate it with the darkness factor included.

And one final thing connected to this: does anybody know if there's a way to find out local lighting levels, rather than of an entire map? Because I have no idea how to distinguish a small lighted up space due to, e.g. a flare.
 
Back
Top