Chaosforge Forum

DoomRL => Bug Reports => Topic started by: rekenne on October 06, 2011, 06:51

Title: [0.9.9.4] Enemy Vision Glitch
Post by: rekenne on October 06, 2011, 06:51
To be fair, I haven't played the last few versions, but I'm assuming this isn't intended: There're times when I've been shot by enemies that I don't have vision of. I've only seen it happen to former humans, but I'll be getting plinked away at by humans that I can't see. I wish I would have thought of it, but next time it happens, I'll try and screenshot the game and hopefully find where the enemy was without him moving. It's kinda a hard bug to get details on, sadly.
Title: Re: [0.9.9.4] Enemy Vision Glitch
Post by: Game Hunter on October 06, 2011, 07:40
Given the way that LOS works in this game, it isn't 100% mutual: sometimes you will see enemies that can't see you and vice versa. Ultimately this is buggy behavior, although it may be a pretty deep problem to fix (since it relies on a special "fast beamcasting LOS" algorithm that isn't necessarily easy to modify). This probably happens when you and the enemy are in opposite rooms and on opposite sides of the door connecting said rooms, which is the most difficult symmetry to complete in a tiled game.
Title: Re: [0.9.9.4] Enemy Vision Glitch
Post by: rekenne on October 06, 2011, 10:43
Yeah, I'd accept that. It's just something I never remember happening in older versions. To be fair, the last major version I played was 9.8.10. (I should boot up 9.8 at some point... I'm sad I lost all of my really old version to a hard drive dieing awhile ago.)

Here's an instance of being Commando'd, by the by. I made a bit of a stupid decision to try and bait it out again and it worked.

Code: [Select]
You quickly fully load the combat shotgun. You are hit! Your blue armor
 is damaged! You are hit! Boom! You are hit! Boom! Boom!
                                          ############ ###################
                                         ∙∙∙∙∙∙∙∙∙∙#∙∙ ∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙•∙∙∙∙
                                         ∙∙∙∙∙∙∙∙∙∙#∙# #∙∙∙∙∙∙∙∙∙∙∙∙∙%∙∙∙0∙
                                          #∙∙∙∙∙∙∙∙#∙# #∙∙# #∙∙∙∙∙∙∙∙∙∙∙#
                                        ∙##∙∙∙∙∙∙∙∙/∙###∙∙# #∙∙###∙∙∙∙∙∙#
                                       #∙∙∙∙∙∙∙∙∙∙∙#0∙∙∙∙∙###∙;# #∙∙###∙###
                                     ∙##∙∙∙∙∙∙##∙•∙#∙∙∙∙∙∙}∙∙∙∙###∙∙#   ∙∙∙
                                     ∙∙∙∙∙∙∙∙∙##•∙∙#∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙###∙∙∙∙∙
                                       ∙∙∙∙ #∙∙•∙∙∙#∙∙∙∙∙∙∙∙∙###∙∙∙∙∙∙∙∙∙∙∙∙
                                        #∙∙##%∙∙∙∙∙#∙###∙∙∙∙∙# #∙∙∙∙∙∙0∙##
                                   ∙∙∙∙##∙∙∙∙∙##∙∙∙#∙# #∙###∙###∙∙∙∙∙∙∙∙#
                                   ∙∙∙∙∙∙∙∙∙∙∙##∙∙∙#∙###∙# #∙∙∙∙∙∙∙###∙∙#
                                   ∙∙∙∙∙∙|∙##∙∙∙∙∙∙#∙∙∙∙∙###∙∙###∙\#  ∙∙∙∙
                                    ∙##∙∙∙∙##∙∙∙∙∙∙#∙∙∙∙∙∙∙∙∙∙# #∙∙###∙∙∙∙∙
                                      #∙∙∙∙∙∙∙∙##∙∙#∙∙###∙∙∙∙∙###∙∙∙∙∙∙∙∙∙∙
                                      ∙∙∙∙∙∙∙∙∙##∙∙#∙∙# #∙###∙∙∙∙∙∙∙###∙##
                                   ∙     #∙##∙^∙∙∙∙#∙∙###∙# #∙∙∙∙∙∙∙#
                                  ∙∙∙∙∙∙##∙##∙∙∙∙∙∙#∙∙∙∙∙∙###∙∙∙∙∙∙∙##
                                  ∙∙∙∙∙∙∙∙∙@∙∙∙∙∙∙∙#∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
                                   #####################################
 Derek Yu                   Armor : modified blue armor [1/2] (44%) (A)
 Health: 42%  Exp:  6/36%   Weapon: modified combat shotgun (8d3) [5/5] (P1)
 cautious                                                    Phobos Base  Lev13

Where I'm pretty sure the commando was up 3 spaces and left 2 spaces.
Title: Re: [0.9.9.4] Enemy Vision Glitch
Post by: tehtmi on October 06, 2011, 17:26
This is a known behavior, and it has existed for quite a few versions at least.  It isn't desired, but I don't expect that there is a drop-in fix.  There is a chance that vision will get a major revamp at some point which could fix this.