Custom traintunnel entrances, exits and extra's. V0.3
Moderator: Graphics Moderators
Custom traintunnel entrances, exits and extra's. V0.3
Major edit! Some recent developments and idea's have changed the way custom traintunnels can be implimented, the discussion about that starts roughly here: http://www.tt-forums.net/viewtopic.php? ... 0#p1032403
The GRF can be found here: http://www.tt-forums.net/viewtopic.php? ... 3#p1037463
With the kind permission to use the graphics of Red*Star (the platform inside the tunnel), Born Acorn (the UK road) and the developers of the Japan Set (the tunnel itself), I have made a new traintunnel with UK-roads on top to make tunnels blend in more in city environments. I don't like grass inside my cities
Please note that the road is pure eyecandy, vehicles will not drive over that!
This GRF will change all traintunnels to this tunnel, but it also looks good in rural environments when roads are placed next to it.
I chose the UK road to be on top, because I only use that roadset in my games, if anyone wants to make tunnels with different roadset graphics on top, they are very welcome to alter these graphics and post new GRF's or graphics here (please do check if those roadset graphics are GPL-licensed or ask permission of the original artist).
A special request however to railtrack-developers. As this GRF will change all traintunnels, it would be better if these graphics are used in a seperate railtrack-GRF with no speed limitations, that can be used alongside other railtrack-GRF's. So a player can build this tunnel in places where it would fit in best and it won't be built everywhere. I sadly don't have the knowledge to create that myself, so any help will be very welcome.
EDIT: Beul has been so nice to code these graphics into a railtype! So this tunnel won't replace all other railtunnels anymore and can be placed where the player seems fit. That GRF is here: http://www.tt-forums.net/viewtopic.php? ... 7#p1031574
The sprites:
Looks like this:
The GRF:
The GRF can be found here: http://www.tt-forums.net/viewtopic.php? ... 3#p1037463
With the kind permission to use the graphics of Red*Star (the platform inside the tunnel), Born Acorn (the UK road) and the developers of the Japan Set (the tunnel itself), I have made a new traintunnel with UK-roads on top to make tunnels blend in more in city environments. I don't like grass inside my cities
Please note that the road is pure eyecandy, vehicles will not drive over that!
This GRF will change all traintunnels to this tunnel, but it also looks good in rural environments when roads are placed next to it.
I chose the UK road to be on top, because I only use that roadset in my games, if anyone wants to make tunnels with different roadset graphics on top, they are very welcome to alter these graphics and post new GRF's or graphics here (please do check if those roadset graphics are GPL-licensed or ask permission of the original artist).
A special request however to railtrack-developers. As this GRF will change all traintunnels, it would be better if these graphics are used in a seperate railtrack-GRF with no speed limitations, that can be used alongside other railtrack-GRF's. So a player can build this tunnel in places where it would fit in best and it won't be built everywhere. I sadly don't have the knowledge to create that myself, so any help will be very welcome.
EDIT: Beul has been so nice to code these graphics into a railtype! So this tunnel won't replace all other railtunnels anymore and can be placed where the player seems fit. That GRF is here: http://www.tt-forums.net/viewtopic.php? ... 7#p1031574
The sprites:
Looks like this:
The GRF:
Last edited by Quast65 on 01 Aug 2012 14:42, edited 8 times in total.
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.
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.
Re: Traintunnel with road as eyecandy on top
And this is how it looks ingame with Modern Train Stationset station graphics:
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.
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.
- V453000 :)
- President
- Posts: 946
- Joined: 01 Feb 2011 11:22
- Location: Beer
Re: Traintunnel with road as eyecandy on top
Great idea! Too bad it automatically applies to all tunnels, but I guess you could make some extra railtype for that?
I like it, especially because when I do city networks, I do not use RVs anyway so the roads are not to be driven on either
Nice idea, I like it. The only unfortunate thing is that it only works with UK roads, but at least something
I like it, especially because when I do city networks, I do not use RVs anyway so the roads are not to be driven on either
Nice idea, I like it. The only unfortunate thing is that it only works with UK roads, but at least something
Re: Traintunnel with road as eyecandy on top
Realy like the look of that city station. It has a feel I have been trying to reach by building bridges over the tunnel entrances but this look a lot better! Don't think I will be using it though as I use tunnels a lot for railway junctions and it would look a bit strange in those situations.
Re: Traintunnel with eyecandy road on top
Glad you like it!
@Beul, see above
Well I don't have the knowledge to do that, that is why I asked railtype developers to hopefully pick this up and make an extra railtype.Too bad it automatically applies to all tunnels, but I guess you could make some extra railtype for that?
@Beul, see above
Feel free to change the UK roads for the roadtype you like and post the GRF hereThe only unfortunate thing is that it only works with UK roads
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.
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.
Re: Traintunnel with eyecandy road on top
Cant you let this GRF detect the right road set and use the right graphics? Chips does something like that for station transitions pieces.
View my (train)pictures on Flickr
Re: Traintunnel with eyecandy road on top
I have no idea how to do that and don't have the need to do that (as I only use UK-roads), but be my guest to make that GRF
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.
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.
Re: Traintunnel with eyecandy road on top
Quast65 wrote:I have no idea how to do that
Code: Select all
if ((grf_current_status("somegrfid") == 1) || (grf_future_status("somegrfid") == 1)) {
//use this code in case of this grf
}
else if ((grf_current_status("someothergrfid") == 1) || (grf_future_status("someothergrfid") == 1)) {
//use this code in case of other grf
}
else {
//use this in all other cases
}
-
- Tycoon
- Posts: 2781
- Joined: 22 Feb 2011 18:34
Re: Traintunnel with eyecandy road on top
I have some deadlines coming week, but after that I can make an extra railtype (if nobody does it before me).Quast65 wrote:Glad you like it!
Well I don't have the knowledge to do that, that is why I asked railtype developers to hopefully pick this up and make an extra railtype.Too bad it automatically applies to all tunnels, but I guess you could make some extra railtype for that?
@Beul, see above
Feel free to change the UK roads for the roadtype you like and post the GRF hereThe only unfortunate thing is that it only works with UK roads
Small graphical bug: There are some green pixels showing on the road (SE and SW exits).
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Re: Traintunnel with eyecandy road on top
great newgrf , makes tunnels look out of place unless you build them in cities though :/
Re: Traintunnel with eyecandy road on top
@Foobar, Thnx for the tip for the code. This GRF however is coded in NFO Maybe someone who is more experienced in NML could pick this up.
@Transportman, That would be great if you could code it into a railtype! And thnx for the graphic comment, I'll fix the green later this weekend (probably sunday).
@Davis, thnx that you like it, indeed it looks best only placed into cities. For that it needs to be coded into a railtype as stated in previous posts, so you can have multiple types of tunnels in a game. Fingers crossed, it looks like that is going to be picked up.
@Transportman, That would be great if you could code it into a railtype! And thnx for the graphic comment, I'll fix the green later this weekend (probably sunday).
@Davis, thnx that you like it, indeed it looks best only placed into cities. For that it needs to be coded into a railtype as stated in previous posts, so you can have multiple types of tunnels in a game. Fingers crossed, it looks like that is going to be picked up.
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.
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.
Re: Traintunnel with eyecandy road on top
Contact me in a month or so, if nobody else has offered any services before that time. I don't have time for additional projects right now, but I may have some later.Quast65 wrote:Maybe someone who is more experienced in NML could pick this up.
-
- Tycoon
- Posts: 2781
- Joined: 22 Feb 2011 18:34
Re: Traintunnel with eyecandy road on top
When I code it, it will be in NML, so Foobar's code should be relatively easy to implement.Quast65 wrote:@Foobar, Thnx for the tip for the code. This GRF however is coded in NFO Maybe someone who is more experienced in NML could pick this up.
@Transportman, That would be great if you could code it into a railtype! And thnx for the graphic comment, I'll fix the green later this weekend (probably sunday).
@Davis, thnx that you like it, indeed it looks best only placed into cities. For that it needs to be coded into a railtype as stated in previous posts, so you can have multiple types of tunnels in a game. Fingers crossed, it looks like that is going to be picked up.
Please send me a PM next week Thursday to remind me, otherwise I might forget this
Coder of the Dutch Trackset | Development support for the Dutch Trainset | Coder of the 2cc TrainsInNML
Re: Traintunnel with eyecandy road on top
Cheers! Will do, gives me some time to fix some of the graphic errors (someone pointed out another small thing over at Simuscape)
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.
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.
Urban Rail Tunnel Portal Released!
So here goes: my first ever GRF: Urban Rail Tunnel Portal (URTP) Renamed it because I want to add support for other road types as well.
Thanks to Quas65 for compiling the graphics and of course all the graphics providers mentioned in the first post. Features:
-Adds a rail tunnel with eyecandy road on top. (Not driveable by rv's)
-currently replaces maglev
-Adds two rail tunnels (one electric with catenary, one normal without catenary) with eyecandy roads on top to fit in better in urban enivroments.
As it turned out it is not (yet) possible to assign tunnel sprites only to a new railtype. It would therefore need *a lot* more sprites before it can be introduced as a truly seperate rail type.
Tricked the game by providing blank sprites in stead of the tracks, overlays and so on. The rail type should therefore only be used for the tunnels.
Comming features: (in order of priority, allthough that may change according to my mood or comments here
-Automatically detect other road sets
-Add compatibility for other railtypes:
In no particular order:
-Dutch track set
-NU tracks
-Swedish rail set
-Add parameter settings for cost factor
-Add parameter for different platforms (dutch, suburban, japan, canadian, dwe, ISRS
If you have any remarks/bugs/glitches/request please post or send me a pm.
Update 01.07.2012
-Tunnel will now only become available once corresponding rail becomes available.
-Added version check. Grf will now produce a fatal error if Openttd version is lower than 1.2.0
-Added improved sprites (railings at road side removed, glitch with green pixels fixed) result: http://www.tt-forums.net/viewtopic.php? ... 0#p1031865
Update 2.07.2012
-Replaced construction buttons and pointers (no more guessing where the mous is if you click the worn button)
-Some small name changes (apparently the definition "normal" is quite personal)
-Added a metro tunnel (waiting for the grfs from Quast tough)
And last but not least:
-used that tracks (that you do not need for a tunnel grf) to add some old rusty tracks
Thanks to Quas65 for compiling the graphics and of course all the graphics providers mentioned in the first post. Features:
-Adds a rail tunnel with eyecandy road on top. (Not driveable by rv's)
-currently replaces maglev
-Adds two rail tunnels (one electric with catenary, one normal without catenary) with eyecandy roads on top to fit in better in urban enivroments.
As it turned out it is not (yet) possible to assign tunnel sprites only to a new railtype. It would therefore need *a lot* more sprites before it can be introduced as a truly seperate rail type.
Tricked the game by providing blank sprites in stead of the tracks, overlays and so on. The rail type should therefore only be used for the tunnels.
Comming features: (in order of priority, allthough that may change according to my mood or comments here
-Automatically detect other road sets
-Add compatibility for other railtypes:
In no particular order:
-Dutch track set
-NU tracks
-Swedish rail set
-Add parameter settings for cost factor
-Add parameter for different platforms (dutch, suburban, japan, canadian, dwe, ISRS
If you have any remarks/bugs/glitches/request please post or send me a pm.
Update 01.07.2012
-Tunnel will now only become available once corresponding rail becomes available.
-Added version check. Grf will now produce a fatal error if Openttd version is lower than 1.2.0
-Added improved sprites (railings at road side removed, glitch with green pixels fixed) result: http://www.tt-forums.net/viewtopic.php? ... 0#p1031865
Update 2.07.2012
-Replaced construction buttons and pointers (no more guessing where the mous is if you click the worn button)
-Some small name changes (apparently the definition "normal" is quite personal)
-Added a metro tunnel (waiting for the grfs from Quast tough)
And last but not least:
-used that tracks (that you do not need for a tunnel grf) to add some old rusty tracks
- Attachments
-
- URTP.grf
- (21.11 KiB) Downloaded 2056 times
Last edited by Beul on 03 Jul 2012 00:30, edited 7 times in total.
Re: Traintunnel with eyecandy road on top
Shouldn't that inside fence closest to the land be further out on the tile, like it is on the edge over the rail track?
(EDIT: that goes for both graphics sets here)
(EDIT: that goes for both graphics sets here)
Last edited by kamnet on 30 Jun 2012 22:13, edited 1 time in total.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: Traintunnel with eyecandy road on top
Well quite frankly, the graphics are not in any way optimal yet. I will probably redo it (or Quast65 will improve it) but first I will draw sprites to match other road sets. I would personally remove the fences altogether (except for the one at the "cliff" edge ofc.) Are there any thoughts on keeping/getting rid of them?kamnet wrote:Shouldn't that inside fence closest to the land be further out on the tile, like it is on the edge over the rail track?
Re: Traintunnel with eyecandy road on top
The rails on the inside edges do look out of place. IMO, the only fence should be the one directly over the tunnel.
Re: Traintunnel with eyecandy road on top
Update: Now adds tunnel without replacing maglev. More info and download here: http://www.tt-forums.net/viewtopic.php? ... 4#p1031574
Re: Traintunnel with eyecandy road on top
Absolutely lovely work Beul!!
Thnx for picking this up. I just came home from work, so sleeptime first But I will improve the graphics maybe later today, or tomorrow. Fence only at the "cliff" edge is in my opinion the best and there are some other graphical issues that need some tweaking. Will PM them to you and also will make a link in the first post to your GRF.
Thnx for picking this up. I just came home from work, so sleeptime first But I will improve the graphics maybe later today, or tomorrow. Fence only at the "cliff" edge is in my opinion the best and there are some other graphical issues that need some tweaking. Will PM them to you and also will make a link in the first post to your GRF.
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.
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.
Who is online
Users browsing this forum: Ahrefs [Bot] and 6 guests