Australian Railway Tracks

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
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

The blue parallel lines represent the top and bottom of a fence.

The bottom line of fence was hoping to get it to sit along the tile edges either side of the tile.

The sprite for fences.
fences.png
fences.png (4.88 KiB) Viewed 4446 times
There are 2 rows of fence sprites .. the top row is for fences in normal fences below the snow lines in games and the bottom row is for snow.

There is only the one sprite for a fence and it suppose to go either side of the track and was hoping to get the bottom of the fences to align with edges of tiles.

If I align the back fence with the tile, than the other side doesn't line up and sits above the tile edge.

Also have this problem with slopes.

Not easy to explain that why I put the source and files there so others might like to try and see what I up to.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
romazoon
Tycoon
Tycoon
Posts: 1291
Joined: 20 Jun 2010 23:16

Re: Australian Railway Tracks

Post by romazoon »

ok thanks for the explanation, i didn t know railway fences had such a limitation.

now looking closer at a few different track set, they indeed all show that same problem you describe, and different position of the fences seems used...so a wild guess would make me believe you are hitting a game limitation, and so you can just choose on which side the fence will be on the edge knowing that it won t match the edge on the other side

also, thank you, now i know why diagonal fences of all track sets are not joining so well the straight pieces
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

Hi all,

Still working on the tunnels when get chance.

Making them with brick portals an lining inside.
Brick Tunnels-1.png
Brick Tunnels-1.png (35.9 KiB) Viewed 4285 times
Problem I having if I move the prtal closer to the hill, the default tunnel graphics show.

So still need to figure that out.

If any one can point me in the right direction to overcome that obstacle be appreciated.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
STD
Tycoon
Tycoon
Posts: 1810
Joined: 02 Jul 2012 14:53
Location: Russia, Samara

Re: Australian Railway Tracks

Post by STD »

I like the look of the tunnel. Look very good :D .
[OpenTTD] STD screenshots
----------------------------------------------------------------------------------------------------------------------------------
[OpenTTD] STD saved games - My finished scenarios and saves from the game
My Youtube channel - OpenTTD | Wiki xUSSR set (RU) | Wiki xUSSR set (EN) | Download the latest version of the xUSSR set
TT Screenshot of the Month - the page editor | Screenshot Of The Month Contest Winner: August 2017
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

STD wrote:I like the look of the tunnel. Look very good .
Thanks for compliment.

That about the best I can do at moment. Tried several ideas to move portal towards the hills as keep getting default tunnel graphics appearing. I not give up as might be away around it. Other idea is maybe being the top of the hill towards the portal?
New Tunnel and signals.png
New Tunnel and signals.png (33.58 KiB) Viewed 4201 times
Any way if like to try where I up to now with the Track Set here's a copy and the source.

Changes made:

Added the tunnel.

The test tracks I made to see why fences don't line up properly has helped me make the grass fence a bit better to cover the wide ballast.

The wide ballast on parallel tracks I did a bit of transition wot to see if that also looks better between tracks.

I had some of the quadrant signals wrong so made a few changes.

Lower Quadrants .. had the semaphores_block and the semaphores_path_twoway wrong way around .. now fixed.

Upper Quadrant .. the semaphores_path_twoway I had both signal arms at clear when only the lower arm should clear for a train to pass .. now fixed.

Credits to the codes and ideas for the tunnel go to the makers of the Swedish Rails set.

Cheers all
Attachments
AuzTracks4.grf
(771.83 KiB) Downloaded 88 times
AuzTracks4.rar
Source Files
(1.84 MiB) Downloaded 72 times
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
Andrew350
Chairman
Chairman
Posts: 768
Joined: 19 Dec 2011 07:54
Location: Washington State, USA
Contact:

Re: Australian Railway Tracks

Post by Andrew350 »

GarryG wrote:That about the best I can do at moment. Tried several ideas to move portal towards the hills as keep getting default tunnel graphics appearing. I not give up as might be away around it. Other idea is maybe being the top of the hill towards the portal?
Just a thought: You may have to also replace the baseset tunnel graphics in addition to your railtype-provided ones to prevent this from happening. i.e. If you make the 'default' tunnel sprites match your new ones then it should allow you to draw them however you want :) Not sure if that might cause conflicts with other railtypes, but I'm also not sure there's any other way to go further "in" without altering the base graphics somehow.
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

