Japanese Stations Add-ons

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

KeepinItRail
Engineer
Engineer
Posts: 18
Joined: 07 Sep 2020 15:14

Re: Japanese Stations Add-ons

Post by KeepinItRail »

Thanks. :D
Just re-sent the black sprites since I must have accidentally dragged my mouse and shifted them just before exporting as pngs.

ID 73 is where I was replacing a sprite with one of mine, and it worked fine. I could seen mine in-game.

ID AC is where I tried adding new lines. Chose this since it's the last one before the waypoints, so I just needed to bump the line numbers for those. Think I've bitten off more than I can chew with what I was attempting with AC, and need to learn to walk before trying to run. Was trying to play with a non-track overlapping tile. I know the sprite is a mess but wanted to get it working first so I know more about what to aim for.

It did get me wondering what you were thinking about doing for the 'base' of any non-track tile. For example, Dutch stations has the 'flat grey', grass and platform style 'bases'. One idea would be to extrapolate the base from the 'Modular stations' sprites?
Attachments
overlap_brownoverpass.png
overlap_brownoverpass.png (7.4 KiB) Viewed 4966 times
Dutch Bases.png
Dutch Bases.png (57.87 KiB) Viewed 4966 times
Last edited by KeepinItRail on 22 Jan 2021 22:26, edited 1 time in total.
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

KeepinItRail wrote: 17 Jan 2021 22:52 Thanks. :D
Just re-sent the black sprites since I must have accidentally dragged my mouse and shifted them just before exporting as pngs.
Great, I'll check it out.
KeepinItRail wrote: 17 Jan 2021 22:52 ID AC is where I tried adding new lines. Chose this since it's the last one before the waypoints, so I just needed to bump the line numbers for those.
I use nforenum, it automatically puts the right line numbers and the bytes in each line, it's quite handy, though I've been told it's not been updated for a long time and sometimes complaints about things that are actually correct.
KeepinItRail wrote: 17 Jan 2021 22:52 Think I've bitten off more than I can chew with what I was attempting with AC, and need to learn to walk before trying to run. Was trying to play with a non-track overlapping tile. I know the sprite is a mess but wanted to get it working first so I know more about what to aim for.
I haven't tested it, but I can see you forgot to change the station ID in two lines:

Code: Select all

1074 * 62	 00 04 02 01 AB 08 "JSA4" 
                                09 02 
                 F4 03 00 00 
			00 0A 00 10 06 05 2D 84 00 00 00 00 00 10 06 03 2E 84 00 00 80 
                 F3 03 00 00 
			0A 00 00 06 10 05 2F 84 00 00 00 00 00 06 10 03 30 84 00 00 80

Code: Select all

1077 * 10	 03 04 01 AB 01 FE 01 00 00 00
they should be:

Code: Select all

1074 * 62	 00 04 02 01 AC 08 "JSA4" 
                                09 02 
                 F4 03 00 00 
			00 0A 00 10 06 05 2D 84 00 00 00 00 00 10 06 03 2E 84 00 00 80 
                 F3 03 00 00 
			0A 00 00 06 10 05 2F 84 00 00 00 00 00 06 10 03 30 84 00 00 80

Code: Select all

1077 * 10	 03 04 01 AC 01 FE 01 00 00 00
Also, to really make it a non-track tile there should be something that prevents trains from entering that tile and stops pylons and catenary from spawning, and probably the base tile used should be plain grass, instead of tracks. The line 1074 should look something like this:

Code: Select all

1074 * 62	 00 04 02 01 AC 08 "JSA4" 
				11 00 14 FF 15 FF
                                09 02 
                 8D 0F 00 00 
			00 0A 00 10 06 05 2D 84 00 00 00 00 00 10 06 03 2E 84 00 00 80 
                 8D 0F 00 00 
			0A 00 00 06 10 05 2F 84 00 00 00 00 00 06 10 03 30 84 00 00 80
