Page 1 of 2

Danish Trains

Posted: 15 Dec 2020 01:16
by 2TallTyler
0-3-2.png
0-3-2.png (82.18 KiB) Viewed 4278 times
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 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.

Re: DSB Trains

Posted: 17 Dec 2020 09:32
by Jimbow
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.

Re: DSB Trains

Posted: 17 Dec 2020 15:44
by 2TallTyler
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:
Thank you! This will be a helpful reference. :)

Re: DSB Trains

Posted: 24 Dec 2020 01:12
by 2TallTyler
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. :P
ezgif-7-b9162f9f0119.gif
ezgif-7-b9162f9f0119.gif (5.16 MiB) Viewed 4942 times
Next up will be the similarly-shaped IR4 and Øresundståg EMUs.

Re: DSB Trains

Posted: 25 Dec 2020 18:13
by Jimbow
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.

Re: DSB Trains

Posted: 26 Dec 2020 16:19
by 2TallTyler
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. :)

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.
0-2-1.png
0-2-1.png (65.58 KiB) Viewed 4774 times

Re: DSB Trains

Posted: 27 Dec 2020 13:40
by Jimbow
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.

Re: DSB Trains

Posted: 02 Jan 2021 23:39
by 2TallTyler
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.
0-2-2.png
0-2-2.png (71.04 KiB) Viewed 4602 times
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

Posted: 05 Jan 2021 06:36
by Jimbow
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!

Re: DSB Trains

Posted: 05 Jan 2021 16:20
by 2TallTyler
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.
0-3-2.png
0-3-2.png (82.18 KiB) Viewed 4479 times

Re: DSB Trains

Posted: 09 Jan 2021 12:26
by Jimbow
The IC3 and IR4 looks perfect now! :P

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

Posted: 09 Jan 2021 21:30
by spajdy
This looks neat. :) Good job man, I love how it is not "jumping" in the station. Very cool.

Re: Danish Trains

Posted: 12 Jan 2021 17:43
by 2TallTyler
sj_x2.PNG
sj_x2.PNG (96.76 KiB) Viewed 4278 times
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.
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.
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.

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

Posted: 12 Jan 2021 17:54
by Erato
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.
Yes this is nice. The front of the train could be a bit smoother tbf, but other than that, I like this.
This is also one of the things the NewGRF competitions are really good for, which is nice to see.

Re: Danish Trains

Posted: 19 Jan 2021 18:26
by Jimbow
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.
Both are great news!
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.

Re: Danish Trains

Posted: 20 Jan 2021 01:07
by 2TallTyler
Thanks for the feedback. It's much appreciated. :)
0-6-0.png
0-6-0.png (64.56 KiB) Viewed 4067 times
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! :P

Re: Danish Trains

Posted: 20 Jan 2021 07:54
by Jimbow
What a great update! :P :D

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. :)

Re: Danish Trains

Posted: 20 Jan 2021 22:52
by 2TallTyler
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.

0-6-1.PNG
0-6-1.PNG (23.27 KiB) Viewed 3964 times

Re: Danish Trains

Posted: 21 Jan 2021 06:31
by Jimbow
Thank you for yet another great update!
This is much better. :lol:

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

Re: Danish Trains

Posted: 21 Jan 2021 20:01
by 2TallTyler
0-7-0.png
0-7-0.png (78.65 KiB) Viewed 3872 times
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.
voxel.png
voxel.png (51.23 KiB) Viewed 3872 times