SWMGAMERS.com Forums
https://www.swmgamers.com/forums/

Shot?
https://www.swmgamers.com/forums/viewtopic.php?f=53&t=357
Page 1 of 1

Author:  Rimeeri [ Thu Sep 06, 2007 10:38 pm ]
Post subject:  Shot?

This came up in a Game with Dean. Is this a shot?
Image

Author:  dvader831 [ Thu Sep 06, 2007 11:05 pm ]
Post subject: 

Honestly, to me, it looks like two pillars/trees/whatever are being clipped in S14 and T13, but I can't get it to zoom to be sure.

Author:  Sithborg [ Fri Sep 07, 2007 8:26 am ]
Post subject: 

In the screen I see, no. It is clearly clipping a pillar.

Author:  LoboStele [ Fri Sep 07, 2007 8:34 am ]
Post subject: 

Easiest way to determine things like this is to look at the angle. If you run a straight 45 degree angle (basically, from corner to opposite corner), then you will see that the two corners you're drawing LOS to/from, create a perfect 45 degree angle, which automatically means it clips those wall corners in the middle of the map.

If you count squares from the attacker to the target, you will see it is the exact same number of squares 'up' as 'over' which means it's a perfect 45 degree angle.

No shot allowed.

Author:  NickName [ Fri Sep 07, 2007 3:28 pm ]
Post subject: 

LoboStele wrote:
Easiest way to determine things like this is to look at the angle. If you run a straight 45 degree angle (basically, from corner to opposite corner), then you will see that the two corners you're drawing LOS to/from, create a perfect 45 degree angle, which automatically means it clips those wall corners in the middle of the map.

If you count squares from the attacker to the target, you will see it is the exact same number of squares 'up' as 'over' which means it's a perfect 45 degree angle.

No shot allowed.


Yup. This is the way to check diagonals. And it works for any up/over ratio aside from the 1:1 that creates a 45 degree angle just to add on to what LoboStele is saying.

You can do 2x3, 1x4 or whatever to find the series of corners that are the "perfect diagonal" and block LOS. Then you just figure out whether the target in question falls on the legal or illegal side of the "perfect diagonal" series of corners.

Does that make sense without visuals?

Author:  nitrusuicide [ Sat Sep 08, 2007 1:08 am ]
Post subject: 

Image

Using Photoshop to zoom in at 700%, you can see that there are wall lines on both sides of the LOS line, meaning that there is no shot. Very close, as it took 7x zooming to notice that much detail, so I can see why it caused a disagreement.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/