Dutch Road Furniture Development

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
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

According to this you guys have all of these signs. Only the blue one-way street entry sign is narrower than ours. The rest is essentially the same. The minor design differences can't be visualized in 5x5 pixels anyways. :)

The four signs depicted are:
- give way
- speed limit
- one-way street: no entry
- one-way street entry
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Dutch Road Furniture Development

Post by Eddi »

IMHO the speed limit sign looks a little weird, looks like a white vertical bar. maybe it's more useful to try a white circle with a black dot in it.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

Yeah, I'm not too happy with that one either. I tried to put two numbers in, but it's really hard to get right with very little pixels. And my patience with this sort of stuff isn't too great :P
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Dutch Road Furniture Development

Post by Leanden »

I might look at making some Motorway start and motorway stop signs too :)

Image
Image
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

I had those in mind as well, don't know how feasible these are in TTD scale. I'll give it a go when I'm retrying the speed limit sign.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

Actually I'm surprized what one can do with very limited pixels :D
Obviously these are the Dutch versions. Also shows the improved speed limit signs.
Attachments
roadsigns2.PNG
roadsigns2.PNG (29.21 KiB) Viewed 3997 times
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Dutch Road Furniture Development

Post by Leanden »

Are the end of hard shoulder signs put there by default at the end of a hard shoulder section?

How about a blue "Hard Shoulder Ends" sign for the UK Road Support? :D
Image
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

Leanden wrote:Are the end of hard shoulder signs put there by default at the end of a hard shoulder section?
They are standard, but I'm considering a version without the signs.

Leanden wrote:How about a blue "Hard Shoulder Ends" sign for the UK Road Support? :D
Draw them. If they fit in the same dimensions as the Dutch ones it's not too problematic to add them to the branch. If they don't fit, draw them as well and I'll them when I feel like it :P Spritesheet is attached.
Attachments
borden_einde_vluchtstrook.png
borden_einde_vluchtstrook.png (3.71 KiB) Viewed 3968 times
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Dutch Road Furniture Development

Post by Leanden »

Fitting them within that space won't be an issue, however, in the UK there is just 1 sign, instead of the two which you drew ;D
Image
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

Removing one of the two signs won't be an issue ;)
Just let me know which one of the two you'd like removed. I.e. the near one or the far one.
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Dutch Road Furniture Development

Post by Leanden »

It would be the near one :)

Also, would there be any chance of getting the m'way start and end signs on hard shoulder end pieces, and then having the adjacent tile checker detect that tile and remove the end of hard shoulder sign. Since more often than not, the hard shoulder will end with the motorway :)

Also the reverse, as sometimes a motorway ends but doesnt remove the hard shoulder ;D

I know its a bit more work, but just to cover all possibilities :)
Image
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

You mean something like this?
Knipsel.PNG
Knipsel.PNG (38.45 KiB) Viewed 3902 times
That has nothing fancy with the tile checker, it's just a new object. Maybe easier to use as well, as tile checker stuff requires you to always have two tiles. Now you can just have one :)

A continuing hard shoulder with these signs (obviously without the end of hard shoulder signs in that case) is certainly possible, but I personally don't find that really necessary. If you plan on keeping a hard shoulder you may just as well keep it classified as motorway. So I rather spend my time on some other things at the moment ;)



As for the UK signs support, I just realized that with the current add-on format we'll run into some problems. Mainly that it cannot detect the objects of the main set. As a result, if I were to add shoulder end pieces with UK signs, they will not be able to detect the hard shoulders of the main set in order to select start/end accordingly. There simply is no variable to do that; one can only query object IDs from the same set.

That leaves basically two solutions: include the UK signs in the main set or fork the complete set and make a standalone UK Road Furniture after all. The first solution will not happen; it's a Dutch set and it will stay that way. The second solution is not something I fancy maintaining; the current set eats enough of my time as it is already. Investing half of that additionally to maintain what is basically the same thing with some different signs is not something I'm really interested in. So I'm afraid that you either have to learn NML yourself or find someone to maintain a UK inspired fork of this. Or live with the fact that the signs are somewhat different then what you're used to :wink:
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Dutch Road Furniture Development

Post by Leanden »

Yep i did mean like that, hmm... I could maintain a seperate fork, it'd be a nice way to get into NML too. You have left and right hand drive coded already right? As well as the UK road support?
Image
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

Everything coded so far has left/right and UK Roads support throughout.

If you need help setting up the fork then I can help you with that, but once that's running it's up to you. And you're always free to ask questions about the code if you don't get something.
May I recommend you to first understand the NML tutorial and mainly the part on objects?
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Dutch Road Furniture Development

Post by Leanden »

Ive already had a readthrough of the NML tutorials, so i have a basic understanding, have coded some trains too. I would ask though, if I was to set up a fork of yours, any further updates you implemented, would i be ok to port these across to the UK version?
Image
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

It's GPL'ed, so as long as your version is GPL'ed as well you're free to do whatever you like. That includes porting future additions.
However it may not be a bad idea to wait until version 1.0.0. At this rate that will be done in a month or so, and forking that will mean less to no porting of new stuff afterwards.

You can see what I plan to add before the final release of 1.0.0 at the issue tracker: http://dev.openttdcoop.org/projects/dut ... ure/issues

But if you want to start now, that's fine with me as well :)
User avatar
Leanden
Tycoon
Tycoon
Posts: 2613
Joined: 19 Mar 2009 19:25
Location: Kent

Re: Dutch Road Furniture Development

Post by Leanden »

Well as far as i can see atm, as long as I only change the graphics used, then the code can remain relatively untouched. So just updating the pnml files shouldnt be an issue. Will just need some minor changes, such as changing the end of hard shoulder sign to 1 instead of two :)
Image
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

All graphic files are referenced at the top of each pnml file, so that's easy.
And removing one of the two highway end signs is nothing more than removing 48 building blocks like the one below.

Code: Select all

building {
        sprite: spriteset_vluchtstrook_4(SIGNS_START + 0);
        always_draw: 0;
        xoffset: 7; //from NE edge
        yoffset: 2; //from NW edge
        zoffset: 12;
        xextent: 1;
        yextent: 1;
        zextent: 16;
    }
So everything is relatively straightforward, only timeconsuming.
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: Dutch Road Furniture Development

Post by FooBar »

36 new sprites and 7281 lines of code later and you get this:
end pieces.PNG
end pieces.PNG (57.34 KiB) Viewed 3734 times
I still have to do left side drive support as well as draw endings to the guardrails, but it's a start. Available in tomorrow's nightly if you can't wait ;)
It supports any slope combination.

@Leanden: if you want to do UK Roads support for this, the sprite sheets for both left and right side drive are attached. Feel free to draw the endings to UK standards, as that will best match the UK roads anyways.
Attachments
right side drive
right side drive
derderijstrook_eindstukken.png (11.43 KiB) Viewed 1246 times
left side drive
left side drive
derderijstrook_eindstukken.png (12.08 KiB) Viewed 1246 times
oberhümer
Tycoon
Tycoon
Posts: 1283
Joined: 23 Oct 2009 19:35
Location: Here and there, sometime or another

Re: Dutch Road Furniture Development

Post by oberhümer »

Goody. Mind putting my name in there too? I don't know how much you've taken over, but I still made the beginning.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---

--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Google [Bot] and 12 guests