In what grf can I find the original road trees for OTTD?

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

Post Reply
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

In what grf can I find the original road trees for OTTD?

Post by Smaug »

Hello there,

At the moment I'm modifying a lot of grf's to create a snow landscape that completely covers the map from sea level and up to the mountain tops. Right now I'm having a problem with replacing the road trees in the city (see attachment). I thought those trees were coming from trg1r.grf, but modifying that file won't help. The old trees still appear. Could anyone tell me what grf I have to modify to change that? I can't find them.

Kind regards,
Smaug
Attachments
Road Trees.png
Road Trees.png (24.97 KiB) Viewed 5309 times
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by michael blunck »

Smaug wrote:[...] I thought those trees were coming from trg1r.grf, but modifying that file won't help. The old trees still appear. Could anyone tell me what grf I have to modify to change that? I can't find them.
They´re indeed from trg1.grf, sprite number 1578 . 8)

At least I use these in AlpineClimate.

regards
Michael
Image
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Re: In what grf can I find the original road trees for OTTD?

Post by Smaug »

michael blunck wrote:They´re indeed from trg1.grf, sprite number 1578 . 8)

At least I use these in AlpineClimate.

regards
Michael
Thanks Michael, then I was on the right track. But I'm still not able to replace those trees. No matter what I do with sprite 1578, the old green trees keep appearing. As far as I know OTTD doesn't use other basic grf's with trees. This realy saddens me. Those trees look horrible in a snow covered landscape. :cry:
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Re: In what grf can I find the original road trees for OTTD?

Post by Smaug »

YES! I found the concerning sprite. Image It's sprite number 4626. It's hiding somewhere at the end of the list.
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by michael blunck »

Smaug wrote:I'm still not able to replace those trees. No matter what I do with sprite 1578, the old green trees keep appearing.
Ah sorry. I knew it was working in AlpineClimate but I didn´t look into the code yesterday. Sorry.

Problem is that AlpineClimate is originally arctic, so what I have to do there is replacing #342 from trgc.grf, which would correspond to #4626 in temperate. Because of TTD´s climate conversion I was unable to replace with #4626 (which is the tree in question, but will be replaced by TTD with #342 from trgc.grf before my own replacement will take place), so I did the nice trick to replace #4626 with #1578. 8)

So, if you´re in temperate, just replace #4626 with a snowy tree and you´re done.

regards
Michael
Image
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Re: In what grf can I find the original road trees for OTTD?

Post by Smaug »

michael blunck wrote:Ah sorry. I knew it was working in AlpineClimate but I didn´t look into the code yesterday. Sorry.

Problem is that AlpineClimate is originally arctic, so what I have to do there is replacing #342 from trgc.grf, which would correspond to #4626 in temperate. Because of TTD´s climate conversion I was unable to replace with #4626 (which is the tree in question, but will be replaced by TTD with #342 from trgc.grf before my own replacement will take place), so I did the nice trick to replace #4626 with #1578. 8)

So, if you´re in temperate, just replace #4626 with a snowy tree and you´re done.

regards
Michael
Alright, you made me sure I was looking in the right place. Thanks for that. :D I completely overlooked #4626 because I didn't expect it to be at the end of the list. It's sitting on a realy illogical place in my opinion. I did look in trgcr.grf and I found the arctic road tree at the end. Then I figured that the temperate road tree might as well be somewhere at the end of the list and there it was.

Kind regards,
Smaug
Attachments
Road trees with snow.png
Road trees with snow.png (75.44 KiB) Viewed 4988 times
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by michael blunck »

Smaug wrote:[...] It's sitting on a realy illogical place in my opinion.
I think this is due to the replacement scheme with those sprites from arctic or subtropical, residing in trgc and trgh. Oskar has a sprite number calculator for this on his web site.

However, be aware that there´s no replacement for those trees with regards to snowline. I.e. even in the original, always trees w/o snow are shown at streets, even above snowline.

regards
Michael
Image
User avatar
CommanderZ
Tycoon
Tycoon
Posts: 1872
Joined: 07 Apr 2008 18:29
Location: Czech Republic
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by CommanderZ »

However, be aware that there´s no replacement for those trees with regards to snowline. I.e. even in the original, always trees w/o snow are shown at streets, even above snowline.
He is doing a completely snowed terrain from the sea level up.

Looks great from what I can see :)
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by michael blunck »

CommanderZ wrote: He is doing a completely snowed terrain from the sea level up.
Yes, I did read his post, just wanted to point this out, just in case. OTOH, I don´t understand the undertaking in general. This should be already possible by simply setting the snowline to sea level (and o/c by using the necessary snow-aware (stations and buildings) sets). No further action required, IMO. Or do I miss the point completely?
Looks great from what I can see :)
Are these SAC´s stolen trees, snowy version? IMO, they´re looking somewhat "artificial" and could be improved a lot.

