"Project Generic Stations" Thread
Moderator: Graphics Moderators
You can't just include the code as it is? I figured it'd be pretty easy if it was already done. Or can you not decompile a GRF file, you'd need the NFO file?
Is someone else interested in adding more details to that station?
Actually, while we're on that subject, can someone extract all the sprites from the Silverline GRF recently posted, and post them here as graphic files? That way they can be worked on and added to more readily.
Is someone else interested in adding more details to that station?
Actually, while we're on that subject, can someone extract all the sprites from the Silverline GRF recently posted, and post them here as graphic files? That way they can be worked on and added to more readily.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
AIUI, Aegir needs an LST. The NFO/PCX<->GRF conversion is reversable, but the LST/PCX->GRF apparently isn't.
BICBW, &c.
BICBW, &c.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Sorta, but not exactly. I can decode a .grf into a .nfo and .pcx, and import those into GRFMaker, but it rarely works for stations.
When I go to code it though, I will most likely borrow all the rel values and the original offsets and extents from the nfo, most likely by reading it manually. Thats what I had to do for the City stations.
When I go to code it though, I will most likely borrow all the rel values and the original offsets and extents from the nfo, most likely by reading it manually. Thats what I had to do for the City stations.
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!
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!
I havent got even the slightest clue how the hell Im going to code these Heck, they use 5 sprites in some parts, and I always thought four was the max, or atleast, thats what I thought when I asked Szappy to tell gl2 to increase the amount of sprites per station tile from three to four...
Could a Patch-dev (Or Oracle) please elaborate?
Could a Patch-dev (Or Oracle) please elaborate?
- Attachments
-
- Wtf?
- stationssilverline_147_162.png (24.46 KiB) Viewed 998 times
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!
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!
- Sanchimaru
- Tycoon
- Posts: 1542
- Joined: 05 Feb 2004 22:39
- Location: Kobe, Japan
- Contact:
-We must hurry up! the next train is going to come soon!
...
-Bah, it doesn't matter; the next one will arrive within 5 minutes, so there's no need to haste.
-Are you sure? let's check the time-table
-Ah, it comes after 9 minutes, not 5! how come?
-There's a freight car passing away through this station, that takes some time from the regular coaches
-Well, let's go fast then! do you have your ticket?
-Yep... >BUZZZ<
-What's wrong now!? the train is on the platform!
-Aah! off course! today is day 1!! this is the ticket from last month
-You always leave everything for the last moment!! ... bah, go fill in the form and go to the desk for this month's one... we have time, you know? 9 minutes...
-Sorry... well, we can see the freight train as it passes by. I heared they are using some new locomotives, they are cool!
-... whatever
...
-Bah, it doesn't matter; the next one will arrive within 5 minutes, so there's no need to haste.
-Are you sure? let's check the time-table
-Ah, it comes after 9 minutes, not 5! how come?
-There's a freight car passing away through this station, that takes some time from the regular coaches
-Well, let's go fast then! do you have your ticket?
-Yep... >BUZZZ<
-What's wrong now!? the train is on the platform!
-Aah! off course! today is day 1!! this is the ticket from last month
-You always leave everything for the last moment!! ... bah, go fill in the form and go to the desk for this month's one... we have time, you know? 9 minutes...
-Sorry... well, we can see the freight train as it passes by. I heared they are using some new locomotives, they are cool!
-... whatever
- Attachments
-
- jrtown.zip
- the PCX with the sprites correctly arranged to be coded. ask me if you find any doubt / comment
- (6.15 KiB) Downloaded 304 times
-
- the allocation scheme, so that you can see what they should look like once assembled
- jrtown.png (9.13 KiB) Viewed 8249 times
Okay, Ill sugest an option to select how many sprites per individual time then.Patchman wrote:There is technically no maximum for the number of sprites per tile, but if you have too many the sprite sorter will get confused if there are also pylons and wires.
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!
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!
This is quite complicated (and the way it's been coded isn't quite in keeping with the proper guidelines) but it's not really a huge amount different to any other station (although it does have the roof to consider).Aegir wrote:I havent got even the slightest clue how the hell Im going to code these Heck, they use 5 sprites in some parts, and I always thought four was the max, or atleast, thats what I thought when I asked Szappy to tell gl2 to increase the amount of sprites per station tile from three to four...
Could a Patch-dev (Or Oracle) please elaborate?
If you do some analysis of the GRF file then there are eight different tile designs, due to all possible combinations of these two factors:
Left/right side of track (i.e. even numbered platform)
Front tile/end tile/middle tile (i.e. is tile number either end (which one does make a difference) or any other tile?)
If middle tile, is it a tile 1+4n from the front? (n = 0, 1, 2 ...) (this displays the "departure board" rather than the lamp posts)
How Arte Pro has coded it is to restrict construction to an even number of platforms (fairly obvious) and then he's coded the sprite layout to avoid having to customise TTD's layout, then changing the graphics with an Action 2. I would code the six different tile types separately and then use callback 14 to switch between them (which is probably easier if you know how to do that).
For each tile type there are 12 sprites in the PCX, which I will just call 6 because there's obviously one for each direction. There is:
- The platform
- The fence + its semi-transparent bit
- A blank one (I'm not sure about why this is here, probably to ease the coding in the way he did it)
- The roof + its semi-transparent bit.
You'll obviously have to do that eight times, but you can reuse the offsets/sizes most of the time, of course.
If that isn't the way you're going to do it then I can't really help, I'm afraid, but I will try to clarify anything if I've been a little opaque at times (as I'm sure I have!).
US Train Set v0.87.1 now released: http://www.tt-forums.net/viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual
Cheers for the advice Oracle, that should come in handy when the time for coding those stations crops up .
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!
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!
- Sanchimaru
- Tycoon
- Posts: 1542
- Joined: 05 Feb 2004 22:39
- Location: Kobe, Japan
- Contact:
ok, here you are the finished version for JR passenger stations. I think everything is ok and ready, but check it out and tell me of anyting you might find, please!
nothing else is to be added, unless someone else suggests, points out someting.
nothing else is to be added, unless someone else suggests, points out someting.
- Attachments
-
- a preview of an arrangement using the sprites provided in this file
- jrstation.png (25.88 KiB) Viewed 8093 times
-
- jreki.zip
- the neccessary files and information on how to code them
- (36.63 KiB) Downloaded 346 times
Perfect Sanchimaru, absolutly perfect.
When Im done rebuilding pre 2 and coding pre3, Ill start on the Japanese stations.
When Im done rebuilding pre 2 and coding pre3, Ill start on the Japanese stations.
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!
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!
It looks very good, but isn't it strage that the roofs are not located nearby the overpass?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
- d00mh4mm3r
- Tycoon
- Posts: 1137
- Joined: 03 Feb 2005 03:32
- Location: Melbourne; Australia
Looks gorgeous, and very much like I remember them being.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
- Sanchimaru
- Tycoon
- Posts: 1542
- Joined: 05 Feb 2004 22:39
- Location: Kobe, Japan
- Contact:
I'm glad you liked it! I am very excited to see them working
Aegir: thanks for your compliments, take your time and mess with them whenever you have the time. Could you dedicate the time for these and for the japan-style switchyard, please?
Purno: thanks! I'm glad you liked it. As for the roofs, I just added the station parts as I completed them, just to show them and to be sure that they were correctly aligned. Now you mention it, the arrangemet looks a little bit odd as it is, but when Aegir is done, you could make your own configrations
d00mh4mm3r: $100 a trip to where? off course there are expensive trips; go and look for Twilight Express, Sunrise Express or Cassiopeia; and just ask how much is "a trip". But that's not the regular train you are taking every morning to go to the factory, you know...
About the little story telling, it began in the Japan set thread... I had been drawing buildings and trains for that set since over a year ago, but recently I had the idea of not just posting the image but to add a little story, like introducing them. Thus they look more attractive
Aegir: thanks for your compliments, take your time and mess with them whenever you have the time. Could you dedicate the time for these and for the japan-style switchyard, please?
Purno: thanks! I'm glad you liked it. As for the roofs, I just added the station parts as I completed them, just to show them and to be sure that they were correctly aligned. Now you mention it, the arrangemet looks a little bit odd as it is, but when Aegir is done, you could make your own configrations
d00mh4mm3r: $100 a trip to where? off course there are expensive trips; go and look for Twilight Express, Sunrise Express or Cassiopeia; and just ask how much is "a trip". But that's not the regular train you are taking every morning to go to the factory, you know...
About the little story telling, it began in the Japan set thread... I had been drawing buildings and trains for that set since over a year ago, but recently I had the idea of not just posting the image but to add a little story, like introducing them. Thus they look more attractive
"That Sanchimaru fellow did a fine job designing this station."Sanchimaru wrote:About the little story telling, it began in the Japan set thread...
"Yes, but every now and then this big thing comes out of the sky and rearranges the platform."
"I agree. This week the shelters are so far away from the stairs."
"Maybe if we show our dissaproval?"
"No. That just makes them plant more trees."
"Here comes the train ... Something is out of sorts."
"That's one of DanMack's American engines!"
"Here in Japan? What next?"
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
- Sanchimaru
- Tycoon
- Posts: 1542
- Joined: 05 Feb 2004 22:39
- Location: Kobe, Japan
- Contact:
Sanchimaru, excellent work as always man~!
Regards,
Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
CN Boxcar drawn by Dave Hersrud
Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
CN Boxcar drawn by Dave Hersrud
Who is online
Users browsing this forum: Google [Bot] and 70 guests