Viaduct update

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

User avatar
Redirect Left
Tycoon
Tycoon
Posts: 7249
Joined: 22 Jan 2005 19:31
Location: Wakefield, West Yorkshire

Post by Redirect Left »

:bow: :bow: :bow: :bow: :bow: :bow: :bow: :bow:

THANKYOU!!!
Image
Need some good tested AI? - Unofficial AI Tester, list of good stuff & thread is here.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

uzurpator wrote:the magic "station roof" yellow
That yellow is not magic, and never has been.
The "magic" is in how the sprite is drawn on the screen, not the colors that the sprite contains.
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
User avatar
Snail
Tycoon
Tycoon
Posts: 1283
Joined: 28 Apr 2003 18:52
Contact:

Post by Snail »

Toni Babelony wrote:That reminds me, there are also some 3rd rail lines in France, one even with freight traffic if i'm correct.
Yes, you're totally correct. Third rail was used in the region around Paris since the beginning of the century as an alternative to steam, and was also adopted in the Maurienne line (south-east of the country) until the Seventies.
For this reason, even the FRSet will have to use 3rd rail tracks quite extensively.

Ideally, we would need to code engines that work both under catenary and with 3rd rail, as there used to be locomotives with pantos and third rail shoes mounted simultaneously.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Poke Aegir. At one point, he had a little patch that permitted all trains on the third track type, or something like that. Obviously, it won't be quite that simple, but it's a good start.

Or maybe just wait for newroutes, which should support this.
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
User avatar
Aegir
Tycoon
Tycoon
Posts: 2884
Joined: 09 Feb 2004 10:02
Contact:

Post by Aegir »

Oi, no poking me...

And yes, I was screwing with the elrails patch at one point to allow trains to drive on the third rail type, and vice versa. Well, not quite vice versa, my logic as a little screwy at that point, didn't know exactly what piece of code I was hitting with a hammer at that point.
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!
User avatar
Snail
Tycoon
Tycoon
Posts: 1283
Joined: 28 Apr 2003 18:52
Contact:

Post by Snail »

I see... we might need something of the like though. More specifically, some trains should be allowed to drive under catenary or third rail (either should be fine).
Going one step forward, I was planning to draw two sets of sprites for each engine of this type: one with pantos up to display when running on catenary-powered tracks, and one with pantos down to display with 3rd rail. Will it be possible (with newroutes or other features)?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

It should be possible with newroutes, though you may have to make an explicit request for a variable that contains the tile's track type.
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
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Bastiaan wrote:Like Purno said, the third rails should be coded as catenary, so that diesel trains can use them too.
Forgot that point indeed. At the current system third rail can be used replacign the third rail type in TTD (monorail/maglev), which means it'll be a completely independant system. We'd need a patch feature to let ordinary trains drive on third rail, but that reminds me, it should also be possible to have both catenary and third rail on the same track, shouldn't it? The 'handle-thirdrail-like-catenary' suggestion was only for graphical issues, so 3rd rail could be drawn at switches.
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
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."
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

iNVERTED wrote:See screenshot. :?
I would suggest reversing the places of the GRF's involved here. So, for example, if the viaduct was ABOVE the shikansen tracks, you would put it BELOW. If the reverse is current, then reverse it again.
Also for some reason the viaduct has a maximum speed of 20 mph. Not very practical.
Thats because it replaces the wood bridge, and is designed to be the "early" bridge between 1921 and 1930. Making it any faster than that would render the game too easy - it's a challenge starting in the early years, not a cakewalk.

And finally, show a bit of respect, don't just stomp in here making demands, it's very rude. How about EXPLAINING your problem more than you did, and actually noticing that there is probaby REASOING behind why it has such a speed limit, rather than assuming that Pikka has done this to annoy you.
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

Enableing new bridge support could help aswell....
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5602
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

Raichase wrote:Thats because it replaces the wood bridge, and is designed to be the "early" bridge between 1921 and 1930. Making it any faster than that would render the game too easy
Er, actually, the viaduct is supposed to have a speedlimit of 80mph. If it doesn't, it's either because he has newbridges off or because another grf is changing it back.
iNVERTED
Route Supervisor
Route Supervisor
Posts: 387
Joined: 24 Apr 2005 21:21
Location: Torquay, England
Contact:

