Page 8 of 8

Posted: 02 Sep 2004 20:32
by krtaylor
In the US Set release thread, Oracle has posted the NFO files he uses for the US set. You can take a look at those if you are interested in trains.

http://www.tt-forums.net/viewtopic.php?t=8754&start=220

But it's station coders I really want... :wink:

BTW, as far as fixing your English, you are "from" Slovenia not "form" Slovenia.

Posted: 02 Sep 2004 20:49
by Eddy
ups typing mistake :roll:

Posted: 03 Sep 2004 09:05
by Bernhard
ok, it's the wrong forum, but who knows a place where i can read more about coding Trains, e.g. like ICE (with VariationalActions)? I need examples to understand. I have read mostly anything in the wiki, but english is not my 'motherlanguage', so it is hard to understand. Anybody here who can help? Where do i tell ttd which waggons should be added to the engine, and how much?

Posted: 03 Sep 2004 14:09
by krtaylor
You could ask Oracle. Also, in the US Set development thread, he posted the NFO files used to compile the US set, which would give examples for all that stuff.

Posted: 03 Sep 2004 15:01
by Eddy
That wiki manual really is confusing a bit. You should read it a few more times to completely understand it.

Posted: 03 Sep 2004 16:54
by Oracle
Bernhard wrote:ok, it's the wrong forum, but who knows a place where i can read more about coding Trains, e.g. like ICE (with VariationalActions)? I need examples to understand. I have read mostly anything in the wiki, but english is not my 'motherlanguage', so it is hard to understand. Anybody here who can help? Where do i tell ttd which waggons should be added to the engine, and how much?
If you look at the USSet NFO, in the section labelled "Sunset" and then in the bit labelled (I think) "passengers", you can see a set of Action 2s trying to determine what should happen there. Here is what I used to plan how to code it:

Code: Select all

Sunset HSR:

Head unit: 60 tons, 4750 hp 
1nd car: 25 tons, 2375 hp 
2nd/3rd car: regular, 25 tons 
4th car: restaurant, 25 tons (override passanger car when train is longer then 8 cars) 
5-and so on - regular cars 
last car: 25 tons, 2375 hp 
back locomotive: 60 tons, 4750 hp 

Is callback:
Yes - is carriage 1?
	yes - give power 2375 hp
	no - is carriage n-1?
		yes - give power 2375 hp
		no - give no power
No - is carriage 1?
	yes - give sprites
	no - is carriage n-1?
		yes - give sprites
		no - is train 9 or more long?
			yes - is carriage 4 (5th wagon)?
				yes - give sprites
				no - give ordinary sprites
			no - give ordinary sprites
And I just use newgrf.txt to work out what I should use if I'm not sure.

Posted: 06 Sep 2004 06:09
by Bernhard
thanks a lot for the moment, i will try again!
Perhaps your sunset will help me to understand!!!

Posted: 06 Sep 2004 18:09
by Jezulkim
I have some questions.

How I can change the station ID and how I can change the name of the station?

Posted: 06 Sep 2004 19:12
by Oracle
Changing the name:

Code: Select all

04 04 9F 01 <ID> C5 98 <name as hex string> 00
Why would you want to change the ID? They have to be defined sequentially so there isn't much flexibility.

Posted: 08 Sep 2004 21:06
by Arte Pro 34
SilverLine UPDATE (v 0.83)
+ Added SilverLine tubular
+ Fixed pylons on Wood (Un)Loading st.

Posted: 08 Sep 2004 21:08
by Arte Pro 34
GRF

Posted: 09 Sep 2004 09:16
by Korenn
nice. the roof needs shading though.

Posted: 09 Sep 2004 09:53
by SHADOW-XIII
thanks a lot Arte Pro 34
hope all the bugs are fixed :wink:

Posted: 09 Sep 2004 10:08
by Colonel32
the wood unloading station is givin white-line glitches :(

Posted: 09 Sep 2004 11:22
by Arte Pro 34
the wood unloading station is givin white-line glitches Sad
In fact, graphic file was corrupted.

Posted: 09 Sep 2004 17:44
by SHADOW-XIII
also Description in Action 8 is wrong:

Code: Select all

Description: Î8nĄßWŤżí;_š´ĘÜęô?Ă&#131;AAA

Posted: 09 Sep 2004 17:48
by krtaylor
Is there a screenshot of the wood unloading station?

Posted: 24 Nov 2004 16:09
by Thade
Bump.

Any news? :?:

Posted: 24 Nov 2004 16:17
by Villem
Pylons on the Tubular clip, should be moved a little inwards.