Andrew350 wrote:Just a thought: You may have to also replace the baseset tunnel graphics in addition to your railtype-provided ones to prevent this from happening. i
You might be right. Just not real sure how go about that yet.

Thinking of another way too is to replace the concrete and around the portal with rocks to hide the default tunnel.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
Quast65
Tycoon
Tycoon
Posts: 2654
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Australian Railway Tracks

Post by Quast65 »

GarryG wrote:
Andrew350 wrote:Just a thought: You may have to also replace the baseset tunnel graphics in addition to your railtype-provided ones to prevent this from happening.
You might be right. Just not real sure how go about that yet.
Cheers
What exactly can you still see?
Is it a tunnel-entrance with its dark brick-like entrance, or just the grass-covered outside of a tunnel (so without the brick facade)?
This may narrow down where the answer may be ;-)
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

When I thought I on wrong track I deleted the files I was working with, so I try again today. Maybe 3rd time lucky. Will post image here when done.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

This the effect I get when try to move a portal back further.
Tunnels set back.png
Tunnels set back.png (35.81 KiB) Viewed 4083 times
And if put side by side cut a piece off the top of one of the tunnels.

Wondering if I use a full slope tile with rocks if it would cover the default tunnel.
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
Quast65
Tycoon
Tycoon
Posts: 2654
Joined: 09 Oct 2011 13:51
Location: The Netherlands

Re: Australian Railway Tracks

Post by Quast65 »

Thanks for posting that image, I dont see any brick facades on the "default" tunnels, meaning they are probably the Railtype Tunnel Base Sprites coming from OGFX-extra base-set (so not the OGFX-base base-set).
See here for a bit more information:
https://newgrf-specs.tt-wiki.net/wiki/Action5
So they are Type 17/97

Code: Select all

17 / 97 Tunnel overlay sprites
The sprites provide the ground for the tunnel sprites to be used by railtype NewGRFs which only need to provide the tunnel portals. They must be provided for both terrain types which could be used in any given climate (grass; grass+snow; grass+desert; grass).
What probably is happening is that you are using code from a railtype that uses this feature, so that they only needed to draw the facades. The rest of the tunnelsprite is then done via this feature (which is handy, saves a lot of extra drawing/coding).
If that is the case, try to contact the coders of that railtype to see how you can get rid of that feature.

If you coded it entirely yourself, you should be able to get rid of it by using an Action-5 (and replace those graphics with your own, or make them transparent), if you are coding in NFO.
However I think you code your railtypes in NML right? If so, you need the NML equivalent of Action-5, I dont know that one ;-)

In short, contact an experienced railtype coder, he/she should be able to help you out.
Shouldnt be a very difficult fix and then you can make your portals go deeper into the slope as you originally wanted.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604

Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

Thanks for your support Quast65 .. appreciated.

Looking at another idea as well.

Something you taught me many moons ago when I was making the fake bridge objects :D

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

Haven't did any more to tunnels as still pondering on some ideas .. no sence spending hours trying to do something that might not like, so until I figure out another way I will work on bridges.

This is one I worked on yesterday.

Hope to do more to bridges for a while see if I can finish them off
Attachments
iron Platting Bridge-2.png
iron Platting Bridge-2.png (84.67 KiB) Viewed 3971 times
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

When I placed the bridges in this forum I forgot I had a bridge forum section so all bridges will be placed in the correct place.

Updates to bridges just been placed there a few moments ago.

viewtopic.php?f=26&t=75248&p=1210091#p1210091

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
SimYouLater
Chief Executive
Chief Executive
Posts: 675
Joined: 03 Apr 2016 20:19

Re: Australian Railway Tracks

Post by SimYouLater »

Now that Trunk OpenTTD has 64 tracktypes, could you enable the ability to use 5 railtypes plus both NG and both third-rail tracktypes?

Thanks in advance, love this NewGRF.
Licenses for my work...
You automatically have my permission to re-license graphics or code by me if needed for use in any project that is not GPL v2, on the condition that if you release any derivatives of my graphics they're automatically considered as ALSO GPL v2 (code may remain unreleased, but please do provide it) and carry this provision in GPL v2 uses.
Please ask someone in-the-know to be sure that the graphics are done by me. Especially TTD-Scale, long story.
User avatar
Erato
Chief Executive
Chief Executive
Posts: 740
Joined: 25 May 2015 09:09
Location: The Netherlands

