Jump to content

[v0.27 - GC] LoS Between Levels


kabill

Recommended Posts

I've been doing some testing with the modular UFO system using the new LoS mechanics.

Previously, there was a problem where you could see between floors with impunity like they weren't there:

View on second level:

Xenonauts_gc_editor 2014-08-20 20-54-31-173.jpg

View on first:

Xenonauts_gc_editor 2014-08-20 20-54-34-361.jpg

Note that the field of vision matches exactly between the levels. It's like the floor isn't there at all. Note that this also happens in reverse (i.e. if you're on the ground floor, you can see perfectly through the ceiling into the levels above).

Now, the changes in 0.27 have partially fixed the issue:

Can't see inside the UFO from the ground:

Xenonauts_gc_editor 2014-08-20 21-36-05-073.jpg

View on second level:

Xenonauts_gc_editor 2014-08-20 21-36-17-900.jpg

View on first:

Xenonauts_gc_editor 2014-08-20 21-36-20-166.jpg

Fixed! Hurrah! But...

View on third level:

Xenonauts_gc_editor 2014-08-20 21-36-29-547.jpg

View on first:

Xenonauts_gc_editor 2014-08-20 21-36-32-696.jpg

Moving up to level 3 causes (almost) the same issue. The only difference is that there's a few tiles right in front of the field of vision which are blocked. (For clarity's sake: I've not been able to tell if this works in reverse, i.e. whether you can see from level 1 to level 3).

Now, I've not tested this on any regular submaps so I don't know if it's something to do with the new LoS system generally or whether it's something specific to do with the UFO submaps/modular UFO tiles/whatever. The original issue - before XCE - seemed only to occur with UFOs and even then only with the modular UFO submaps in spite of there being no apparent differences in the spectres or anything else (I spent a long time trying to work out what the problem was with no success). So it's possible that it's not a general issue. However, it's clear that the LoS system makes some difference, since there's a difference between vanilla and XCE 0.27.

If it's useful, I can upload the files I've used to produce this, or if there's something I can do to provide extra information I'm happy to do that.

EDIT: Just had a quick look on a regular map and it's a general issue. Flying 1 level above a tall building on Industrial and I can see all the way down the ground floor. Can provide pics/a save if you want, but it's basically exactly the same as above and you can easily reproduce your own example in the GC editor.

Edit 2: Have some more pictures, because there's some more information.

1) There's some issue with seeing from the ground up to higher levels too:

Soldier on ground floor:

Xenonauts_gc_editor 2014-08-20 22-04-55-527.jpg

Vision 2 levels up:

Xenonauts_gc_editor 2014-08-20 22-04-57-456.jpg

2) Being on the same level of the floor seems to be fine:

Soldier on level 3:

Xenonauts_gc_editor 2014-08-20 22-05-18-217.jpg

Can't see anything on the ground floor as expected:

Xenonauts_gc_editor 2014-08-20 22-05-20-165.jpg

3) But if I move above the level at which the floor is on, then the problems arise:

Solider in same position as in previous pics, but one level up (level 4):

Xenonauts_gc_editor 2014-08-20 22-05-29-913.jpg

So it looks like the issue is specifically to do with vision when there's distance between the soldier and the floor that should be blocking vision. If the floor is immediately beneath them (i.e. on the same level) or immediately above them (i.e. on the level above) then everything is fine. However, if there's a level's difference (two or more levels up, or the level below), then it causes issues.

Xenonauts_gc_editor 2014-08-20 20-54-31-173.jpg

Xenonauts_gc_editor 2014-08-20 20-54-34-361.jpg

Xenonauts_gc_editor 2014-08-20 21-36-05-073.jpg

Xenonauts_gc_editor 2014-08-20 21-36-17-900.jpg

Xenonauts_gc_editor 2014-08-20 21-36-20-166.jpg

Xenonauts_gc_editor 2014-08-20 21-36-29-547.jpg

Xenonauts_gc_editor 2014-08-20 21-36-32-696.jpg

Xenonauts_gc_editor 2014-08-20 22-04-55-527.jpg

Xenonauts_gc_editor 2014-08-20 22-04-57-456.jpg

Xenonauts_gc_editor 2014-08-20 22-05-18-217.jpg

Xenonauts_gc_editor 2014-08-20 22-05-20-165.jpg

Xenonauts_gc_editor 2014-08-20 22-05-29-913.jpg

577e7d1dd8225_Xenonauts_gc_editor2014-08

577e7d1de0c56_Xenonauts_gc_editor2014-08

577e7d1de73bc_Xenonauts_gc_editor2014-08

577e7d1deb5f9_Xenonauts_gc_editor2014-08

577e7d1df0c1f_Xenonauts_gc_editor2014-08

577e7d1e0297c_Xenonauts_gc_editor2014-08

577e7d1e06a51_Xenonauts_gc_editor2014-08

577e7d1e0ae51_Xenonauts_gc_editor2014-08

577e7d1e11040_Xenonauts_gc_editor2014-08

577e7d1e17d5a_Xenonauts_gc_editor2014-08

577e7d1e1dd4d_Xenonauts_gc_editor2014-08

577e7d1e2b2ff_Xenonauts_gc_editor2014-08

Edited by kabill
Link to comment
Share on other sites

Fixed!

Went through the two test cases as before. LoS worked exactly as I'd expect.

I also went and tested the issue that Skitso had reported in the 0.27 thread as well and this appears to be fixed. Looking at it the picture again, it was almost certainly the same problem (two levels up from the soldier)

It also seems that you've fixed the issue with the Fire in the Hole Landing Ship balcony, too. At least, it's working a lot more intuitively than it was before and I've no qualms with it as is. So, even if it was an unintentional side-effect, thanks!

Link to comment
Share on other sites

One more LoS problem: Ground tiles are not displayed under ufo hulls anymore.

myHHg3g.jpg

mIFxsSr.jpg

The same problem is probably with all 100% sight blocking props. I've seen it at least with inner wall shelves of nissen huts in desert tileset. (Floor tile under props isn't displayed)

Floor tile should be always displayed if the tile is visible, even if there's sight blocking prop.

Link to comment
Share on other sites

Hm, no comments on this? Have I broken my game somehow while modding or does anyone else have this? While this isn't a gameplay issue, it really bugs me visually and I hope llunak (or somebody) can get it fixed.

Edited by Skitso
Link to comment
Share on other sites

Yeah... I was just wondering if it's just my game or if others are having the same issue? Wouldn't like to download the game again to make sure. :)

The ship blocking the partial tiles thing is happening to me as well ( haven't hit any maps with the props covering its tiles yet to comment on those).

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...