OpenXcom Forum
OpenXcom => Open Feedback => Topic started by: Shadow on October 19, 2013, 01:39:16 am
-
I've found something weird and annoying about alien sight range. Even in the day, they seem to be able to see at least 1 or 2 squares further than X-COM troops, and that's already cost me a handful of lives: shots from the fog of war in broad daylight, from a place the soldier was directly facing.
I'm not sure that's how it worked in the original. As far as I recall, during the day, if they could see you, you could see them if you were looking their way.
Within visible range
Visible range for X-Com soldiers is 20 tiles during the day and dawn/dusk, 9 at night
Aliens are not subject to the lighting penalties and have a 20-tile range at all times
-
they use the same sight algorithms as you do, i don't know what to tell you. sight range is a const int defined in the header. the only difference between them is accounting for light/dark
-
I remember aliens doing this in the original. It's probably due to another alien spotting for the shooter (if aliens work like that).
-
I remember aliens doing this in the original. It's probably due to another alien spotting for the shooter (if aliens work like that).
That's a possibility. My mistake, then.
-
even then, they're still bound by the 20-tile visible distance rule. (apart from psionic or blaster launcher stuff) it may just be something to do with reaction fire taking place, and killing the unit "before" he exposes the alien, maybe. or maybe it's an alien inside a building that makes it juuuust dark enough to obscure the alien, it could be just about anything to be honest. but yeah, i do remember taking fire from invisible aliens in the original in this regard.
-
Perhaps, we are talking about issue like this: https://openxcom.org/bugs/openxcom/issues/332
-
Could it also be the blind spot corner thing? https://www.ufopaedia.org/index.php?title=Line_of_sight
Is that in OXC? Is it a bug or is it a feature?
-
Perhaps, we are talking about issue like this: https://openxcom.org/bugs/openxcom/issues/332
Coincidentally, I was in a forest mission as well, taking cover among trees, and the firing Sectoid was close to a hillside when I spotted it a turn later.
Might be related! :o
-
have notice something a bit quirky about LoS too. As if a tile that should get revealed doesn't quite make it...
-
openxcom_git_master_2013_10_08_0216 was latest build, which calculates LoS properly.
-
Coincidentally, I was in a forest mission as well, taking cover among trees, and the firing Sectoid was close to a hillside when I spotted it a turn later.
Might be related! :o
I've noticed the same issue. Last time it was daytime in a jungle environment (crashed UFO). There were four sectoids sniping away at me from very long distance and had to move quite a bit forward until I found them
I suppose trees also could work for these 'blind spots'?
-
There's still something off about the edge of sight range as of git_master_2013_10_20_0856.
Could maybe try to experimentally reduce alien sight from 20 to 19 tiles and see how it affects things?
Sight ranges could also be externalized to the ruleset to allow for some soft modding.
-
There's still something off about the edge of sight range as of git_master_2013_10_20_0856.
This is the fix ;-)
Now, all works fine.
-
Sight ranges could also be externalized to the ruleset to allow for some soft modding.
Hmm, 3 hours ago was added PR for moving View distance into ruleset. :-)