Glass Station Release
Moderator: Graphics Moderators
Glass Station Release
Hi,
Finally finished coding Purno's / Born_Acorn's Glass Station.
This is my first ever real attempt at coding a station.
So don't expect it to be perfect.
Requirements
TTDpatch 2.0.1r Alpha 22 or Higher
The Switch "newstations" set to on in ttdpatch.cfg
If either of these fail the grf will give an error.
Installation
Copy "glassstation(w).grf" to the newgrf directory
Add "newgrf/glassstation(w).grf" to newgrf(w).cfg
Please Note: (w) means only add w there if you have the windows versions
Spefication
Number Of Platforms: 1 to 4
Length Of Platforms: 2 to 7
Custom Layouts for all combinations of the above.
How To Use
Quite simple really.
1. Open The Buy Station Window
2. Click Orientation (A menu should appear)
3*. Select Glass Station
4. You should now see the glass station in the previews
5. Choose the dimentions
6. Place Station
Screenshot
A load more of images of it's development can be found here.
Known Issues
None! If you find any tell me!
Credits
Purno for station concept (Graphics)
Born_Acorn for the graphics (Almost all of them!)
Lakie (Me!) for coding the staton and for fixing some of the graphics
Downloads are below, as normal I will post the source later.
~ Lakie
Finally finished coding Purno's / Born_Acorn's Glass Station.
This is my first ever real attempt at coding a station.
So don't expect it to be perfect.
Requirements
TTDpatch 2.0.1r Alpha 22 or Higher
The Switch "newstations" set to on in ttdpatch.cfg
If either of these fail the grf will give an error.
Installation
Copy "glassstation(w).grf" to the newgrf directory
Add "newgrf/glassstation(w).grf" to newgrf(w).cfg
Please Note: (w) means only add w there if you have the windows versions
Spefication
Number Of Platforms: 1 to 4
Length Of Platforms: 2 to 7
Custom Layouts for all combinations of the above.
How To Use
Quite simple really.
1. Open The Buy Station Window
2. Click Orientation (A menu should appear)
3*. Select Glass Station
4. You should now see the glass station in the previews
5. Choose the dimentions
6. Place Station
Screenshot
A load more of images of it's development can be found here.
Known Issues
None! If you find any tell me!
Credits
Purno for station concept (Graphics)
Born_Acorn for the graphics (Almost all of them!)
Lakie (Me!) for coding the staton and for fixing some of the graphics
Downloads are below, as normal I will post the source later.
~ Lakie
- Attachments
-
- GlassStationw.zip
- Windows Version
- (10.15 KiB) Downloaded 3765 times
-
- GlassStation.zip
- DOS version.
- (10.15 KiB) Downloaded 1169 times
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
very nice indeed! i'll give them a go tomorrow.
"Your mother was a lobster, and your father... was also a lobster" -- The rascal formerly known as astath -- Last.fm -- Official TT-Dave Worley Fan Club
<orudge> make love to me while I surf, dear lobster
<orudge> make love to me while I surf, dear lobster
Nice work guys. Thought you might enjoy this:
- Attachments
-
- Suburban Station in Web City
- newstation.png (48.27 KiB) Viewed 30839 times
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
- Born Acorn
- Tycoon
- Posts: 7595
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
I see some errors in your screenshot (not the stations);wallyweb wrote:
1. The bridge shows wrong roadtexture on the bridge approaches
2. The railway fence doesn't completely show the new graphics
I don't know how to solve 1, but 2 can be solved by reading the 'readme'/'installation guide' at dinges's site or grfcrawler, IIRC. Got something to do with the order in newgrf.cfg compared to elrails or something.
Sorry for OT,
Lakie, thank you very much, finally some of my graphical work is coded into stations
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."
-
- Tycoon
- Posts: 14275
- Joined: 09 Jan 2003 08:37
Why not for passengers?
I know one tram station that looks a bit like it ...
I know one tram station that looks a bit like it ...
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
- Lightglobe
- Chief Executive
- Posts: 754
- Joined: 25 Mar 2004 09:03
- Location: Sydney, Australia
- Contact:
........SHADOW-XIII wrote:I do not think it suits freight trains
Well thanks, cause you know, I though I might use a station that obvioulsy would be for a passenger station as a freight station.
But seriously, thats the most obvious comment I've seen today, hell, lets make that this week. God, sometimes you amaze me Shadow.
Yarr, thar princess is in 'nother castle!
[16:28] <marcf> lol cant u comine ttd and ottd
[16:29] <marcf> (please don't take me seriously)
[16:28] <marcf> lol cant u comine ttd and ottd
[16:29] <marcf> (please don't take me seriously)
- Born Acorn
- Tycoon
- Posts: 7595
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
- Born Acorn
- Tycoon
- Posts: 7595
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
Didn't relise there was a station like that Hyronymus, looks pretty damn cool.
A few things, I believe it might be bugged with multiple platforms in the north-west to south-east direction (\)
And yes, it does look strange with configurations with more platforms, maybe some new graphics for that Born_Acorn?
I'm more than happy to add changes, or new tiles. Or to extend the limits. (Since I normally use 4x8 station configurations myself), It's just I would need some graphics for a 1x1(n) sized station.
Anyways Source as I promised.
Please note, that this was wrote / used to debug eis_os' comment in actions grfcodec (diff).
I add a subclass name incase another station had the same type id...
~ Lakie
A few things, I believe it might be bugged with multiple platforms in the north-west to south-east direction (\)
And yes, it does look strange with configurations with more platforms, maybe some new graphics for that Born_Acorn?
I'm more than happy to add changes, or new tiles. Or to extend the limits. (Since I normally use 4x8 station configurations myself), It's just I would need some graphics for a 1x1(n) sized station.
Anyways Source as I promised.
Please note, that this was wrote / used to debug eis_os' comment in actions grfcodec (diff).
I add a subclass name incase another station had the same type id...
Code: Select all
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 4)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
// Number of sprites in file
0 * 4 3E 00 00 00
// Check the TTDpatch Version
1 * 9 07 8B 04
# Version must be higher
05
# 2.0.1r Alpha 21
02 0A D2 00
# Skip the next to lines
02
// Provide an Error
2 * 20 0B
# This is a fatal error
03
# All languages
1F
# Message is "Requires TTDpatch version..."
00
# Text for the version
"2.0.1r Alpha 22" 00
// Disbale this Grf File
3 * 9 07 8B 04
# Version is must be lower
04
# 2.0.1r Alpha 22
02 0A DC 00
# Skipp the whole file
00
// This Grf can only function if newstations switch is on
4 * 6 07 85 01
# Bit must be on to trigger
00
# newstations bit
52
# Skip the Next 2 Sprites
02
// Give Error
5 * 19 0B
# Critial Error
03
# All Languages
1F
# Message is - "Designed to be used with ..."
02
# Used With "newstations on"
"newstations on" 00
// Skip the rest of the file
6 * 6 07 85 01
# Bit must be off to trigger
01
# newstations bit
52
# Skip the Next 2 Sprites
00
// Only enable if it's the temperate
7 * 6 07 83 01
# Must Not Match
03
# Temperate Climate
00
# Skip the whole file
00
// Define the Grf
8 * 59 08 06
"BAGS"
"Glass Station v1" 00
"Adds Glass Station v1 to Temperate." 00
// Define the station
9 * 697 00 04 05 01 00
# Create a new station class (BAGS)
08 "BAGS"
# Define 8 tile sprite definations
09 08
# Set the ground sprite to the default ttd one (/)
# First sprite on the tile has no offsets
# Offets are all set to 1
# Both of these stop clipping
# Sprite Id is the start of ttd's station sprites
# With an offset of 8000 to make company colours work
F4 03 00 00 00 00 00 01 01 01 2D 84 00 00
# This defines a shadow sprite (Glass)
# Offsets must be 0 for it to line up
# Sprite id has 3224000 added to it
# So it calculates the transparency
00 00 80 00 00 00 2E 44 22 03
# Offsets are set to F in the x, y
# This moves the sprite to the
# oppisite corner And stops clipping
0F 0F 00 01 01 01 35 84 00 00
# The 80 ends the tile sprite defination
00 00 80 00 00 00 36 44 22 03 80
# Set It to the other way (\)
F3 03 00 00 00 00 00 01 01 01 3D 84 00 00
00 00 80 00 00 00 3E 44 22 03
0F 0F 00 01 01 01 45 84 00 00
00 00 80 00 00 00 46 44 22 03 80
F4 03 00 00 00 00 00 01 01 01 2F 84 00 00
00 00 80 00 00 00 30 44 22 03
0F 0F 00 01 01 01 37 84 00 00
00 00 80 00 00 00 38 44 22 03 80
F3 03 00 00 00 00 00 01 01 01 3F 84 00 00
00 00 80 00 00 00 40 44 22 03
0F 0F 00 01 01 01 47 84 00 00
00 00 80 00 00 00 48 44 22 03 80
F4 03 00 00 00 00 00 01 01 01 31 84 00 00
00 00 80 00 00 00 32 44 22 03
0F 0F 00 01 01 01 39 84 00 00
00 00 80 00 00 00 3A 44 22 03 80
F3 03 00 00 00 00 00 01 01 01 41 84 00 00
00 00 80 00 00 00 42 44 22 03
0F 0F 00 01 01 01 49 84 00 00
00 00 80 00 00 00 4A 44 22 03 80
F4 03 00 00 00 00 00 01 01 01 33 84 00 00
00 00 80 00 00 00 34 44 22 03
0F 0F 00 01 01 01 3B 84 00 00
00 00 80 00 00 00 3C 44 22 03 80
F3 03 00 00 00 00 00 01 01 01 43 84 00 00
00 00 80 00 00 00 44 44 22 03
0F 0F 00 01 01 01 4B 84 00 00
00 00 80 00 00 00 4C 44 22 03 80
# Restrict building of how many platforms can be made
# F0 - 5,6,7,+7
0C F0
# Restrict building of what length of platform
# 81 - 1,+7
0D 81
# Define new station layouts
0E
# Tile Definations - Key (+1 for \)
# 00 - Opening (South-West)
# 02 - Building Tile (No Opening)
# 04 - Tube Tile (No Opening)
# 06 - Opening (North-East)
#
# Length of 2, number of platforums 1
# Tile Sprite defination numbers
# One id for each tile in the station
02 01 06 00
# Length of 2, number of platforms 2
02 02 06 00 06 00
02 03 06 00 06 00 06 00
02 04 06 00 06 00 06 00 06 00
# Length of 3, number of platforms 3
03 01 06 02 00
03 02 06 02 00 06 02 00
03 03 06 02 00 06 02 00 06 02 00
03 04 06 02 00 06 02 00 06 02 00 06 02 00
04 01 06 02 04 00
04 02 06 02 04 00 06 02 04 00
04 03 06 02 04 00 06 02 04 00 06 02 04 00
04 04 06 02 04 00 06 02 04 00 06 02 04 00 06 02 04 00
05 01 06 04 02 04 00
05 02 06 04 02 04 00 06 04 02 04 00
05 03 06 04 02 04 00 06 04 02 04 00 06 04 02 04 00
05 04 06 04 02 04 00 06 04 02 04 00 06 04 02 04 00 06 04 02 04 00
06 01 06 04 02 04 04 00
06 02 06 04 02 04 04 00 06 04 02 04 04 00
06 03 06 04 02 04 04 00 06 04 02 04 04 00 06 04 02 04 04 00
06 04 06 04 02 04 04 00 06 04 02 04 04 00 06 04 02 04 04 00 06 04 02 04 04 00
07 01 06 04 04 02 04 04 00
07 02 06 04 04 02 04 04 00 06 04 04 02 04 04 00
07 03 06 04 04 02 04 04 00 06 04 04 02 04 04 00 06 04 04 02 04 04 00
07 04 06 04 04 02 04 04 00 06 04 04 02 04 04 00 06 04 04 02 04 04 00 06 04 04 02 04 04 00
# End Tile Layouts
00 00
// Import Graphics into file
// Total of 4 sprites per tile
// One sprite for each side (2)
// Each side piece has a shadow sprite (2)
// Four tile types, so 32 images
10 * 4 01 04 01 20
// First Sprite seqence (Furthest side) (/)
// Offsets use to line it up with the track
11 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1 1 01 33 44 -31 -14
// Shadow for previous sprite (Repeats all the way down)
// Shadow Sprite must have no offset
// As it inherts the offset from it's main sprite
12 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 46 1 01 33 44 0 0
13 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 91 1 01 33 53 -31 -14
14 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 145 1 01 33 53 0 0
15 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 199 1 01 33 50 -31 -14
16 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 250 1 01 33 50 0 0
17 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 301 1 01 23 40 -31 -4
18 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 342 1 01 23 40 0 0
// Second Sprite Sequence (Closest side) (/)
19 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 383 1 01 45 41 -7 -44
20 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 425 1 01 45 41 0 0
21 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 467 1 01 42 42 -8 -41
22 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 510 1 01 42 42 0 0
23 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 553 1 01 43 46 -12 -42
24 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 600 1 01 43 46 0 0
25 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 647 1 01 27 41 -8 -26
26 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 689 1 01 27 41 0 0
// Third Sprite Set (Furtherst side) (\)
27 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 731 1 01 33 44 -11 -14
28 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 776 1 01 33 44 0 0
29 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 821 1 01 33 53 -20 -14
30 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 875 1 01 33 53 0 0
31 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 929 1 01 33 50 -17 -14
32 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 980 1 01 33 50 0 0
33 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1031 1 01 23 40 -7 -4
34 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1072 1 01 23 40 0 0
// Fourth Sprite Set (Closest Side) (\)
35 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1113 1 01 45 41 -32 -44
36 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1155 1 01 45 41 0 0
37 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1197 1 01 42 42 -32 -41
38 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1240 1 01 42 42 0 0
39 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1283 1 01 43 46 -32 -42
40 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1330 1 01 43 46 0 0
41 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1377 1 01 27 41 -31 -26
42 C:\TTD\Born_Acorn\GlassStation\glassstation.pcx 1419 1 01 27 41 0 0
// Define Graphic Set
43 * 7 02 04 00 00 01 00 00
// Use graphics?
44 * 7 03 04 01 00 00 00 00
// Set name
// This is setting the class name (00 C4)
45 * 20 04 04 9F 01 00 C4 "Glass Station" 00
// This sets a sub class name (00 C5)
46 * 20 04 04 9F 01 00 C5 "Glass Station" 00
Last edited by Lakie on 23 Aug 2005 12:48, edited 2 times in total.
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
It's actually incase it has the same class id (BAGS)
So that the station doesn't end put named some wierd name.
In a class with other stations.
Although I think it's unlightly it would ever be used by another grf (Or station).
~ Lakie
So that the station doesn't end put named some wierd name.
In a class with other stations.
Although I think it's unlightly it would ever be used by another grf (Or station).
~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Yes, you do have a point.
I might need t do that, or I could just make sure any other stations I code uses the same class id.
And rename the Class Id?
I'll think about it.
~ Lakie
I might need t do that, or I could just make sure any other stations I code uses the same class id.
And rename the Class Id?
I'll think about it.
~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
i guess you could add it to one of the Generic Stations-classes. just ask Aegir 'bout the details.
"Your mother was a lobster, and your father... was also a lobster" -- The rascal formerly known as astath -- Last.fm -- Official TT-Dave Worley Fan Club
<orudge> make love to me while I surf, dear lobster
<orudge> make love to me while I surf, dear lobster
Who is online
Users browsing this forum: No registered users and 62 guests