Halftile foundations (in trunk since r11321)
Moderator: OpenTTD Developers
Re: Halftile foundations :)
Awesome!
This patch really deserves a place in my 'best features ever'-list.
Thanks to everyone who made this possible! Finally we can have some realistic construction in those mountains!
This patch really deserves a place in my 'best features ever'-list.
Thanks to everyone who made this possible! Finally we can have some realistic construction in those mountains!
- Attachments
-
- Thanks-for-this-great-feature-screenshot-with-advertisement-for-updated-New-Tram-Tracks ;)
- Darnpool Bridge Transport, 22nd Mar 1950.png (36.74 KiB) Viewed 5744 times
Re: Halftile foundations :)
That looks excellent! Well done Frosch!! 

Re: Halftile foundations :)
This will really take mountain routes to a new level. Good work! 

Re: Halftile foundations :)
Thanks everyone for the nice feedback. I would also like to thank some (alphabetically):
Acerbus: As Roujin pointed out: The anti-zig-zag foundations would never have been created, if you had not created that mock-up. Initially I though of drawing some extra graphics for all slopes, but that was way too much work. You showed me a way to create a nice looking foundation with the existing graphics.
Rubidium: Thanks for the lot of work reviewing the patch as well as giving nice feedback. And finally thanks for updating the NewGrfSpecs Wiki. I was going to insert a paragraph this morning, but it was already done
About NewGrf: I was asked how the NewGrf support works in detail. Last friday I quietly placed an example newgrf in the second post, that demonstrates the usage. Basically 16 sprites got appended at the end of the usual Action5 block. However to tell the truth I could not be bothered to draw 16 most identical sprites. I only drew the horizontal bar (last sprite if you decode the example grf), the rest is automatically generated out of that.
So if you want to draw new halftile-foundations, you may only have to draw that horizontal bar. Then you can send me your sprite and I will simply pipe it in my small tool to generate the rest.
Acerbus: As Roujin pointed out: The anti-zig-zag foundations would never have been created, if you had not created that mock-up. Initially I though of drawing some extra graphics for all slopes, but that was way too much work. You showed me a way to create a nice looking foundation with the existing graphics.

Rubidium: Thanks for the lot of work reviewing the patch as well as giving nice feedback. And finally thanks for updating the NewGrfSpecs Wiki. I was going to insert a paragraph this morning, but it was already done

About NewGrf: I was asked how the NewGrf support works in detail. Last friday I quietly placed an example newgrf in the second post, that demonstrates the usage. Basically 16 sprites got appended at the end of the usual Action5 block. However to tell the truth I could not be bothered to draw 16 most identical sprites. I only drew the horizontal bar (last sprite if you decode the example grf), the rest is automatically generated out of that.
So if you want to draw new halftile-foundations, you may only have to draw that horizontal bar. Then you can send me your sprite and I will simply pipe it in my small tool to generate the rest.

⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
Re: Halftile foundations (in trunk since r11321)
The occasional look back at your past can teach you a great many things...
Re: Halftile foundations (in trunk since r11321)
for the "who had the idea for first" contest
an idea i had in 2005, with the basetunnels too: http://www.tt-forums.net/viewtopic.php? ... 377&hilit=

an idea i had in 2005, with the basetunnels too: http://www.tt-forums.net/viewtopic.php? ... 377&hilit=

