..,,;;:: Spain set ::;;,,.. 90% taster 1.24 available

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

User avatar
Death
Tycoon
Tycoon
Posts: 992
Joined: 02 Aug 2005 13:00
Location: Jerusalem, Israel

Post 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
Last edited by Death on 06 Jan 2006 13:55, edited 1 time in total.
User avatar
Sanchimaru
Tycoon
Tycoon
Posts: 1542
Joined: 05 Feb 2004 22:39
Location: Kobe, Japan
Contact:

Post 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.
Attachments
273 scheme.png
273 scheme.png (2.49 KiB) Viewed 2764 times
User avatar
Death
Tycoon
Tycoon
Posts: 992
Joined: 02 Aug 2005 13:00
Location: Jerusalem, Israel

Post 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.
User avatar
Sanchimaru
Tycoon
Tycoon
Posts: 1542
Joined: 05 Feb 2004 22:39
Location: Kobe, Japan
Contact:

Post 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.
User avatar
Death
Tycoon
Tycoon
Posts: 992
Joined: 02 Aug 2005 13:00
Location: Jerusalem, Israel

Post 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.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post 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
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 »

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.)
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
User avatar
Death
Tycoon
Tycoon
Posts: 992
Joined: 02 Aug 2005 13:00
Location: Jerusalem, Israel

Post 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... ?(
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post 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.
Attachments
berkshire.zip
(3.32 KiB) Downloaded 140 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
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post 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.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Death
Tycoon
Tycoon
Posts: 992
Joined: 02 Aug 2005 13:00
Location: Jerusalem, Israel

Post 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!
User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Post 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! :)
User avatar
OzTrans
Tycoon
Tycoon
Posts: 1714
Joined: 04 Mar 2005 01:07

Post 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.
User avatar
Sanchimaru
Tycoon
Tycoon
Posts: 1542
Joined: 05 Feb 2004 22:39
Location: Kobe, Japan
Contact:

Post 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.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post 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.
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
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post 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?
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
Death
Tycoon
Tycoon
Posts: 992
Joined: 02 Aug 2005 13:00
Location: Jerusalem, Israel

Post 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!
User avatar
Death
Tycoon
Tycoon
Posts: 992
Joined: 02 Aug 2005 13:00
Location: Jerusalem, Israel

Post by Death »

>>>>>>>>>>>>CODING NEWS<<<<<<<<<<<
All right, a new locomative
we have now the 241 montana,
see below.
User avatar
Sanchimaru
Tycoon
Tycoon
Posts: 1542
Joined: 05 Feb 2004 22:39
Location: Kobe, Japan
Contact:

Post 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:
Attachments
273montana.PNG
273montana.PNG (8.9 KiB) Viewed 2452 times
purchause.PNG
purchause.PNG (9.23 KiB) Viewed 2452 times
User avatar
ISA
Tycoon
Tycoon
Posts: 3384
Joined: 17 Oct 2005 20:56
Location: Estonia

Post 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
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 12 guests