Page 26 of 61

Posted: 05 Jan 2006 21:06
by Death
Hi Sanchimaru,
I hope you enjoied the trip. Anyway, I had known about the wegons
length, before I posted it. I'll check if there's a way to fix it (Maybe
tomorrow). But for now we have a new locomative that I've just finished:
the 273!
I need to know when this loco and the passengers/mail wagon change
their colours, because there are 2 colours for each one, the loco - blue
and green, and the wagon - gray (or light blue) and brown. (Or maybe they are different vehicles? :? )

and one more thing. I wanna know, what cargos does each wagon can carry, and what sets of views does each cargo has?
I'm asking it bicause some of the cannot be judge by the views, for example the cars wagon. tell me, please.

Death

Posted: 05 Jan 2006 23:50
by Sanchimaru
Nice one! You coded the spanish crocodile!
It only has 1 pixel alignment fail in the diagonal views, but it was my fault not to show you a clear allocation scheme for this one, since it was too hard to see:

Take a look at the picture: The top left one is the one as it is coded now. Under it the main visual bugs are marked in green (too sepparate lines and 2*1 extra window) Then, in the center there is an allocation scheme with green lines telling you what part of each of the 2 sprites should fit in the other one. And top right how the final result should be.

the 2 red pixels on the roof of the rear front are part of the pantograph of the next section, as the green lines mark.
So the cabine must have 4 windows 2*2 pixels each.
Otherwise perfect! I was quite amazed to see it :]

About the cars: We are planning to do a new cargo scheme for the Spain set, so don't mind yet the cargo or mail cars. The scheme is not decided yet, so that will have to wait.
However, if you want to release a test view for it, you can code the car carrier as "goods" and give it a capacity of 100 (50+50)
The same with the tankers there, there are some in the tracking table you can code as oil, goods, food and livestock.

About passenger cars: There will be 3 kind of passenger cars for regular and electrified track: long distance, regional and unit. Unit will be the cars to be attached to MUs, Talgo or AVE trains, so don't bother with that at the moment (I have to draw a generic "unit" sprite for the purchause window)
In the scheme at the top of the tracking table you have in the first row the long distance trains (5 cars except the 1st column, that has 4) and in the second row the regional cars (3 trains)
In the long distance cars, the first one is the dining car, just eyecandy. One every 6 L.D. cars should appear. The second is the normal LD car. The 3rd is the bed-car, another eye candy. There should appear 1 every 4 normal LD cars (the first column doesn't have bed-car) The 4th one is the baggage car (a new cargo I want to insert, don't mind them for now) and the 5th one is the mail car. Long distance cars carry 65 passengers.
For regional services there are not eyecandy liveries, just normal, baggage and mail car for all. Regional cars carry 40 passengers.
The baggage and mail cars are the same (there is not one for LD and other for REG) it carries 50 bags of mail.

I hope it helps, please ask me any questions you might have.

Posted: 06 Jan 2006 14:03
by Death
Oh thanks,
that's important inforation.
I update the last post's attatchment, so the 273 looks fine to me.
I have no time to the wagons today and tomorrow, so wait for sat's evening. But one thing you didn't tell me - what are the green sets below the 273 in the scheme, are they a different locomative or not?
If not, tell me when the loco change its colours.

Posted: 07 Jan 2006 11:32
by Sanchimaru
I have the missing data for the liveries:
The blue one stands from the release of the machine until 1941. In that year switches to green.

Posted: 10 Jan 2006 14:56
by Death
:arrow: OK, I have updated the 270 locmative,
Now it will change the colours from 1941.

:arrow: About the wagons, I can't see any solution other than cut/change the drows.

:arrow: About the next locomative. I thought about making the 241 "montana", but I don't know how to make an animation for trains.
Do you have an grf which has a train's animation?
I remember that the older version of the US Set has some, But I can't find the downloads.

Posted: 10 Jan 2006 15:04
by krtaylor
The US set does have an animated steamer, it's the only one that does. The new version should have some more. You can always get it from the download site here:

http://www.as-st.com/ttd/newusa

Posted: 10 Jan 2006 15:20
by DaleStan
This code is wrong here (it was written before variable 47), but the graphics should give you an idea of what's needed: http://www.tt-forums.net/download.php?id=28960
(I believe that the sprite-order needs to be reversed for the negative X, negative Y, and west-bound directions, if var47 is to be used.)

