Ludeon Forums

RimWorld => Bugs => Topic started by: Phomor on May 02, 2021, 07:21:13 AM

Title: [1.2.2900] Line of sight bug
Post by: Phomor on May 02, 2021, 07:21:13 AM
With certain angles, colonist 1 can shoot and hit colonist 2, even though colonist 2 is behind a wall and can't shoot back.
(https://i.imgur.com/UV9faQr.png)
(https://i.imgur.com/qt8DTBX.png)
(https://i.imgur.com/JITJrqA.png)
Savefile: https://drive.google.com/file/d/1KhgH2DEH5x5LZlZxTEtUiTKZaK-TMVKO/view
Title: Re: [1.2.2900] Line of sight bug
Post by: Canute on May 02, 2021, 08:57:09 AM
Hi,
basicly nothing new.
And it is because how the Line of sight/shooting get calculated.
Don't forget it is a tile grid, and the calculation isn't the line which got drawn, it is the path the pawn would move.
So it can happen that the path is blocked from one side, but free from the other.
Title: Re: [1.2.2900] Line of sight bug
Post by: Phomor on May 04, 2021, 05:11:11 AM
So you're saying it's not a bug, it's just atrociously bad and unintuitive design?
Title: Re: [1.2.2900] Line of sight bug
Post by: Canute on May 04, 2021, 08:54:21 AM
Since i didn't found the older topic about this, i just remember there allready was a discussion about it.
I can't say anything what the dev's said about it at the past.

Sure it is a minor bug, because the devs could use a different methode for the Line of sight calculation.


Title: Re: [1.2.2900] Line of sight bug
Post by: Phomor on May 05, 2021, 04:17:55 AM
I wouldn't call it that minor, you can easily lose colonists and in extreme cases entire colonies to it.
Title: Re: [1.2.2900] Line of sight bug
Post by: Canute on May 05, 2021, 04:29:15 AM
What only happen on just 1 pawn and only when you let him wait there.
If you let a group wait maybe just on of them encounter the issue.
When you order a pawn/group to attack they move anyway until they have line of sight.
That why i rate it minor. And normaly people watch these firefights and notice early that their pawn don't shoot back.
And normaly they let their pawn seek cover to avoid damage, and then this behavior rarely happen.
Title: Re: [1.2.2900] Line of sight bug
Post by: Phomor on May 05, 2021, 04:47:50 AM
The thing is though that it can happen directly after you move somebody into cover.
(https://cdn.discordapp.com/attachments/497079516083257364/838155381879472158/unknown.png)
(https://cdn.discordapp.com/attachments/497079516083257364/838155332152590356/unknown.png)

I moved Dvengar one tile to the right into cover and he got shot but couldn't shoot back
Title: Re: [1.2.2900] Line of sight bug
Post by: Canute on May 05, 2021, 05:27:42 AM
Did you ever played some FPS ?
When you try to shoot an enemy behind a wall/cover and you just see the tip of an arm/leg you can shoot at. But the enemy can't see/shoot you.

But he is still a good distraction with a good cover, so Schultze (why is Schultze so thin i allways though is is fatty) can freely shoot .

But out discussion is nice, but pointless until some Devs comment it.
Title: Re: [1.2.2900] Line of sight bug
Post by: Pheanox on May 14, 2021, 01:03:05 PM
Edge cases like this are simply edge cases, and shouldn't be a problem with someone paying attention to their combat.  Thanks for the feedback though, I'll post it to be reviewed.
Title: Re: [1.2.2900] Line of sight bug
Post by: Tynan on May 26, 2021, 01:06:46 AM
It is true there are some long-standing issues with line of sight. Reports like this are useful and I thank everyone for  taking the time to write them. Issue are recorded and in the bug pool, which is being worked on!