American Road Replacement Set

Find and discuss all the latest NewGRF releases for TTDPatch and OpenTTD here.

Moderator: Graphics Moderators

Post Reply
User avatar
Andrew350
Chairman
Chairman
Posts: 768
Joined: 19 Dec 2011 07:54
Location: Washington State, USA
Contact:

American Road Replacement Set

Post by Andrew350 »

This is a personal project I've been working on since New Years Day, in an effort to make an OpenGFX-based American road set to use in my games. Yes, I know about NARoads, but as far as I can tell it's not made for OpenGFX, and there are a few quirks I've seen in screenshots that bug me. These reasons, among others, were enough for me to start a new set from scratch.
roadspreview2.png
roadspreview2.png (725.56 KiB) Viewed 55098 times
Anyway, as I'm also a fond user of OpenGFX+ Landscape, I've made the set completely compatible with it. If you use the Disable Gridlines feature or even Alpine Climate, American Roads will automatically match the surrounding landscape for a seamless look. There are no extra parameters to bother with, just be sure this GRF is placed BELOW OpenGFX+ Landscape or else it will not work. It will yell at you if you mix that up. ;) Of course, this GRF also works fine without OpenGFX+ Landscape. All climates are supported, as is left hand drive. I've taken some of the bridge sprites from OpenGFX and modified them to work with these roads, which are drawn a little wider than normal. I've also fixed a few alignment errors that exist in some OpenGFX bridges, so everything lines up correctly now. Plus there are a few other changes I've made for compatibility and whatnot.

This set is OpenGFX only. Use of other NewGRFs will be necessary to play with original TTD graphics or you will encounter glitches. I've tested back to OpenTTD 1.0.0 and everything works at least that far back, but I've not tried TTDPatch, as I don't use it. Maybe someone who does can try it.

I guess that's all there is to it, just plug and play. Hopefully someone else will enjoy it. :) American Road Replacement Set can also be found in the online content. Everything is licensed under GPLv2.

NEW! The set now features new tunnel sprites drawn by V453000.

======================
New in Version 2 - Dirt Roads! By default ARRS now supplies dirt and sett-paved roads before 1940. If 1940 isn't your preferred switch date, there's a new parameter available so you can adjust the year in which roads change over from dirt to asphalt. Any year within OpenTTD's range is possible; setting to 0 prevents dirt roads from ever appearing (old behavior), setting to 5000001 means roads will remain dirt forever, and anything in-between.

This version is compatible with previous releases - but be aware that upgrading to this new version in a running game before 1940 won't switch to dirt roads automatically, the grf will fallback to the old behavior, so the asphalt roads will remain. The only way to make previous saves switch to the new behavior is to have newgrf developer tools active and change the newgrf settings, which obviously should only be done with great caution ;). Enjoy.

---------------------------------------------------------------
Also, CLICK HERE for the Total Bridge Renewal Set version modified for these roads, or download it via the online content.
---------------------------------------------------------------
Attachments
american_roads.tar
(1.22 MiB) Downloaded 2529 times
american_roads_source_12_6_2014.zip
(1.27 MiB) Downloaded 1945 times
Last edited by Andrew350 on 07 Dec 2014 02:38, edited 7 times in total.
Axlrose
Traffic Manager
Traffic Manager
Posts: 205
Joined: 19 Jan 2004 06:23
Location: Chicago, Illinois

Re: American Road Replacement Set

Post by Axlrose »

It does look nice - I'll have to fire up a game and give it a go.

Some ideas and suggestions based upon your preview graphics:
- Have a double yellow stripe (down the middle of the road) one tile before, across, and one tile after a bridge crossing.
- Have a double yellow stripe one tile in front of every road section making an intersection; it would be the last straight section that enters and forms into the intersection.
- Have a double yellow stripe one tile before at the entrance, through (though not seen), and one tile after at the exit after a tunnel crossing.
- Is it possible to have guard rails and the various traffic signals and signs as part of the package?
- And for those long stretches of roads through the woods, road kills? :twisted:

Alright, the last one would be a bit much, but to see a bus break down in the middle of nowhere because Bambi ran in front of it...

While I do not post much, I do read these boards frequently.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: American Road Replacement Set

Post by planetmaker »

That looks quite awesome and integrates really well into the landscape :-)
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2558
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: American Road Replacement Set

Post by Pyoro »

Somehow I expected all kind of incompatibilities without OpenGFX, but I don't see any big problems with the classic baseset ;)
roads.png
roads.png (88.73 KiB) Viewed 57372 times
Shame I'm currently not playing any modern NA games. Really nice grf =)
User avatar
Katve
Transport Coordinator
Transport Coordinator
Posts: 382
Joined: 02 May 2011 12:49
Location: Finland