Posted: 10 Jan 2006 18:32
by Death
krtaylor, Is it the C12 Tanker?
I don't know what locomative is animated, because there's no animated locomative which appear in the game.

Dalestan, I cannot download from this link, I guess that this attatchment had removed. I can see that the US Set has some trains which have the opposite views, like reversing. But I don't know what the connection between these reversing trains to the animated train.

I'm confused... ?(

Posted: 10 Jan 2006 19:23
by DaleStan
Death wrote:Dalestan, I cannot download from this link
I can. I guess I should have logged out and then checked again. (It's in a PM I sent.)
Anyway, here it is.

Posted: 10 Jan 2006 19:38
by krtaylor
The C12 Tanker is from the Japanset, not the US set. AFAIK there are no animated steamers in the Japanset. The French and Spanish sets have animated steamers drawn, but not coded; I haven't seen any in the DB or Canadian sets.

Posted: 10 Jan 2006 20:18
by Death
Oops... :oops: you're right. but thanks to Dalestan, I have now an example of animated steamer.

thank you guys for your halp!

Posted: 10 Jan 2006 21:47
by ISA
krtaylor wrote:The C12 Tanker is from the Japanset, not the US set. AFAIK there are no animated steamers in the Japanset. The French and Spanish sets have animated steamers drawn, but not coded; I haven't seen any in the DB or Canadian sets.
In latest canset is some animated steamers :wink: atleast i have! :)

Posted: 10 Jan 2006 22:55
by OzTrans
DaleStan, you were thinking of var46, when you typed 47, were you not ?

Here is the code for animated steam engines, it's a one liner ...

Code: Select all

-1 * 22     02 00 <id> 82 46 08 03 03 <s1> 00 00 00 <s2> 00 01 01 <s3> 00 02 02 <s4> 00
... you need 4 sets <S1 .. S4> of sprites for the engine. Sn will point to an action-02, which then points to the sprites.

Posted: 11 Jan 2006 01:02
by Sanchimaru
Death: what is exactly the problem with the passenger cars? if you can't add different types at the moment, just code the "long distance" liveries as normal passenger cars for the moment.

Posted: 11 Jan 2006 02:32
by DaleStan
OzTransLtd wrote:DaleStan, you were thinking of var46, when you typed 47, were you not ?
Indeed. I've been doing that entirely too much lately.

Animated steamers can also be done with other numbers of sprites, using the var2 modulo operation.

Six can be found somewhere in the FRSet thread. 3, 5, 7, 9-15, &c. use the same theory as six, although the best implementation may vary, due to different values of (2^32)%num. 8, 16, &c. use the same theory as four.

Posted: 11 Jan 2006 02:59
by krtaylor
ISA wrote:In latest canset is some animated steamers :wink: atleast i have! :)
I admit I haven't played the Canadian set all the way through. I'm pretty sure I haven't encountered any yet though. Do you know which ones they are?

Posted: 11 Jan 2006 07:13
by Death
Sanchimaru wrote:Death: what is exactly the problem with the passenger cars? if you can't add different types at the moment, just code the "long distance" liveries as normal passenger cars for the moment.
No problems, just making the passengers cars sepperated from each other is somthing I can't do. I'm saying that the only solution for this problem is to make the pictures shorter.

p.s.
thanks again guys, and OzTransLtd too!

Posted: 11 Jan 2006 20:34
by Death
>>>>>>>>>>>>CODING NEWS<<<<<<<<<<<
All right, a new locomative
we have now the 241 montana,
see below.

Posted: 11 Jan 2006 23:54
by Sanchimaru
wow! great work, at such a rythm, I have to hurry up with the graphics!

I played the last GRf, and it is nice. You got the 273 properly aligned.
The montana is looking cool, I love it! thanks again to the fellows from the US set for allowing us to use them.

However I noticed this bug in the purchause window:

Posted: 12 Jan 2006 00:15
by ISA
krtaylor wrote:
ISA wrote:In latest canset is some animated steamers :wink: atleast i have! :)
I admit I haven't played the Canadian set all the way through. I'm pretty sure I haven't encountered any yet though. Do you know which ones they are?
Like i see there is only one!
Loco: U2A-4-8-4