Author Topic: [Resolved] Mafia trying to shoot pistol through building  (Read 14292 times)

Nomad

  • Sr. Member
  • ****
  • Posts: 453
[Resolved] Mafia trying to shoot pistol through building
« on: March 10, 2017, 04:30:48 AM »
I think the problem is that the Mafia just like to cheat.

Playing a cemetery map. The Mafia dude was shooting at a character that was most definitely behind one of the small mausoleums (4 x 4 tile building).
It might be that the door isn't being calculated in LOS calculations... the angle was pretty extreme if he was trying to shoot through the door.

He was missing and the building was being hit.
« Last Edit: March 15, 2017, 02:09:24 PM by Daithi »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Mafia trying to shoot pistol through building
« Reply #1 on: March 10, 2017, 09:12:11 AM »
:) I'll have a look, thanks. In some cases it is possible to shoot through the corner of buildings, if the targeted character is in full cover, a shot can be made to orthagonal tiles which have no cover to determine if they can be hit (like in X-Com).

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: Mafia trying to shoot pistol through building
« Reply #2 on: March 11, 2017, 01:17:58 AM »
In this instance, my character was completely obstructed by the mausoleum. He was on a back corner and the person trying to shoot him was beyond the other diagonal corner.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Mafia trying to shoot pistol through building
« Reply #3 on: March 11, 2017, 11:31:59 AM »
Ah ok, that rules that out. I'll sort this one out for V15!

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: Mafia trying to shoot pistol through building
« Reply #4 on: March 13, 2017, 10:24:38 AM »
It's possible that the door may again be the issue for not blocking LOS, even though it would have been an extreme angle.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Mafia trying to shoot pistol through building
« Reply #5 on: March 13, 2017, 04:35:11 PM »
I must add in a tool to display level name. There are only 2 levels with these mausoleums, so it won't be hard to track down the problem, but it would simplify reporting issues with levels.

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: Mafia trying to shoot pistol through building
« Reply #6 on: March 13, 2017, 11:02:40 PM »
lol.... I was going to suggest that... but thought I'd just be suggesting more work.
If you've added a million new maps, coming up with names for all of them might be a pain.

Oh.... you're talking about a tool.
I was thinking of "You spot a disturbance at the Cemetary/Mausoleum/car park/scrap yard/etc" while the map loads.
« Last Edit: March 13, 2017, 11:04:31 PM by Nomad »

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Mafia trying to shoot pistol through building
« Reply #7 on: March 15, 2017, 02:09:10 PM »
Found this. The whole object wasn't tagged. Cheers!

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: [Resolved] Mafia trying to shoot pistol through building
« Reply #8 on: March 15, 2017, 02:15:48 PM »
Awesome. Glad I helped.