Danish Trains
Moderator: Graphics Moderators
- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Danish Trains
GitHub.
I'm using Timberwolf's voxel toolchain for this set. With plenty of sprite help from him and Andythenorth, it's quite effective even for 1x zoom trains.
I've been commissioned to create a set of trains from Denmark, focusing on the Danish State Railways, DSB. The set is still in progress, so check the thread below or see the current train list on I'm using Timberwolf's voxel toolchain for this set. With plenty of sprite help from him and Andythenorth, it's quite effective even for 1x zoom trains.
Last edited by 2TallTyler on 12 Jan 2021 17:27, edited 1 time in total.
Re: DSB Trains
Cool that you are planning a Danish train set!
The MZ locomotive looks correct.
Many years ago I had the same idea, but my skills and time were not enough.
However I did collect a lot of information about the trains from Denmark and put it in a sheet:
https://docs.google.com/spreadsheets/d/ ... p=drivesdk
I think you can use it for reference, but it is not complete and some parts are now outdated.
The MZ locomotive looks correct.
Many years ago I had the same idea, but my skills and time were not enough.
However I did collect a lot of information about the trains from Denmark and put it in a sheet:
https://docs.google.com/spreadsheets/d/ ... p=drivesdk
I think you can use it for reference, but it is not complete and some parts are now outdated.
- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: DSB Trains
Thank you! This will be a helpful reference.Jimbow wrote: 17 Dec 2020 09:32 Cool that you are planning a Danish train set!
...
However I did collect a lot of information about the trains from Denmark and put it in a sheet:

- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: DSB Trains
The Class MF / IC3 is out in version 0.2.0, in all three liveries. I've managed to avoid the usual magic flipping when changing directions in stations, so look for those five yellow sprites which denote the first-class section.
Next up will be the similarly-shaped IR4 and Øresundståg EMUs.

Next up will be the similarly-shaped IR4 and Øresundståg EMUs.
Last edited by 2TallTyler on 26 Dec 2020 16:14, edited 1 time in total.
Re: DSB Trains
The IC3 train is a great addition to the set!
I really like the flip feature. How does it work with two trains with different colors?
In many photos of the gray/blue version, the roof is gray, but on some it's white. The design might have changed during time.
The doors are hard to identify in the gray/blue design, and for this reason two thin vertical stripes were placed beside the doors. Originally they were green, and later they were changed to red. I know the stripes are very small for this scale, but a few pixels of a greenish or reddish color might do the trick.
I really like the flip feature. How does it work with two trains with different colors?
In many photos of the gray/blue version, the roof is gray, but on some it's white. The design might have changed during time.
The doors are hard to identify in the gray/blue design, and for this reason two thin vertical stripes were placed beside the doors. Originally they were green, and later they were changed to red. I know the stripes are very small for this scale, but a few pixels of a greenish or reddish color might do the trick.
- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: DSB Trains
It doesn't.Jimbow wrote: 25 Dec 2020 18:13 I really like the flip feature. How does it work with two trains with different colors?

It doesn't break anything so I haven't placed any hard limitations on coupling different vehicle types or using multiple liveries in the same train, but vehicles will switch positions as normal while still keeping their original direction.
Thanks for the livery information. I hadn't noticed the grey roofs and had passed off the door stripes as being too small, but I gave it a try and it actually worked pretty well. Updated in 0.2.1.
Re: DSB Trains
Thanks for the improved version!
Looking forward to see the IR4 and Øresundstog EMUs.
Are you aware that the IR4 will be available in the red version soon? It has been decided that all 44 IR4 will be red, but for now only one IC3 will be red.
Looking forward to see the IR4 and Øresundstog EMUs.
Are you aware that the IR4 will be available in the red version soon? It has been decided that all 44 IR4 will be red, but for now only one IC3 will be red.
- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: DSB Trains
I wasn't happy with the manual sprite editing required for the door stripes, so I made some changes and now they are mostly straight from GoRender. I also brightened the doors on the red and black scheme, and added roof details to further distinguish the diesel IC3 from its electric cousins.
I was not aware that the IR4 would be painted in red and black, but I'll add it to my list of liveries.
I was not aware that the IR4 would be painted in red and black, but I'll add it to my list of liveries.