Post by iNVERTED »

eis_os wrote:Enableing new bridge support could help aswell....
:oops: You're right, it works perfectly now.
User avatar
Dave
Moderator
Moderator
Posts: 17243
Joined: 26 Dec 2005 20:19
Location: North London

Post by Dave »

Snail wrote:
Toni Babelony wrote:That reminds me, there are also some 3rd rail lines in France, one even with freight traffic if i'm correct.
Yes, you're totally correct. Third rail was used in the region around Paris since the beginning of the century as an alternative to steam, and was also adopted in the Maurienne line (south-east of the country) until the Seventies.
For this reason, even the FRSet will have to use 3rd rail tracks quite extensively.

Ideally, we would need to code engines that work both under catenary and with 3rd rail, as there used to be locomotives with pantos and third rail shoes mounted simultaneously.
The Class 92 that operates the Channel Tunnel freights is a dual-collection locomotive - it's got the DC shoe and the AC catenary - it runs both sides of the Channel.
Official TT-Dave Fan Club

Dave's Screenshot Thread! - Albion: A fictional Britain
Flickr


Why be a song when you can be a symphony? r is a...
User avatar
uzurpator
Transport Empire Moderator
Transport Empire Moderator
Posts: 2178
Joined: 10 Jan 2003 12:21
Location: Katowice, Poland

Post by uzurpator »

DaleStan wrote:That yellow is not magic, and never has been.
The "magic" is in how the sprite is drawn on the screen, not the colors that the sprite contains.
Indeed - any chance to use the same trick for bridges to create an under-bridge shadow?

Actually - any chance to use the same trick for all sprites (imagine live shadows on vehicles!)
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.
michael blunck
Tycoon
Tycoon
Posts: 5948
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

["shadows"]

> any chance to use the same trick for bridges to create an under-bridge shadow?

That must be possible, see Oskar´s test bridge.

> Actually - any chance to use the same trick for all sprites (imagine live shadows on vehicles!)

Yeah. Almost two (?) years ago, Oskar and me had carried out some experiments on this. However, shadows for train vehicles are very small in most directions and hence hard to see (only for the first/last vehicle, due to the angle of light) and therefore have been found to be unnecessary at that point in time. 8)

In any case, this would need some coding work.

regards
Michael
Image
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

TTD has no concept of realistic or physical correct shadows (or near correct)
The screenshots you mention are spritestream experimental shots. (showing recolor tinting, like for stations.)
With seperate sprites you can do that aswell, however I can say you that the sprite sorter won't be happy.

http://www.tt-forums.net/viewtopic.php?p=279266#279266

And about physical correctness problems:
http://www.tt-forums.net/viewtopic.php?p=282677#282677
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
michael blunck
Tycoon
Tycoon
Posts: 5948
Joined: 27 Apr 2005 07:09
Contact:

Post by michael blunck »

Ah yes, I even forgot the name. "Spritestreams".

> I can't currently reveal the internal logic of it, otherwise some OpenTTD folks will write it and claim it's their Code...

ROFL

regards
Michael
Image
User avatar
TGVfan
Engineer
Engineer
Posts: 120
Joined: 10 Oct 2003 19:52
Location: Almere, greater Amsterdam

Post by TGVfan »

Looks good, but personally I would have made them less yellow.
Image
User avatar
m3henry
Tycoon
Tycoon
Posts: 1985
Joined: 15 Feb 2006 12:00
Location: Hampshire

Digging!

Post by m3henry »

i have suggested this to pikka, but he is unsure on whether this idea would look good see attachment
So I'm asking users opinions on whether this would look nicer than the current system
'to justify the dig' wrote: Henry says:
shall i dig the viaduct thread?
David says:
if you like
Attachments
current and new
current and new
proposed bviaduct.png (3.54 KiB) Viewed 2257 times
The occasional look back at your past can teach you a great many things...
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Re: Viaduct update

Post by Purno »

You could do the new system for bridges with lengths 2, 4, 6, 8, etc., and the old system for lengths 1, 3, 5, 7 etc., perhaps?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
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."
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google Adsense [Bot] and 42 guests