Page 1 of 1

Italian trains again?!? [NOW WITH PUSH-PULL OPERATIONS]

Posted: 12 Oct 2024 11:38
by inibab
Hi everybody,

in the last months i've beeen working on a NewGRF for italian trains. I've basically no coding nor graphics skills, so I made it all starting from the NMLtutorial and RichardWheeler's pixel tool.

This project has been attempted at heast twice before (viewtopic.php?t=77305&start=40 and viewtopic.php?t=56167).

It would be great to merge these progesses with my part, which mainly includes the newest trains, in order to slowly start filling in all the gaps.

Here are some trains I coded:
Screenshot 2024-10-12 125343.png
Screenshot 2024-10-12 125343.png (21.32 KiB) Viewed 2711 times
Screenshot 2024-10-12 130757.png
Screenshot 2024-10-12 130757.png (25.31 KiB) Viewed 2711 times
And some of them in their natural habitat:
Screenshot 2024-10-12 132532.png
(252.18 KiB) Not downloaded yet
Another feature i'd like to add is the reverse eyecandy, where loco and diver car swap graphics, making it look like the train just reverses at the station. I know it's a mess and i don't know if this is suitable for jgrpp, but having something like the one in SSB trainset would be great.

DEC 2024 UPDATE:
I finally added push-pull operations and the code is much cleaner using pnml.

viewtopic.php?p=1272657#p1272657 here you should find the source code!

Re: Italian trains again?!?

Posted: 14 Oct 2024 18:43
by Walter Novotny
These locomotives look very nice. Italy has interesting rolling stock. Is there any visual and economic compatibility planned with any specific newgrf? For example V4 CEE Train Set.

https://docs.google.com/spreadsheets/d/ ... =804155557

Re: Italian trains again?!?

Posted: 14 Oct 2024 21:54
by inibab
Walter Novotny wrote: 14 Oct 2024 18:43 Is there any visual and economic compatibility planned with any specific newgrf? For example V4 CEE Train Set.
Tbh no, I've just set the prices as I felt like they would be fair, but it shouldn't be too hard to do.

I don't know how to manage customizable parameters correctly in nml, and i don't have much time at the moment, but it would be great if prices could be selected accordingly to the other newgrfs in use.

If you know how to do that and you want try it out, that would be super cool

Italian trains again?!? [NOW WITH PUSH-PULL OPERATIONS]

Posted: 23 Dec 2024 02:31
by inibab
Santa came early this year and brough me this: a much improved version of the NewGRF!!

It allows for push-pull operations. Make sure to read the readme to get used to how it works.

Alignments have been improved and now source code is way better organized. There is still much work to do, but I'm satisfied with how everything seems to be turning out! I want to load it on BaNaNaS as soon as possible, so you should be able to find it ingame.

Re: Italian trains again?!? [NOW WITH PUSH-PULL OPERATIONS]

Posted: 23 Dec 2024 18:48
by JohnFranklin523
Great! Now Italian trains will be no longer under-presented.

Merry Christmas!