Hi all,
I am fiddeling around a bit with trains and I have an issue with trains when shown waiting to leave a depot:
As you can see they "float" a bit 2 pixels too high in my case.
I searched a bit and I understand that it is a known issue, but I can't find the solution.
Can anyone help me?
[NML] Y-Offset of trains waiting to leave Depot
Moderator: Graphics Moderators
[NML] Y-Offset of trains waiting to leave Depot
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Re: [NML] Y-Offset of trains waiting to leave Depot
typically you put a line like
somewhere near the beginning of your nml file
Code: Select all
traininfo_y_offset = 2;
Re: [NML] Y-Offset of trains waiting to leave Depot
Thank you Eddi, that did the trick!Eddi wrote: ↑01 Dec 2021 20:28 typically you put a line likesomewhere near the beginning of your nml fileCode: Select all
traininfo_y_offset = 2;
I placed the line just after the Parameter definitions.
Quoting Erato here for attention, as I believe his North Korean Trainset has the same issue:
Erato wrote:
And to complete it, in NFO it's this:
"action 0D Y-Offset for train sprites (8E)"
Code: Select all
0D 8E 00 FF FF 02 00 00 00
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Who is online
Users browsing this forum: No registered users and 10 guests