Re: Australian Railway Tracks

Post by Erato »

SimYouLater wrote:Now that Trunk OpenTTD has 64 tracktypes, could you enable the ability to use 5 railtypes plus both NG and both third-rail tracktypes?

Thanks in advance, love this NewGRF.
I just checked, the latest version still doesn't allow loading more than 16 tracktypes. Where did you get this information?
No pics no clicks. Seriously.
ImageImageImageImageImageImage
User avatar
Andrew350
Chairman
Chairman
Posts: 768
Joined: 19 Dec 2011 07:54
Location: Washington State, USA
Contact:

Re: Australian Railway Tracks

Post by Andrew350 »

Erato wrote:I just checked, the latest version still doesn't allow loading more than 16 tracktypes. Where did you get this information?
https://github.com/OpenTTD/OpenTTD/pull/6805

You might want to hold off on 'adding' support for this though, at least until the compile farm comes back online and/or you can properly check versions again.
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

Hi all,

When the new version of OpenTTD is closer to being released and I know what IDs need to be used for the extras than I see what I can extend in my sets.
SimYouLater wrote:Now that Trunk OpenTTD has 64 tracktypes, could you enable the ability to use 5 railtypes plus both NG and both third-rail tracktypes?
If it does allow that many Track Types I'd like to work in with another coder so that we can make tracks to suit all.

In Australia we don't have those "Maglev", "fast Monorail" and "third-rail" tracks and I haven't really planned to make them but like to work with someone else and make sure my IDs used don't over write those tracks they make.

Only tracks I like to have is to cater for the different speeds 20km.h, 40 km/h, 60 km/h, 80 km/h, 100, 120, 160 and 200 for future trains if ever Australia makes any trains that go that fast. 160 km/h is fastest we have at moment.

Wonder if it will also allow for extra bridges?

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

As mentioned in the Bridge set forum, I been wanting to do some tunnelling so see if I can get the portals to sit further back into the slopes.

With much help and appreciation to Quast65 this has been achieved.

Just need to do some decorations to them now and hope soon they be in next issue.

My plans are to make different Portals for the different track types.

Tracks prior to 1900s will have a brick portal. After the 1900s will introduce some stone and concrete types ..
Attachments
Tunnels Brick-3.png
Tunnels Brick-3.png (33.56 KiB) Viewed 3582 times
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
User avatar
GarryG
Tycoon
Tycoon
Posts: 5850
Joined: 14 Feb 2015 00:44
Location: Newcastle, Australia

Re: Australian Railway Tracks

Post by GarryG »

Making some changes to the track set .. not sure how long this will take but next issue will be different.

Calling it AuzRailTypes.

I originally removed the fences and replaced with the grass effect because fences along side railway tracks did not line up properly with object fences.

Much thanks to Quast65 fiddling with the code, the fences along side the railway lines now line up really good.

So I hope to put the fences back again and so can still have a wide ballast effect, I thinning out the ballast along the edges.

This image will show you how nicely they are. The fence along side the tracks is what Quast65 has made as temporary. I will replace these.
Fences-2.png
Fences-2.png (43.89 KiB) Viewed 3493 times
I'm also thinking of the idea of City Rail Tracks and Country Rail Tracks. City Tracks can have either of the closest 2 fences. First is Wood Panelling and other Security mesh. The other 2 be included in Country tracks as these are farm fences.

Quast65 has also design a better way to do the tunnels, so each track set I intend to do will have a different tunnel look.

Tell you more later.

Cheers
Soot Happens
Screenshot Of The Month Winner March 2020
All my projects are GPLv2 License unless stated.
Auz Road Sets: viewtopic.php?f=29&t=87335
Auz Project Releases: viewtopic.php?f=67&t=84725
Auz Trains: http://www.tt-forums.net/viewtopic.php?f=26&t=74193
Auz Industry Sets: http://www.tt-forums.net/viewtopic.php?f=26&t=74471
Auz Objects: viewtopic.php?f=26&t=75657
Auz Bridges: viewtopic.php?f=26&t=75248
Auz Stations: viewtopic.php?f=26&t=76390
Auz Tracks: viewtopic.php?f=26&t=82691
Auz Subway Stations: viewtopic.php?f=26&t=85335
Auz Eyecandy TramTracks: viewtopic.php?t=89908
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 11 guests