I don't know if this is exactly right, though. Here's the tutorial where I got this information: http://www.simuscape.net/simutalk/viewt ... f=85&t=859
This section in particular: http://www.simuscape.net/simutalk/viewt ... =80#p12256
KeepinItRail wrote: 17 Jan 2021 22:52 It did get me wondering what you were thinking about doing for the 'base' of any non-track tile. For example, Dutch stations has the 'flat grey', grass and platform style 'bases'. One idea would be to extrapolate the base from the 'Modular stations' sprites?
Yes, that is probably the way to go for any paved stuff on ground level. For anything on the same height as platforms, I would try making it the same as the platforms themselves, so they all match.

I hope this helps!
Cheers!
DemianWSE
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

Here is version 0.1.1, the overpass update:
jpstationsAddonsv0.1.1.png
jpstationsAddonsv0.1.1.png (42.76 KiB) Viewed 4762 times
Added:
· Four single sided overpasses, the original style black, brown and green, and a new white one with no roof
· Double-ended overpasses, for stations with passing tracks in the middle (drawn by KeepinItRail)
· Modular station overpasses, both as waypoints and as stations with no platforms
· Overpasses with no platforms as stations
· Platform end as waypoint

Removed:
· Elongated platforms

This is what I've got so far. I'll keep you posted on any progress. Let me know if there's any problem.

Cheers!
Attachments
jpstationsAddonsv0.1.1.grf
(608.93 KiB) Downloaded 211 times
jpstationsAddonsv0.1.1_source.rar
(231.74 KiB) Downloaded 94 times
DemianWSE
User avatar
Valdez
Traffic Manager
Traffic Manager
Posts: 202
Joined: 23 Mar 2011 21:33
Location: Czech Republic

Re: Japanese Stations Add-ons

Post by Valdez »

Looks fantastic, I'll give this a try when I get back home..
My visits on the forums are sporadic only, so PMs may go unanswered for a long time. If you wish to report a bug etc., the best option is via DM or ping on r/Openttd Discord
User avatar
wicket-303
Engineer
Engineer
Posts: 21
Joined: 19 Sep 2017 05:52
Location: Japan
Contact:

Re: Japanese Stations Add-ons

Post by wicket-303 »

This is really great!
Thank you for building the overpass in the countryside.
However, it may be better to match the height and position of the overpass with the Japanese overpass.
DemianWSE wrote: 12 Dec 2020 18:01 I'd love to add something like that to the set, I'll try my best to do it. Could you tell me the name of a station or stations that have those type of buildings so I can look them up on google?
There are many stations like this.
Tsujido, Toro, Kita-Ageo Station, etc ...
無題2.png
(281.38 KiB) Not downloaded yet
DemianWSE wrote: 12 Dec 2020 18:01 I tested going back in time using cheats and the stations were available in 1800, however if you start the game in the 1800s and there are no available trains, the game won't let you build any stations. I could be wrong here, but I think you need a NewGRF with trains available in the 1800s to make the stations also available.
Japanese railways opened in 1872.
I confirmed that the platform can be used, but there is no station building. I want station buildings like Shinbashi, Mojiko, and Nikko station.
https://ja.wikipedia.org/wiki/%E3%83%95 ... ekisha.JPG


I have more requests.
1. I want a platform that fills such a vacant lot when I made a head-end platform.
2. When connecting the overpass and the building-shaped station, it looks like they are not connected. So please fix this.
3. I want you to make fences for the platforms on both sides.
無題.png
(367.82 KiB) Not downloaded yet
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

Hi! I just added a new branch on github for version 0.2.1. No release yet, as the most significant change is that the code is now in m4nfo (big thanks to Michael Blunck!), but you're free to download the files and compile it yourselves if you can't wait :) .

The only visible changes so far are that I adjusted the height of the white overpasses and added a new waypoint:
Image

Though I encountered a small issue, the crossing doesn't align with one of the platforms in the original set:
Image

The plan for the next release is to make every platform snow-aware, include a few more tiles, and work on improving the code. But it'll probably take some time.

As always, suggestions are welcome.