Re: DSB Trains
The roof details are nice, and you're right about there should be a clear difference between the diesel IC3 and the electric IR4. Specially in the gray version it can be hard to spot the difference, because the doors are not that easy to see. It will be easier to see the difference now that you added details to the roof.
I think the color of the roof is the same in the red and gray version. It seems that your roof in the red version is a bit too dark, and as far as I can see, the details are missing?
I'm sorry that I keep writing with these small things to improve. Your sprites are very good as they look now, and I really like what you have created!
I think the color of the roof is the same in the red and gray version. It seems that your roof in the red version is a bit too dark, and as far as I can see, the details are missing?
I'm sorry that I keep writing with these small things to improve. Your sprites are very good as they look now, and I really like what you have created!
- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: DSB Trains
No need to apologize. Your feedback is very helpful!
I have brightened the roof of the red and black livery to match photos, and added the IR4. The real thing has less stuff on the roof than the IC3 and I've exaggerated this a bit to make a visual distinction between the two trains. Here's the full roster now.
I have brightened the roof of the red and black livery to match photos, and added the IR4. The real thing has less stuff on the roof than the IC3 and I've exaggerated this a bit to make a visual distinction between the two trains. Here's the full roster now.
Re: DSB Trains
The IC3 and IR4 looks perfect now!
Do you have any plans for how to handle the change between colors of the trains in the set?
In some NewGRF sets the trains will automatically get a new color, when you reach a certain year. I don't know how difficult this is to do, but I think it's a nice feature.
Even better would be if you could randomize what year each unit gets new paint, between to predefined years.
Let's say you buy a white IC3 in 1990, and it automatically becomes gray between 2003 and 2008. Between 2019 and let's say 2022 it becomes red. This would be cool!
Well, maybe focus should be on adding more different types of trains, before such details are implemented...

Do you have any plans for how to handle the change between colors of the trains in the set?
In some NewGRF sets the trains will automatically get a new color, when you reach a certain year. I don't know how difficult this is to do, but I think it's a nice feature.
Even better would be if you could randomize what year each unit gets new paint, between to predefined years.
Let's say you buy a white IC3 in 1990, and it automatically becomes gray between 2003 and 2008. Between 2019 and let's say 2022 it becomes red. This would be cool!
Well, maybe focus should be on adding more different types of trains, before such details are implemented...
Re: DSB Trains
This looks neat.
Good job man, I love how it is not "jumping" in the station. Very cool.

With best regards,
Špajdy.
My released NewGRFs:



You can find what I am planning next, or doing right now right in my developer diary.
Slovakia | lang : slovak | english
SLOVAK DISCORD SERVER I (and others Slovak and Czech creators) write there in Slovak about what I (ot they are) am planning. This invitation is valid for 100 users.
It is alive and well.
Špajdy.
My released NewGRFs:
You can find what I am planning next, or doing right now right in my developer diary.
Slovakia | lang : slovak | english
SLOVAK DISCORD SERVER I (and others Slovak and Czech creators) write there in Slovak about what I (ot they are) am planning. This invitation is valid for 100 users.
It is alive and well.

- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: Danish Trains
The X2 upgrades to the latest livery whenever it is serviced in a depot. In that case, the grey livery becomes available on 1 January 2005. There's no randomness involved, but depending on how often trains are serviced there will be some period where both liveries are visible.Jimbow wrote: 09 Jan 2021 12:26Do you have any plans for how to handle the change between colors of the trains in the set?
In some NewGRF sets the trains will automatically get a new color, when you reach a certain year. I don't know how difficult this is to do, but I think it's a nice feature.
I would like to move the rest of the set to this system, as cargo subtype refits are a hacky way of choosing liveries. But I will have to check with my client who commissioned the set, to ensure that automatic upgrades are compatible with his needs.

