Alpha 1, barely usable.
Release: in this post
Updated Sunday May 30th
In the NuTracks thread I've asked about the technical possibilities for replacing the tunnel entrance graphics only for a specific rail type (third rail metro tracks). This is as of yet impossible, but it looks like it may become possible in the nearish future. The reason is a concept I'm working on:
Subway stations cleverly disguised as parks
Presently, if you want to use down-town metro lines without sacrificing too many houses, you might end with something like this:
Thanks to the signals in tunnels patch, it is already possible to skip the signals around the platforms, and with the NuTracks and 2CC trainset, a metro line can easily carry respectable amounts of passengers, even with platforms at a length of 2 tiles. So what if we had a NewGRF for subway stations that could make the 4 by 2 tiles needed for such a down-town station look like parks?
I've never made a NewGRF before, so I have started experimenting a bit:
As you can see, I'm doing something wrong here. The roofs don't obscure the whole train, only a bit of it. Any idea what is going wrong here? This is my pre-NFORenum NFO:
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
1 * 10 00 00 00 00
1 * 10 08 07 "FN01" // GRF_ID
"Subway park stations" 00 // Name
"Subway stations in the form of parks above ground" 0D // Description
"by Freak_NL" 00 // Author
1 * 10 01 04 01 04
1 sprites/platforms.pcx 1 7 09 23 42 -9 -3 // ID 42D platform NE
1 sprites/platforms.pcx 113 38 09 39 64 -31 -8 // ID 42E platform + roof SW
1 sprites/platforms.pcx 91 7 09 23 42 -31 -3 // ID 42F platform NW
1 sprites/platforms.pcx 46 38 09 39 64 -31 -8 // ID 430 platform + roof SE
1 * 10 00 04 02 01 01 // Changing 2 properties for 1 station
08 "PRKP" // Put the station in "Park platforms"
09 02 // Tile layout, 2 different tiles
// tiletype bounding box sprite id bounding box sprite id
F4 03 00 00 00 00 00 10 05 03 2F 04 00 00 00 00 00 10 10 08 30 04 00 00 80
F3 03 00 00 00 00 00 05 10 03 2D 04 00 00 00 00 00 10 10 08 2E 04 00 00 80
1 * 10 02 04 00 00 01 00 00
1 * 10 03 04 01 01 00 00 00
1 * 10 04 48 FF 01 01 C5 "Park platform" 00
1 * 10 04 48 FF 01 01 C4 "Subway park platforms" 00
I've looked at a number of other NewGRFs and the tutorial for inspiration, but some parts I don't quite understand.
- Action0's tiletype (F4 03 00 00), that seems to work, but what does it refer to?
- Do I need multiple sprites to make a closed "roof" (park) as outlined above?