Re: American Road Replacement Set

Post by Katve »

NARoads is my favourite grf, but this is also very nice grf and I think this will be in my future games. :)
User avatar
Chrill
Moderator
Moderator
Posts: 15972
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Re: American Road Replacement Set

Post by Chrill »

Oh I really like this. It blends in smoothly with its surroundings. That's a given use in my next game.
Image
My Scenarios:
Archipiélago Hermoso (Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: American Road Replacement Set

Post by wallyweb »

I just tested in TTDPatch (TTDP). This file crashes TTDP. Without decoding the file into NFO code (no time at the moment) I can't trouble shoot this at this time. When I complete a couple of projects I'll return to look into this file, unless someone gets there before me. :D
michael blunck
Tycoon
Tycoon
Posts: 5948
Joined: 27 Apr 2005 07:09
Contact:

Re: American Road Replacement Set

Post by michael blunck »

wallyweb wrote:I just tested in TTDPatch (TTDP). This file crashes TTDP. [...]
Should use mostly action0A sprite replacement. Hm, it includes sprite numbers above 4984.

regards
Michael
Image
User avatar
Andrew350
Chairman
Chairman
Posts: 768
Joined: 19 Dec 2011 07:54
Location: Washington State, USA
Contact:

Re: American Road Replacement Set

Post by Andrew350 »

Thanks everyone :)
Axlrose wrote:Some ideas and suggestions based upon your preview graphics:
- Have a double yellow stripe (down the middle of the road) one tile before, across, and one tile after a bridge crossing.
- Have a double yellow stripe one tile in front of every road section making an intersection; it would be the last straight section that enters and forms into the intersection.
- Have a double yellow stripe one tile before at the entrance, through (though not seen), and one tile after at the exit after a tunnel crossing.
- Is it possible to have guard rails and the various traffic signals and signs as part of the package?
- And for those long stretches of roads through the woods, road kills?

Alright, the last one would be a bit much, but to see a bus break down in the middle of nowhere because Bambi ran in front of it...
Unfortunately, there is no way to make the graphics change depending on what road piece is next, so making the double yellow work as you've suggested is not possible. In regard to signs and signals, that is an idea I certainly toyed with, but since they will be drawn over by vehicles it would look sort of ugly. At best that would be something for a parameter, of even an add-on set.
Pyoro wrote:Somehow I expected all kind of incompatibilities without OpenGFX, but I don't see any big problems with the classic baseset
Using TTRS-Style bridges and different tracktypes helps a lot, if you use the standard graphics the problems are much more clear.
michael blunck wrote:
wallyweb wrote:I just tested in TTDPatch (TTDP). This file crashes TTDP. [...]
Should use mostly action0A sprite replacement. Hm, it includes sprite numbers above 4984.
Is this something fixable?
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: American Road Replacement Set

Post by planetmaker »

Hm, indeed, it does.

Andrew350, you're using the "replace" command for some sprites which should be replaced by the "replacenew" command (as their sprite numbers are not guaranteed, see http://newgrf-specs.tt-wiki.net/wiki/NM ... ew_sprites ).

Namely it concerns the sprites for the one-way roads. This change should fix it:

Code: Select all

1045c1045
< replace replace_oneway_road_overlays (6075, "gfx/bridgesetc.png") {
---
> replacenew replace_oneway_road_overlays (ONE_WAY_ROAD, "gfx/bridgesetc.png") {
User avatar
Andrew350
Chairman
Chairman
Posts: 768
Joined: 19 Dec 2011 07:54
Location: Washington State, USA
Contact:

Re: American Road Replacement Set

Post by Andrew350 »

Okay, I've fixed that line and replaced the file above. Hopefully that was the only problem, if it works now I'll amend the readme and send it off to the fruit store. :)
User avatar
wallyweb
Tycoon
Tycoon
Posts: 6102
Joined: 27 Nov 2004 15:05
Location: Canada

Re: American Road Replacement Set

Post by wallyweb »

It still fails with TTDP. What is the GRF version? 7 or 8?
Last edited by wallyweb on 20 Feb 2013 06:27, edited 1 time in total.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: American Road Replacement Set

Post by Rubidium »

wallyweb wrote:It still fails with TTDP.
Given the bit of code before I reckon it's written in NML. If it is a relatively new NML it could be any issue of:
  • Action 14 (if not using TTDP trunk >= r2334)
  • GRF info version 8
  • GRF container version 2
  • Or any newly introduced variable/operator/whatever in the last couple of years
User avatar
Andrew350
Chairman
Chairman
Posts: 768
Joined: 19 Dec 2011 07:54
Location: Washington State, USA
Contact:

Re: American Road Replacement Set

Post by Andrew350 »

Well...I'm using NML 0.2.4, if that helps. I'm pretty sure that's still GRF version 7, but that's the extent of my technical knowledge there.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: American Road Replacement Set

Post by planetmaker »

Andrew350 wrote:Well...I'm using NML 0.2.4, if that helps. I'm pretty sure that's still GRF version 7, but that's the extent of my technical knowledge there.
Yes, that NML version should still produce NewGRFs with grf v7. Having looked at the code, I don't exactly see where the non-operability with TTDPatch r2334 or newer might come from - could be missing a case where replacenew would need using (but I don't see it) or could be something else, also in NML or even TTDPatch itself.
User avatar
supermop
Tycoon
Tycoon
Posts: 1104
Joined: 21 Feb 2010 00:15
Location: Fitzroy North - 96

