Chaosforge Forum

DoomRL => Bug Reports => Topic started by: GinDiamond on October 12, 2013, 13:41

Title: "Teleporting Bullet" - aiming and LOS problem
Post by: GinDiamond on October 12, 2013, 13:41
In 0.9.9.7, there seems to be a sort of LOS issue with aiming and firing a weapon.

When Im firing around corners of pillars, sometimes there's a gap in the firing sight. I pushed a barrel into that "missing" square and fired repeatedly using a pistol, and it never seemed to hit the barrel.

Moving the barrel to the targeted square ensued a hasty explosion.


Fire -- Choose target...                                                       
 You see : out of vision                                                       
 ##############################################################################
 #........................#........................#...................       #
 #.................###....#........###.............#......###..###.}|..  ###  #
 #............}....###....#.0.###..###...###............###..###0.###  ###  #
 #.###........###..###....#...###..###...###.......#..###.###..###..###  ###  #
 #.###........###.........#...###......0.###......./..###.......@*..###       #
 #.###.###....###..^......#..\.....0.###......###..#..###...|}###|*.0.....    #
 #.....###................#.###......###......###..#..........###.}*^....     #
 #.....###....|}....###%..#.###......###...0..###..#...###....###..*....     #
 #..\....}.....###..###...#.###.###............ ...#...###..... 0.###*..  .   #
 #.###........###}.###%..#.....###.......###......#...###....  ..###.*.      #
 #.###|........###>.......#.....###...    ### .....#.... ...### ..### %  ###  #
 #.###.}..###.......###...#............   ###......#.###   .### ..h    X ###  #
 #........###.......###...+..###...###       0###..#.###    ### ..0  ### ###  #
 #...^###.###..###..###...#..###...###   ###  ###..#.###             ###      #
 #....###......###........#..###..0###   ###  ###  #.                ###      #
 #....###......###........#...  ....     ###       #                        \ #
 #...............}........#.... .....              #                          #
 #......................}.#........                # h   }                    #
 ##############################################################################
  Patrick                    Armor : green armor [1/1] (40%)                   
  Health: 97%  Exp:  3/53%   Weapon: chaingun (1d6)x4 [40/40]                   
  cautious                                                    Phobos       Lev3


With barrel:


Fire -- Choose target...                                                       
 You see : out of vision                                                       
 ##############################################################################
 #........................#........................#......................    #
 #.................###....#........###.............#......###..###.}|....###..#
 #............}....###....#.0.###..###...###............###..###0.###..###..#
 #.###........###..###....#...###..###...###.......#..###.###..###..###..###..#
 #.###........###.........#...###......0.###......./..###.......@*..###.......#
 #.###.###....###..^......#..\.....0.###......###..#..###...|}###.*.0.........#
 #.....###................#.###......###......###..#..........###.}*..........#
 #.....###....|}....###%..#.###......###...0..###..#...###....###..*.........#
 #..\....}.....###..###...#.###.###............ ...#...###......0.###*........#
 #.###........###}.###%..#.....###.......###......#...###........###.0.......#
 #.###|........###>.......#.....###...    ### .....#........###...###.X..###..#
 #.###.}..###.......###...#............   ###......#.###....###.........###..#
 #........###.......###...+..###...###       0###..#.###...|###..}...###.###..#
 #...^###.###..###..###...#..###...###   ###  ###..#.###...}........###......#
 #....###......###........#..###..0###   ###  ###  #.................###......#
 #....###......###........#...  ....     ###       # .......................\.#
 #...............}........#.... .....              # .........................#
 #......................}.#........                #  ...}....................#
 ##############################################################################
  Patrick                    Armor : green armor [1/1] (40%)                   
  Health: 110% Exp:  3/55%   Weapon: chaingun (1d6)x4 [20/40]                   
  cautious                                                    Phobos       Lev3

Title: Re: "Teleporting Bullet" - aiming and LOS problem
Post by: LuckyDee on October 12, 2013, 15:07
See here (http://forum.chaosforge.org/index.php/topic,6515.0.html) as well. Remember that cornershooting is actually a bug, so saying 'it doesn't work properly' actually makes no sense.

That being said, I think it should be fixed, if remotely possible.
Title: Re: "Teleporting Bullet" - aiming and LOS problem
Post by: GinDiamond on October 13, 2013, 07:49
Is there any documentation on how the LOS works?

Im very interested on how this works.