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

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

Post Reply
inibab
Engineer
Engineer
Posts: 5
Joined: 01 Sep 2023 15:22

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

Post 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 2579 times
Screenshot 2024-10-12 130757.png
Screenshot 2024-10-12 130757.png (25.31 KiB) Viewed 2579 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!
Last edited by inibab on 23 Dec 2024 02:33, edited 1 time in total.
User avatar
Walter Novotny
Engineer
Engineer
Posts: 22
Joined: 20 Jun 2011 12:21

Re: Italian trains again?!?

Post 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
inibab
Engineer
Engineer
Posts: 5
Joined: 01 Sep 2023 15:22

Re: Italian trains again?!?

Post 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
inibab
Engineer
Engineer
Posts: 5
Joined: 01 Sep 2023 15:22

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

Post 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.
Attachments
ita_trains.grf
ready to play grf file
(678.8 KiB) Downloaded 48 times
italian modern trains.zip
source code
(517.17 KiB) Downloaded 48 times
User avatar
JohnFranklin523
Traffic Manager
Traffic Manager
Posts: 210
Joined: 15 Mar 2022 13:01
Location: Nottingham, United Kingdom
Contact:

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

Post by JohnFranklin523 »

Great! Now Italian trains will be no longer under-presented.

Merry Christmas!
Leaping Liu Never Dies
跨越不死,曙光永生
The founder of China Set; the operator of JFServer.
My GRFs besides China Set
My Scenarios and Heightmaps
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Bing [Bot] and 9 guests