trkfound(w) parameters?

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
HaroldV
Traffic Manager
Traffic Manager
Posts: 178
Joined: 25 Feb 2005 16:24

trkfound(w) parameters?

Post by HaroldV »

In some newgrf.cgfs posted I see parameters passed with the track foundations. Can someone please point me to the documentation detailing the parameter options for this .grf file? I can't find any.

Cheers.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

At least for the one available from ttdpatch.net, the parameters don't do anything. You can put them there, but they'll make no difference.

Maybe that was different in one of the early test versions and thus people still left them in, I don't remember.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
Szappy
Chief Executive
Chief Executive
Posts: 689
Joined: 29 Mar 2004 14:35
Location: Budapest, Hungary
Contact:

Post by Szappy »

Actually I have a version of trkfoundw.grf, that changes the foundation appearance according to those parameters. I don't remember where I got it, tho.
Actually I was pretty sure, I got it from the ttdpatch site, but I've checked, and no, it does not work with that version, indeed.

So here's how it works: four parameters, each for a climate in the order of temp/arctic/tropic/toyland.
The values of the parameters are:
0 for toyland foundations (those ugly pink ones)
1 for temperate (brownish stones)
2 for arctic (vertical reddish stripes)
4 for tropic (the white uniform ones)

so for example mine is:
trkfoundw.grf 4 2 4 0
this only changes the temperate foundations to white ones

-edit-
since patchman seems to have forgot about it, I'm posting it here. It's the win version only, tho.
Attachments
Scr2.png
Scr2.png (6.05 KiB) Viewed 3763 times
trkfoundw.grf
(89.6 KiB) Downloaded 265 times
Last edited by Szappy on 04 Oct 2005 09:18, edited 1 time in total.
Image please use email instead of PM
User avatar
HaroldV
Traffic Manager
Traffic Manager
Posts: 178
Joined: 25 Feb 2005 16:24

Post by HaroldV »

@Szappy - I think it was your cfg I saw somewhere. :) Thanks for the explanation.

@Patchman - I wonder why the parameter-passing option was removed from the final/current version? It strikes me as quite a nifty option, but then I might be quite strange. :P Any chance it could be reintroduced, or might it cause problems?
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I don't think it was removed, instead someone else added it to their copy. If someone sends me the modified version, I'll be happy to upload it.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Hey, no harm in adding parameter capabilities. The worst that can happen is, people don't use them.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Raichase
Moderizzle
Moderizzle
Posts: 11509
Joined: 15 Dec 2002 00:58
Location: Sydney, Australia. Usually at work in the underground railway station...
Contact:

Post by Raichase »

I like the idea - I think the tropical supports look way better than any of the other climate splites anyway. I would have to say that the Temperate ones would look good in the Arctic/Alpine though.
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

Actually, what I'd like is a somewhat more sophisticated method, including maybe several different types of embankments. Maybe depending on the year built? I mean, you often see terraced embankments now, and in time past you saw wood pilings. Of course there's cement, and brick-arches, and all kinds of other things. That'd be cool.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

For some unknown reason, there's *STILL* no DOS grf.

Erm... I think I got the tense wrong there. Make that "was".
Attachments
trkfound.zip
(13.78 KiB) Downloaded 105 times
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Ahrefs [Bot] and 35 guests