Author |
Message |
wallyweb
|
Posted: 27 Jun 2016, 14:37 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
GarryG has gotten into the bridge business. He is the architect. (graphics). I am the engineer (coder). This topic is the workshop (discussion).
The discussion will be part tutorial, so it will be a good study for the aspiring bridge artist.
_________________ Visit SimuSchool - Tutorials, Questions and AnswersTTDPatch Nightlies Downloads are backThrive
|
|
Top |
|
|
wallyweb
|
Posted: 27 Jun 2016, 14:39 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
Tracking Table ============T - Transport Tycoon accesses only 11 bridges. O - OpenTTD adds two bridges for 13. N - New Map Features adds the final 3 slots for 16. Work in progressDone ID (dec) | ID (hex) | Default | Platform | Year | AuzBridge | 0 | 00 | Wooden Bridge | T,O,N | 1920 | 1 | 01 | Concrete Bridge | T,O,N | 1920 | 2 | 02 | Girder, Steel Bridge | T,O,N | 1930 | Steel Girder | 3 | 03 | Suspension, Concrete Bridge (1) | T,O,N | 1920 | 4 | 04 | Suspension, Steel (Bronze) Bridge | T,O,N | 1930 | 5 | 05 | Suspension, Steel (Golden) Bridge (1) | T,O,N | 1930 | 6 | 06 | Cantilever, Steel (Bronze) Bridge | T,O,N | 1930 | 7 | 07 | Cantilever, Steel (Brown) Bridge (2) | T,O,N | 1930 | 8 | 08 | Cantilever, Steel (Red) Bridge (2) | T,O,N | 1930 | 9 | 09 | Girder, Steel Bridge | T,O,N | 1930 | 10 | 0A | Tubular, Steel (Bronze) Bridge | T,O,N | 1995 | 11 | 0B | Tubular, Steel (Golden) Bridge (3) | O,N | 2005 | 12 | 0C | Tubular, Silicon Bridge (3) | O,N | 2010 | 13 | 0D | To be drawn | N | Open | 14 | 0E | To be drawn | N | Open | 15 | 0F | To be drawn | N | Open |
(1) Recolour of Suspension, Steel (Bronze) Bridge (2) Recolour of Cantilever, Steel (Bronze) Bridge (3) Recolour of Tubular, Steel (Bronze) Bridge There are no sprites for the recolour bridges, nor for bridges 13, 14 or 15. A bridge set features several bridges. TTDPatch can have 11 bridges. OTTD can have 13 bridges. NMF can have 16 bridges. Each bridge has four decks: - Rail - Road - Monorail - MagLev A bridge has four parts: - Ramp - Back & Deck - Front - Pillars Ramps are flat and sloped and one tile in length. Decks are flat and one tile in length. Decks can be paired to accomodate longer superstrutures. Ramps and Decks can be any width to a maximum of one tile wide. Superstructures should not extend out over Ramps. Pillars are 8 pixels in height. Some assembly requiredThe OTTD internal code does this for you according to the following GRF Specification for Action0 Bridges: Code: There are five possible bridge layouts in TTD. The numbers in the table below reflect the bridge table numbers in the NFO code. Layout Description __ Bridge without middle part _0_ Bridge of length 3 _0(23)1_ Bridge of even length _0(23)4(23)1_ Bridge of (uneven) lengths 5, 9, 13, 17 etc. _0(23)253(23)1_ Bridge of (uneven) lengths 7, 11, 15, 19 etc.
_ is used as a symbol to indicate bridgeheads (as defined in table 6).
Part 0 is always at the farthest end from the viewer.
Parts (23) are repeated n times as necessary, where n is any number equal or greater than 0 . Here is a graphical description: Attachment:
SampleBridgesOTTD, 1st Jan 2016.png [ 71.05 KiB | Viewed 27608 times ]
Bridge part 4 should be an insert to extend your bridge to three tiles.. Bridge part 5 should be a deck with no superstructure. The attached zip file contains the sample sprites, sample nfo and a sample grf. The sample sprite sheet shows a lot of sprites. You only need a few of these. When you have looked at the sample spritesheet, I will answer your questions. Attachment:
SampleBridgesOTTD.zip [34.08 KiB]
Downloaded 2771 times
Enjoy, Wally
_________________ Visit SimuSchool - Tutorials, Questions and AnswersTTDPatch Nightlies Downloads are backThrive
|
|
Top |
|
|
GarryG
|
Posted: 27 Jun 2016, 14:54 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
Here's one of my templates .. it a fake steel girder bridge template at moment so I can get the gist of it and the correct design. Attachment:
woodbridge1.png [ 4.81 KiB | Viewed 27612 times ]
With the help wally has offered be interesting what can be achieved. Cheers
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
GarryG
|
Posted: 28 Jun 2016, 00:20 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
Thanks Wallyweb for the lessons .. Looking at the png now .. We have: Tables 00 to 06 If I understand it correctly each table has has 4 sections. I presume Each section be for the 4 different types of bridges .. - Rail - Road - Monorail - MagLev For instance Table 00 has 3 views for SW to NE direction and 3 views NW to SE direction. Not sure what the 3 views are for. I presume Left be the structure and decking and right side be the pillars. Not sure what the center one would be yet. Attachment:
Table00.PNG [ 2.24 KiB | Viewed 27607 times ]
Shall fiddle around with it and see what I can work out. thanks pal
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
wallyweb
|
Posted: 28 Jun 2016, 00:39 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
GarryG wrote: Not sure what the center one would be yet. The center one is for the front. Use the sample grf to build a rail bridge. Don't worry about the "No Tracks!!!". The train won't notice and cross anyways. You will see it pass behind the number.
_________________ Visit SimuSchool - Tutorials, Questions and AnswersTTDPatch Nightlies Downloads are backThrive
|
|
Top |
|
|
GarryG
|
Posted: 28 Jun 2016, 01:02 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
Did you stay awake all those hours just for me The front is that the side view of the bridge above the rail level. For instance the metal girder if I do the girder bridge? Left is the decking, center above the deck and right is the pillars.
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
wallyweb
|
Posted: 28 Jun 2016, 02:49 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
GarryG wrote: Did you stay awake all those hours just for me Heh! I live on the other side of the planet. Quote: The front is that the side view of the bridge above the rail level. For instance the metal girder if I do the girder bridge?
Left is the decking, center above the deck and right is the pillars. Left is the decking and the rear girders that are behind the train. Center is the front girders and the overhead girders. Right is the pillars.
_________________ Visit SimuSchool - Tutorials, Questions and AnswersTTDPatch Nightlies Downloads are backThrive
|
|
Top |
|
|
GarryG
|
Posted: 28 Jun 2016, 02:58 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
Must be getting close to bedtime there? That if you go bed normal times like I don't.
I often up till 11 pm sometimes midnight then nature wakes me not long after the sun comes up. I make up for it with a a few hours nap during the day.
If sprite not big enough for tall structures I just make bigger sprites?
Can the embankments and culverts I made as objects be made like a bridge too?
What I'll do is make the designs I like as objects to get size sizes and looks right then cut them into pieces and place in the bridge sprites. I think that best way for me to get the hang of it.
Cheers pal
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
wallyweb
|
Posted: 28 Jun 2016, 03:20 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
GarryG wrote: Must be getting close to bedtime there? That if you go bed normal times like I don't.
I often up till 11 pm sometimes midnight then nature wakes me not long after the sun comes up. I make up for it with a a few hours nap during the day. Yes ... It is 10PM here. I keep the same kind of hours as you do, Except tonight. Tomorrow is pension pay day, bill paying day and refill the larder day all rolled up into one, so I will be slow with my replies. Quote: If sprite not big enough for tall structures I just make bigger sprites? Exactly. Quote: Can the embankments and culverts I made as objects be made like a bridge too? No ... They are objects that fit under the bridge ... just like in my screenshot contest submission. Quote: What I'll do is make the designs I like as objects to get size sizes and looks right then cut them into pieces and place in the bridge sprites. I think that best way for me to get the hang of it. That is what I do. Happy drawing and goodnight from Canada Wally
_________________ Visit SimuSchool - Tutorials, Questions and AnswersTTDPatch Nightlies Downloads are backThrive
|
|
Top |
|
|
GarryG
|
Posted: 28 Jun 2016, 03:23 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
Good night .. sweet dreams .. tomorrow is my pension day too so I be busy for a while in morning.
Cheers pal
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
GarryG
|
Posted: 28 Jun 2016, 14:29 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
Update to where I up to .. I got the Steel Girder bridge to design I want .. like to change its colors now .. tried a few times but not get it right yet. The grayish look that I got some of the design from looks ok .. but I like a old style look where the metal is rusty.
I got a early start tomorrow with shopping and a few other things. Hope tomorrow afternoon I can try again with colouring.
If I not get it right then I will do the wooden bridge and come back to the steel one later date.
Cheers.
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
wallyweb
|
Posted: 28 Jun 2016, 16:38 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
|
Top |
|
|
GarryG
|
Posted: 28 Jun 2016, 23:59 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
I heading to town in an hours time .. I think you be in bed by time I get home again.
These bridges I trying to do will they interfere with bridges we use in game.
I doubt I ever be able to do some of the more fancy ones that are used. I just hope to make some of the more common designs used.
I'm mainly interested in rail bridges but guess I should cater some for roads too.
2 type of wooden ones in use in my country .. one has no walkways .. if your walking across it and a train comes .. better start running or hope the water not to shallow if you have to jump .. some of the longer ones of these do have a small area regularly spaced to go. The other will have wider decking and safe place to walk.
There are several types steel bridges hat are commonly used.
But first I get the first one done.
Cheers pal
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
GarryG
|
Posted: 29 Jun 2016, 01:05 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
While waiting to go town I quickly did up a bridge in a old rusty look.
Which of these you think look better.
The one on left are the colours used in Total Bridge replacement Set steel girder bridge. On right is an attempt to give the metal a old rusty look.
I better run .. got a bus to catch .. cheers
Attachments: |
SteelBridges1.png [ 3.05 KiB | Viewed 27586 times ]
|
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
wallyweb
|
Posted: 29 Jun 2016, 01:35 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
|
Top |
|
|
athanasios
|
Posted: 29 Jun 2016, 01:52 |
|
Moderator |
|
Joined: 29 Feb 2012, 00:55 Posts: 1770 Location: Hellas
|
GarryG wrote: Which of these you think look better Why not mix the colors to create a nice rust effect (but the pixels are very few so it will be pretty hard and the repeated pattern will look ugly. I suppose this will need new code-unless Wally knows better.)
|
|
Top |
|
|
GarryG
|
Posted: 29 Jun 2016, 04:04 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
athanasios wrote: GarryG wrote: Which of these you think look better Why not mix the colors to create a nice rust effect (but the pixels are very few so it will be pretty hard and the repeated pattern will look ugly. I suppose this will need new code-unless Wally knows better.) I'll work in with wally and change if need. I be putting those one above in with the object sets.Once I done that will see how I go doing it for real.
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
wallyweb
|
Posted: 29 Jun 2016, 04:09 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
|
Top |
|
|
GarryG
|
Posted: 29 Jun 2016, 04:20 |
|
Expert |
|
|
Joined: 03 May 2015, 03:27 Posts: 1716 Location: Newcastle, Australia
|
wallyweb wrote: You can have one for rail and the other for roads. Hope to be able to do that .. If I can .. hope to build a wooden one similar to the one I did for objects. It's be basically for trains. Then I'll do another wooden one a bit wider so be suitable for both rail and road. The 2 steel girder ones I like to try is the one shown above and one a bit like this. Attachment:
Hexham Bridge.PNG [ 341.8 KiB | Viewed 27579 times ]
This bridge is a road bridge at Hexham near Newcastle. This design is common even for rail. Center span can lift to allow passage of ships. I don't suppose it can be animated in our games. Whether I do any other designs depends how successful can be with those ideas.
_________________ All my projects are GPLv2 License. Soot Happens. Projects: viewtopic.php?f=179&t=811
|
|
Top |
|
|
wallyweb
|
Posted: 29 Jun 2016, 04:39 |
|
Master Mentor |
|
Joined: 27 Feb 2012, 22:45 Posts: 1880 Location: Canada
|
Unfortunately animations are not yet supported for bridges. It would require significant work by a developer, but that bridge would still make for an excellent feature in your bridge set.
_________________ Visit SimuSchool - Tutorials, Questions and AnswersTTDPatch Nightlies Downloads are backThrive
|
|
Top |
|
|