trkfound(w) parameters?
Moderator: Graphics Moderators
trkfound(w) parameters?
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.
Cheers.
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.
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 (6.05 KiB) Viewed 3757 times
-
- trkfoundw.grf
- (89.6 KiB) Downloaded 265 times
Last edited by Szappy on 04 Oct 2005 09:18, edited 1 time in total.
@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.
Any chance it could be reintroduced, or might it cause problems?

@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.

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
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
- Raichase
- Moderizzle
- Posts: 11509
- Joined: 15 Dec 2002 00:58
- Location: Sydney, Australia. Usually at work in the underground railway station...
- Contact:
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


Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon


Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
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
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
For some unknown reason, there's *STILL* no DOS grf.
Erm... I think I got the tense wrong there. Make that "was".
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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Who is online
Users browsing this forum: belgi and 21 guests