Cheers!
Attachments
1.png
1.png (80.49 KiB) Viewed 2547 times
2.png
2.png (58.13 KiB) Viewed 2547 times
DemianWSE
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

Hello. Quick update:

I added a few simple non-track tiles:
Image

I haven't decided how to deal with this alignment issue:
nontrack2.png
nontrack2.png (2.77 KiB) Viewed 3665 times
Maybe it would be better to move that to the side so it stays relatively hidden. Thoughts?

I also started working on improving the code, but that probably isn't very interesting :P

Let me know if you have any ideas on which non-track tiles to add next.

Cheers
Attachments
nontrack1.png
(105.64 KiB) Not downloaded yet
DemianWSE
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

Hi! Here's version 0.2.2 for you to test:

screenshotv0.2.2.png
screenshotv0.2.2.png (336.42 KiB) Viewed 3160 times
It includes some non-track tiles, some new fenced platforms with stairs, a new waypoint and it fixes the height of the white overpass. I have to say I don't know if any of the things I included can be actually found in real Japanese stations, I just made stuff I wanted to play with in my own saves.

I wanted to include snow awareness, but sadly I couldn't yet. The code is mostly updated, and most of the platforms are snow aware, but there are no snow graphics to be displayed yet.

I have almost hit the ID limit, so I was considering ditching the "platforms with track fences" (by the way I'm not happy with that name, but I couldn't find a better one). Maybe I'll put them in another NewGRF. I don't know if anyone has found them useful... I use them, but maybe they are not an important feature for other players, and other stuff should be prioritized.

That is all for now. As always, any feedback is much appreciated, and any contribution is welcome.

Cheers!
Attachments
jpstationsAddonsv0.2.2.grf
(1.1 MiB) Downloaded 223 times
JapaneseStationsAddonsv0.2.2(source).zip
(362.57 KiB) Downloaded 74 times
DemianWSE
User avatar
fridaemon
Director
Director
Posts: 625
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Japanese Stations Add-ons

Post by fridaemon »

Thank u 4 ur work ;) I'll update it in my game.

I have an idea - what about creating overlapping terminals? I wanted to have railway station in close connection with bus station, so I made one overlaps for it.
Attachments
obrázek_2022-04-07_085707213.png
obrázek_2022-04-07_085707213.png (133.03 KiB) Viewed 3120 times
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

fridaemon wrote: 07 Apr 2022 06:57 Thank u 4 ur work ;)
You're welcome :)
fridaemon wrote: 07 Apr 2022 06:57 I'll update it in my game.
Please back up your save. All the IDs are the same, but I haven't tested if this version works with older saves.
fridaemon wrote: 07 Apr 2022 06:57 I have an idea - what about creating overlapping terminals? I wanted to have railway station in close connection with bus station, so I made one overlaps for it.
I'll give this a try and see if I can make it work, thanks for the suggestion!
DemianWSE
User avatar
fridaemon
Director
Director
Posts: 625
Joined: 27 Oct 2019 21:06
Location: Czech Republic

Re: Japanese Stations Add-ons

Post by fridaemon »

I did these variants, but not in company colours. ;)
Attachments
japan1_32.png
japan1_32.png (2.89 KiB) Viewed 2966 times
japan2_32.png
japan2_32.png (5.75 KiB) Viewed 2966 times
ImageImageImageImageImage
Beach Objects * Shopping Centres * Skyscrapers * Garage Entrances
Modular Warehouses * Trucks & Buses Parking Lots * Bus Depots * Bus Terminals
Road Waypoints * Road Stops * Eyecandy Objects * Building Set

Winner of the Screenshot of 09/20, 11/20, 02/21, 06/21, 07/21, 05/22 and 06/22.:twisted:
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

fridaemon wrote: 08 Apr 2022 06:33 I did these variants, but not in company colours. ;)
Great, I'll see what I can do :wink:
DemianWSE
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

Could you guess what features I'm testing? :P
test.png
test.png (27.87 KiB) Viewed 2335 times
DemianWSE
ebla71
Transport Coordinator
Transport Coordinator
Posts: 337
Joined: 14 Apr 2021 21:48
Location: Earth

