The International Simutrans Forum

 

Author Topic: [r5898] Wrong plane alignment in stop  (Read 5278 times)

0 Members and 1 Guest are viewing this topic.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
[r5898] Wrong plane alignment in stop
« on: August 27, 2012, 05:52:35 PM »
There's a misalignment with planes when they are at stops, you can clearly see it in the attached image. I've added the tile outline to the plane.

And I can't modify the image to align it because then when the plane makes a curve it does it strangely.
« Last Edit: August 27, 2012, 07:58:41 PM by An_dz »

Offline Václav

  • Devotee
  • *
  • Posts: 3230
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: [r5898] Wrong plane alignment in stop
« Reply #1 on: August 27, 2012, 06:45:31 PM »
I see that on the right bottom stage it is shifted back - and not a little.

An_dz: If you will pay attention to alignment of some road vehicles (in pak96.comic, too - there it is very bad), you will see that they are wrong aligned too. Trucks waiting on some loading stages are almost out of that loading stage - and somewhere this may cause that such truck may block near road - even if it stays on end stop. But this seems like some of them have set wrong length.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [r5898] Wrong plane alignment in stop
« Reply #2 on: August 27, 2012, 08:01:31 PM »
I've edit the image to show the comparison between the tile and the plane image tile.

@Vaclav
The bottom right plane is shifted on purpose, I've done it to see what could change in-game. It's not shifted in 96comic expansion.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9353
  • Languages: De,EN,JP
Re: [r5898] Wrong plane alignment in stop
« Reply #3 on: August 27, 2012, 09:04:13 PM »
The left bottom plane is simply wrong positioned. All vehicles going south east, should start at the beginning of a tile.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [r5898] Wrong plane alignment in stop
« Reply #4 on: August 28, 2012, 01:25:19 AM »
But then it will just be more misaligned. Look the aircraft tile is half away the ground/station tile.
And the same happens in all other paksets.

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1320
Re: [r5898] Wrong plane alignment in stop
« Reply #5 on: August 28, 2012, 03:06:55 AM »
You have the aircraft tiles shown wrong in relation to the station tiles. For south and east heading, the plane travels to the edge of the tile and stops. For north and west, the stop position is halfway.  >>> south facing plane positioned wrong.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [r5898] Wrong plane alignment in stop
« Reply #6 on: August 28, 2012, 04:48:53 AM »
So, your telling me to push the plane image backwards so it stop inside the tile?
But if I do so, the curve effect gets really weird.

And why it stops out of the tile for South and East?

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1320
Re: [r5898] Wrong plane alignment in stop
« Reply #7 on: August 28, 2012, 06:26:10 PM »
It doesn't stop out of the tile for south and east, it stop at the edge of the tile - why I said you have the tiles shown wrong. For north and west, it's actually stopped only halfway onto the tile, not all the way as you show.

The curve effect is ugly, rather a byproduct of the isometric engine and fixed tiles. When a vehicle reaches the edge of the tile and is making a corner, it changes graphics to the new facing, which of course causes the back end to step out. The alignment for north and west mitigates this problem somewhat as graphically the center of the vehicle is spanning the tile boundry when the graphics change; Hence it looks like it's rotating around the middle. But when a northbound or westbound vehicle stops at an intersection, it's graphically sticking out into the intersection; Other vehicles then run over it, which is also ugly.  Fix one uglyness, cause another...

One of my many unfinished patches was to address this problem. Adjust the vehicle paths through the tiles so that on corners the heading changes always happen with the vehicle center on the tile edge. At my current rate, ETA, 2015, maybe...

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [r5898] Wrong plane alignment in stop
« Reply #8 on: August 28, 2012, 08:32:39 PM »
Oh, now I got it. Thanks for the explanation.