Author Topic: [Resolved] Terrain not blocking LoS - Alleys4  (Read 11593 times)

Nomad

  • Sr. Member
  • ****
  • Posts: 453
[Resolved] Terrain not blocking LoS - Alleys4
« on: June 25, 2017, 11:32:43 AM »
I'm not sure any of the walls here were providing cover. My people were getting shot through them even when I went around the side. I suspect that either all or most of the wall is not counting as blocking shots.
Bullets hit the walls when they have decided they will miss. Otherwise they pass through.


In the screenshot above, the mafioso is shooting through the wall near them to hit the person behind the wall near me.
« Last Edit: June 26, 2017, 10:38:09 AM by Daithi »

ushas

  • Hero Member
  • *****
  • Posts: 661
Re: Terrain not blocking LoS - Alleys4
« Reply #1 on: June 26, 2017, 02:26:53 AM »
Those walls are half-cover. I suspect, if we don't want shots go through, it's only possible when the full-cover is at play.

Explanation (don't believe me): Seems only full-cover objects can block LOS. With the half-cover, depending on how much it's in the path of shooting (raycasting?), it adds to difficulty (->lowers CTH), but seems never reaching 0. So even the worst shooter still has 5% chance (the minimum) to hit a target on the other side. The alternative, full-cover walls, means the other extreme: no LOS at all. The question then is, what is more fun / better for maps with walls?

Your picture is a spot on, because, yeah, with the crouching - visually it really looks like there is no LOS, right? But nope, the game sees target as if standing, got us, haha! Will try necro the front about the visual vs. gameplay inconsistency of crouching in parallel, thanks for reminder!

A few notes in case the essence of cover is still on the table to discuss (very wild observations, probably wrong):   
(1) I think from all the half-cover objects on the path between the shooter and the target, only the one adjacent to the target counts. -> Shouldn't at least tall, eg. tree / wall, add to the difficulty of targets behind?

(2) From the log: directional half-cover will influence CTH analogously to as if the target was 2-6 more tiles away. In case of the edge of full-cover, up to 12 tiles away analogy or so. -> Perhaps some half-cover strength tuning or an on-path inclusion (see 1) might be interesting for the map dynamics... 

(3) No matter what shown, no crouching is happening next to any cover (see the crouching thread). -> If at will crouching allowed, what about making a combination of an adjacent wall+crouch work like directional full cover but you have to stand to shoot over? Reasons: Visual as explained by Nomad, and possibly tactical trade-off. 

Edit: Similar situation in the attachment. Guess where is the target, sister Denisov?
« Last Edit: June 26, 2017, 02:37:00 AM by ushas »

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: Terrain not blocking LoS - Alleys4
« Reply #2 on: June 26, 2017, 04:46:46 AM »
Ahh... yes... of course. Half cover.
I just wasn't paying attention.
It looks like a solid brick wall. But, yeah, you're right, they're half height.

Nevermind.  =)

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: Terrain not blocking LoS - Alleys4
« Reply #3 on: June 26, 2017, 10:29:35 AM »
Ushas is right concerning the cover, full blocks LOS, but when in full cover, a LOS check is made to orthagonal tiles.

Concerning the walls though, have just looked at them, and they are too high to be recognisable as half cover. Will adjust now.

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: [Resolved] Terrain not blocking LoS - Alleys4
« Reply #4 on: June 26, 2017, 11:35:10 AM »
Ahh... if that can be done easily then that sounds good.
I just totally assumed high cover and ignored the half-shield icons that pointed out that it wasn't.

Daithi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1250
Re: [Resolved] Terrain not blocking LoS - Alleys4
« Reply #5 on: June 26, 2017, 11:49:48 AM »
It's already done  :)

Nomad

  • Sr. Member
  • ****
  • Posts: 453
Re: [Resolved] Terrain not blocking LoS - Alleys4
« Reply #6 on: June 26, 2017, 01:40:15 PM »
Brilliant.