regards
Michael
Image
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Re: In what grf can I find the original road trees for OTTD?

Post by Smaug »

michael blunck wrote:OTOH, I don´t understand the undertaking in general. This should be already possible by simply setting the snowline to sea level (and o/c by using the necessary snow-aware (stations and buildings) sets). No further action required, IMO. Or do I miss the point completely?
Well, I wish it were true, but in OTTD the lowest level for snow is level 2 and I don't have coding skills to change that. But even with the snow level set to 0 there has to be done some modifying like coast lines and rivers for example. Besides that, I don't like grid in the landscape, so I had to modify some grf's anyway. Now everything is gridless. 8)
michael blunck wrote:Are these SAC´s stolen trees, snowy version? IMO, they´re looking somewhat "artificial" and could be improved a lot.
First their was stolen trees from SAC and later George came up with a test file with the same trees extended with snowed trees. I'm not sure about George's test file, but as I remember it he said in the forums somewhere those trees were all SAC's as well. Anyway, I have George's test file in use.

Kind regards,
Smaug
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
User avatar
jacke
Director
Director
Posts: 533
Joined: 19 May 2002 14:47
Location: Sweden

Re: In what grf can I find the original road trees for OTTD?

Post by jacke »

Also, OTTD does not have a "temperate snowline" feature, right?
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Re: In what grf can I find the original road trees for OTTD?

Post by Smaug »

jacke wrote:Also, OTTD does not have a "temperate snowline" feature, right?
No, it doesn't. So even if the snowline could be set to 0 it will only be possible in arctic climate. Problem then is that rivers are only available for temperate. That's one of the reasons why I'm modifying temperate grf files: I want to have rivers in my snowed landscape. :)
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
User avatar
Korenn
Tycoon
Tycoon
Posts: 1735
Joined: 26 Mar 2004 01:27
Location: Netherlands
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by Korenn »

I think a snowy temperate landscape is a nice idea, especially if you could manage a first release before christmas :)
michael blunck
Tycoon
Tycoon
Posts: 5954
Joined: 27 Apr 2005 07:09
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by michael blunck »

Korenn wrote:I think a snowy temperate landscape is a nice idea, especially if you could manage a first release before christmas :)
Just for the record: Although AlpineClimate is essentially arctic, it looks like temperate (including all temperate industries) and is available since Christmas years ago. 8)

regards
Michael
Image
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: In what grf can I find the original road trees for OTTD?

Post by Zephyris »

It looks like you are using the openGFX snowy ground tiles, I may well be able to help you out, would you like a gridless version and coastline tiles? Remember openGFX also has snowy river tiles and a complete infrastructure set for those ground tiles...
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Re: In what grf can I find the original road trees for OTTD?

Post by Smaug »

Zephyris wrote:It looks like you are using the openGFX snowy ground tiles, I may well be able to help you out, would you like a gridless version and coastline tiles? Remember openGFX also has snowy river tiles and a complete infrastructure set for those ground tiles...
Well, thanks a lot for your offer to help me out! Thing is that I've already made my terrain gridless and the coastline tiles snow covered as you can see in my screenshot thread.
Those snowy rivers I didn't know about. Can you tell me in which grf I can find them? At this moment I'm using Michael Blunck's rivers which I've made snow covered.
michael blunck wrote:Just for the record: Although AlpineClimate is essentially arctic, it looks like temperate (including all temperate industries) and is available since Christmas years ago. 8)
Yes, and I think AlpineClimate is a wonderfull peace of art, but the point is that I want snow from sea level up and as far as I know there's not yet such a grf.

Greetings,
Smaug
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: In what grf can I find the original road trees for OTTD?

Post by FooBar »

The snowy rivers /should/ be in the opengfxw.grf from the most recent OpenGFX replacement set
User avatar
Smaug
Transport Coordinator
Transport Coordinator
Posts: 267
Joined: 02 Dec 2002 14:39
Location: Middle Earth, The Netherlands

Re: In what grf can I find the original road trees for OTTD?

Post by Smaug »

FooBar wrote:The snowy rivers /should/ be in the opengfxw.grf from the most recent OpenGFX replacement set
Thanks FooBar, I'll check it out. :D
Life's like a play in a theatre,
Life's like a dream,
If life could be expressed in a sound,
It would sound like Dream Theater...
ImageImage
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Amazon [Bot], Majestic-12 [Bot] and 6 guests