Re: Danish Trains
Yes this is nice. The front of the train could be a bit smoother tbf, but other than that, I like this.2TallTyler wrote: 12 Jan 2021 17:43 I have added the SJ X2, which connects Copenhagen to Sweden. I have also fixed some sprite alignments on the existing trains which I broke when adding the Class ER, and changed the name to Danish Trains to reflect the scope expanding beyond just DSB. This is all available in 0.4.0, now on Bananas.
This is also one of the things the NewGRF competitions are really good for, which is nice to see.
Re: Danish Trains
Both are great news!2TallTyler wrote: 12 Jan 2021 17:43 I have added the SJ X2, which connects Copenhagen to Sweden.
... and changed the name to Danish Trains to reflect the scope expanding beyond just DSB.
I think the doors on the new X2 are a bit too bright, compared with the rest. I know there are not many colors to use in OTTD!
Going away from the DSB name, makes it possible to add trains from private companies. And of course german and swedish trains.
The swedish version of the IC3 the "Kustpilen" should be easy to implement.
For german trains the BR 605 (ICE TD) should be added. Earlier trains were mostly wagons pulled by DSB locomotives, and maybe a single wagon in various colors would be enough.
- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: Danish Trains
Thanks for the feedback. It's much appreciated.
I've added a few new trains in 0.6.0. From near to far tracks we have the Class MZ (II), Class MA, IC2, and Class ET Øresundståg.
Not shown here is that when two Class MAs are connected, as in real life, the locomotives are on the outer ends with the driving coaches face-to-face in the middle. When only one trainset is used, it reverses in stations like my other multiple units. And it took 302 lines of NML code!

I've added a few new trains in 0.6.0. From near to far tracks we have the Class MZ (II), Class MA, IC2, and Class ET Øresundståg.
Not shown here is that when two Class MAs are connected, as in real life, the locomotives are on the outer ends with the driving coaches face-to-face in the middle. When only one trainset is used, it reverses in stations like my other multiple units. And it took 302 lines of NML code!

Re: Danish Trains
What a great update!
The quality of this set is very high, and your many lines of coding is really worth it!
Specially the shape of the MA is spot on.
The original Øresundståg could be a little more colorful. The blue and green colors between the windows should be a bit more visible, as well as the orange at the doors. I know this is small details, but now it looks a bit too much as the grey MF/ER.


The quality of this set is very high, and your many lines of coding is really worth it!
Specially the shape of the MA is spot on.
The original Øresundståg could be a little more colorful. The blue and green colors between the windows should be a bit more visible, as well as the orange at the doors. I know this is small details, but now it looks a bit too much as the grey MF/ER.

- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: Danish Trains
Thanks again for the feedback. I've removed some of the highlights on the X2 to darken the doors and painted areas of the bistro car, and changed the colours of the Øresundståg. Updated to 0.6.1.
Re: Danish Trains
Thank you for yet another great update!
This is much better.
I look forward to see what you will add to the set in the next version.
This is much better.

I look forward to see what you will add to the set in the next version.

- 2TallTyler
- Director
- Posts: 572
- Joined: 11 Aug 2019 18:15
- Contact:
Re: Danish Trains
0.7.0 brings two similar-looking locos with rather different performance, and in-game costs. The MX (II) on the near track is lighter and used for branch line trains, while the MY (II) on the far track is heavier and replaced steam locomotives on the main line.
That nose was time-consuming to sculpt and shade, but once I finally got it right, the model only needed simple changes to take on different liveries and become an MX. That's company colour blue, which I recolour with code when the parameter for realistic livery colours is set.
That nose was time-consuming to sculpt and shade, but once I finally got it right, the model only needed simple changes to take on different liveries and become an MX. That's company colour blue, which I recolour with code when the parameter for realistic livery colours is set.
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 14 guests