- NukeBuster
- Traffic Manager
- Posts: 222
- Joined: 04 Jan 2006 18:16
- Location: Alphen aan den Rijn, The Netherlands
- Contact:
Re: Halftile foundations :)
Frosch, I think you read over this post. Do you think it would be hard to do something like this? As you also made a patch that will allow you to build on the other side of the track while a train runs over it...Roujin wrote:very niceif only different tracktypes were allowed on one tile, we could build a nice trace for monorail/maglev
ok, we can, but not in curves with the new halftiles. only if it were the same track type
A link to an example...
http://www.tt-forums.net/download.php?id=79324
NukeBuster
Transport Empire: The Transport Empire Linux effort
Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !
OpenTTD patch(es): Password at join
Transport Empire: The Transport Empire Linux effort
Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !
OpenTTD patch(es): Password at join
Re: Halftile foundations :)
And same applies to building a track on a halftile already owned by a different company...NukeBuster wrote:Frosch, I think you read over this post. Do you think it would be hard to do something like this? As you also made a patch that will allow you to build on the other side of the track while a train runs over it...Roujin wrote:very niceif only different tracktypes were allowed on one tile, we could build a nice trace for monorail/maglev
ok, we can, but not in curves with the new halftiles. only if it were the same track type
A link to an example...
http://www.tt-forums.net/download.php?id=79324
EDIT screenshot
- Attachments
-
- screen.png (39.05 KiB) Viewed 3848 times
Re: Halftile foundations (in trunk since r11321)
I suppose this one would be much more difficult. A tile can have only one owner at the moment, and only one rail type assigned IIRC. I think that map array is a limitation here.
Anyway, these features would be useful indeed
Anyway, these features would be useful indeed

Re: Halftile foundations (in trunk since r11321)
Euhm; 2003 August 13Wolf01 wrote:for the "who had the idea for first" contest
an idea i had in 2005, with the basetunnels too: https://www.tt-forums.net/viewtopic.php? ... 377&hilit=

New foundation graphics for diagonal tracks?
/me vanishes
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Re: Halftile foundations (in trunk since r11321)
and the winner is.... "Darkvater"
ehm, where have you been hidden?
ehm, where have you been hidden?
Re: Halftile foundations (in trunk since r11321)
Lol. I did not knew how often this was suggested, and to be honest I cannot remember if I ever browsed the TTDP Suggestion Forum (the OTTD one was boring enough after some weeks). But I want to quote one of my lecturers: If you search long enough, you will discover everything to be written earlier by someone.
More interesting for me: Who suggested first to extent the clipping of sprites at viewport boundaries to generally draw rectangular parts of sprites?
About building different railtypes of different companies on one tile:
First you will have to define how the elrail/normal-rail conversion tool should work on such tiles.
About the coding: The sprite drawing is easy. Everything can be created from the existing sprites with the above technique (also note that this will therefore not break any newgrf).
The main task is to find a nice way to store everything in the map array. Btw. you can then extent this to also allow different grass growth on the halftiles. At a first glance there are plenty of free bits in the rail tiles. But at a second: Every patch that deals with railways like Routemarkers, grass growth on unused tracks, ... wastes nearly all of them. As they are all nice features you will need to find a way, which nicely combines them.
Overall I think it would be an easy task to code something that works, but it is a bit harder to find something nice.
The bad news for you: I will not code it as I am not really interested in it. So you have to find someone else.
More interesting for me: Who suggested first to extent the clipping of sprites at viewport boundaries to generally draw rectangular parts of sprites?

About building different railtypes of different companies on one tile:
First you will have to define how the elrail/normal-rail conversion tool should work on such tiles.
About the coding: The sprite drawing is easy. Everything can be created from the existing sprites with the above technique (also note that this will therefore not break any newgrf).
The main task is to find a nice way to store everything in the map array. Btw. you can then extent this to also allow different grass growth on the halftiles. At a first glance there are plenty of free bits in the rail tiles. But at a second: Every patch that deals with railways like Routemarkers, grass growth on unused tracks, ... wastes nearly all of them. As they are all nice features you will need to find a way, which nicely combines them.
Overall I think it would be an easy task to code something that works, but it is a bit harder to find something nice.
The bad news for you: I will not code it as I am not really interested in it. So you have to find someone else.

⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Re: Halftile foundations (in trunk since r11321)

Darkvater: With your long absence from the forums I though you were abducted!

http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Re: Halftile foundations (in trunk since r11321)
I thought I'd let you guys know that there is now a brick foundation grf that works with the anti-zig-zag patch. Congratulations to frosch on this patch, it looks very good.
One thing I do request is that someone takes a screenshot of the .grf file in use on a _ build on slope so that I can add it to my site, (I'm a TTDP user so can't do this myself). Thanks very much and enjoy
One thing I do request is that someone takes a screenshot of the .grf file in use on a _ build on slope so that I can add it to my site, (I'm a TTDP user so can't do this myself). Thanks very much and enjoy

Who is online
Users browsing this forum: No registered users and 3 guests