The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: ampersand on April 23, 2020, 03:35:26 PM

Title: Loading labels z-index
Post by: ampersand on April 23, 2020, 03:35:26 PM
Am I doing anything wrong to have loading labels obscured by waiting bars below?
(https://simutrans-germany.com/files/upload/backfront.png)
As loading label is a disappearing tooltip can I make it appear in front of the station name, not behind? (r8870)
Title: Re: Loading labels z-index
Post by: prissi on April 24, 2020, 01:13:13 AM
This depends on the order of the tiles. If you go to the other end of the train, it will be in front.
Title: Re: Loading labels z-index
Post by: ampersand on April 24, 2020, 02:57:17 PM
Quote from: prissi on April 24, 2020, 01:13:13 AMgo to the other end of the train
Thanks, but this solution does not work, if I understand it all. The loading percentage appears only after hovering abovethe tile containing the first vehicle of the convoy.
Title: Re: Loading labels z-index
Post by: Mariculous on April 24, 2020, 03:09:33 PM
Exactly.
I guess that was a missunderstanding.
The label will always appear at the first vehicle of the train.
If the train was stopping there in the other direction, the bars would be hidden behind the "Loading" label.
Title: Re: Loading labels z-index
Post by: ampersand on April 24, 2020, 08:23:24 PM
I see. So one solution is to always design stations so as they are entered from the left (east). Pity there is no way to display all tooltips in the uppermost layer.
Title: Re: Loading labels z-index
Post by: Mariculous on April 24, 2020, 09:14:43 PM
If it's really that important to you, then yes. Always design your station in a way that will display bars behind the "Loading" label.
Another workarround would be to move the station label.
If you really really want to have a different rendering order, you can for sure always implement it. Simutrans is an opensource project.
Title: Re: Loading labels z-index
Post by: ampersand on April 25, 2020, 12:56:20 PM
Quote from: Freahk on April 24, 2020, 09:14:43 PMmove the station label
Tried this but have found no way to move it. Except for rebuilding the station.
Title: Re: Loading labels z-index
Post by: Mariculous on April 25, 2020, 01:02:19 PM
The label is always placed above the first tile of the station, that means the first tile in order of building time.
Title: Re: Loading labels z-index
Post by: Leartin on April 25, 2020, 01:10:36 PM
Quote from: Freahk on April 25, 2020, 01:02:19 PM
The label is always placed above the first tile of the station, that means the first tile in order of building time.
Not anymore, the label tries to position itself in the center of the station.
Title: Re: Loading labels z-index
Post by: Mariculous on April 25, 2020, 01:55:37 PM
Oh well, I didn't notice this. Guess that was not ported to extended yet.