http://www.tt-forums.net/viewtopic.php?t=8754&start=220
But it's station coders I really want...

BTW, as far as fixing your English, you are "from" Slovenia not "form" Slovenia.
Moderator: Graphics Moderators
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: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?
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
Code: Select all
04 04 9F 01 <ID> C5 98 <name as hex string> 00
In fact, graphic file was corrupted.the wood unloading station is givin white-line glitches Sad
Code: Select all
Description: Î8nĄßWŤżí;_š´ĘÜęô?ĂƒAAA
Users browsing this forum: No registered users and 11 guests