Re: Japanese Stations Add-ons

Post by ebla71 »

DemianWSE wrote: 25 Jul 2022 15:12 Could you guess what features I'm testing? :P
Godzilla?
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

ebla71 wrote: 25 Jul 2022 17:25 Godzilla?
:lol: :lol: :lol: that would be an AWESOME feature, now I want to code Godzilla as a road vehicle and have it running around the city
DemianWSE
temporal8
Route Supervisor
Route Supervisor
Posts: 429
Joined: 17 May 2019 14:15

Re: Japanese Stations Add-ons

Post by temporal8 »

DemianWSE wrote: 25 Jul 2022 15:12 Could you guess what features I'm testing? :P
test.png
Passengers waiting in platforms.
Real Projects 32bpp releases:

Real Semi Trucks 32bpp: viewtopic.php?t=90996
Real Houses Eyecandy Objects 32bp: viewtopic.php?t=90767
Real Ships 32bpp: viewtopic.php?t=90733
Real Industries 32bpp: viewtopic.php?t=90183
Real Houses Townset 32bp: viewtopic.php?p=1254605
Real Stations 32bpp: viewtopic.php?p=1255635
Real Cars 32bpp: viewtopic.php?p=1249244
Real Vehicles 32bpp: viewtopic.php?p=1253581
Real Bus 32bpp: viewtopic.php?p=1249245
Real Trucks 32bpp: viewtopic.php?p=1254468
Real Parks 32bpp: viewtopic.php?p=1250255
Argentina World Cup 2022 Champions Bus 32bpp viewtopic.php?p=1257026
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2822
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Japanese Stations Add-ons

Post by ChillCore »

DemianWSE wrote: 25 Jul 2022 15:12 Could you guess what features I'm testing? :P
test.png
Passengers collecting chopped off 'plumbs'?


Kidding aside ... I'd love to see Godzilla smash Nuts' eggs on crossovers .... instead of 'trains' smashing 'road vehicles' as per usual ...

Animated please?
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

temporal8 wrote: 25 Jul 2022 19:53 Passengers waiting in platforms.
Yes! And year-dependant graphics (that's why it says "old" on the sations, I don't have the graphics yet :P )
ChillCore wrote: 25 Jul 2022 20:31 Passengers collecting chopped off 'plumbs'?
:lol: :lol: :lol:
ChillCore wrote: 25 Jul 2022 20:31 Kidding aside ... I'd love to see Godzilla smash Nuts' eggs on crossovers .... instead of 'trains' smashing 'road vehicles' as per usual ...

Animated please?
If I knew how to do it, it would be done by now :lol: , next project I guess
DemianWSE
User avatar
DemianWSE
Engineer
Engineer
Posts: 116
Joined: 21 Jul 2020 03:52
Location: Argentina

Re: Japanese Stations Add-ons

Post by DemianWSE »

It's not Godzilla, but I finally have a working snow and passenger-aware year-dependant platform:
test2.png
test2.png (57.36 KiB) Viewed 2126 times
It also places fences automatically when it's on the edge of the station. And passengers can be activated/deactivated by a parameter.

Now I have to do the rest of the platforms...
DemianWSE
User avatar
Aegir
Tycoon
Tycoon
Posts: 2883
Joined: 09 Feb 2004 10:02
Contact:

Re: Japanese Stations Add-ons

Post by Aegir »

DemianWSE wrote: 26 Jul 2022 15:07 It's not Godzilla, but I finally have a working snow and passenger-aware year-dependant platform:
test2.png

It also places fences automatically when it's on the edge of the station. And passengers can be activated/deactivated by a parameter.

Now I have to do the rest of the platforms...
YESSSS! I am so keen for this!
Currently working under the name 'reldred' on Github, and Discord.
NFO/NML coder, part-time patch writer for JGRPP, and all round belligerent.

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: belgi, peter1138 and 16 guests