Re: American Road Replacement Set

Post by supermop »

Looks great!

However the slopes seem to be sloped wrong. If assuming right-hand drive as shown in your screen shots, the slopes are marked to allow down hill traffic to pass but not uphill - where usually roads are marked to allow cars to overtake slower vehicles while traveling uphill.

What about changing the one-way overlay marker to give a yellow stripe at left shoulder and dashed white stripe in the center?

is it not possible to draw the tunnel background sprite to have a double yellow stripe? Do the bridge overlays come from the plain / and \ sprites, or are they separate?

Best,
User avatar
Andrew350
Chairman
Chairman
Posts: 768
Joined: 19 Dec 2011 07:54
Location: Washington State, USA
Contact:

Re: American Road Replacement Set

Post by Andrew350 »

supermop wrote:However the slopes seem to be sloped wrong. If assuming right-hand drive as shown in your screen shots, the slopes are marked to allow down hill traffic to pass but not uphill - where usually roads are marked to allow cars to overtake slower vehicles while traveling uphill.
While that is true on long uphill climbs, I drew the passing stripe under the assumption that it was not a very long grade, in which case passing is usually restricted going uphill due to visibility reasons, i.e. you can't see vehicles coming over the top of the hill. I understand how you can see it differently, though, especially if you're building a long uphill section. On major highways that have long uphill grades there even tends to be an extra lane added for overtaking, maybe that would be an idea for an overlapping NewObject akin to the ones from the Dutch Road Furniture set?
supermop wrote:What about changing the one-way overlay marker to give a yellow stripe at left shoulder and dashed white stripe in the center?
This was actually something I wanted to do originally, but it wouldn't work very well in the case of slopes and the fact that one way roads can't have intersections, which would lead to weird line mismatches. As it is one way roads look a bit odd with the stopping lines not being correct at intersections. :)
supermop wrote:is it not possible to draw the tunnel background sprite to have a double yellow stripe? Do the bridge overlays come from the plain / and \ sprites, or are they separate?
All of these sprites are indeed drawn seperately, so it is possible to draw a double yellow here. I realize passing on bridges and in tunnels is usually disallowed, plus I've already been asked about it, so maybe it is just better to go for realism in this case :)


P.S. The file is now up on Banananas (no changes though)
User avatar
MinchinWeb
Traffic Manager
Traffic Manager
Posts: 225
Joined: 01 Feb 2011 12:41
Contact:

Re: American Road Replacement Set

Post by MinchinWeb »

Thanks so much for sharing! I think they look amazing!
Alberta Town Names - 1500+ real names from 'Acme' to 'Zama City'
MinchinWeb's Random Town Name Generator - providing 2 million plus names...
WmDOT v13 - An AI that doubles as your highway department
User avatar
Nite Owl
Tycoon
Tycoon
Posts: 1889
Joined: 06 Mar 2007 19:32
Location: In The Dark

Re: American Road Replacement Set

Post by Nite Owl »

Very Nicely Done !!

I will definitely be using this in some future games. Any chance of working it into the Total Bridge Replacement Set?
Humor is the second most subjective thing on the planet
------------------------------------------------------------
Brevity is the soul of wit and obscenity is its downfall
--------------------------------------------------------
Good Night And Good Luck - Read You Soon
User avatar
kamnet
Moderator
Moderator
Posts: 8532
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: American Road Replacement Set

Post by kamnet »

TBRS doesn't detect road sets, the set would have to be re-compiled with a specific road set's graphics drawn onto each bridge sprite.
Post Reply

Return to “Graphics Releases”

Who is online

Users browsing this forum: No registered users and 6 guests