ships

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
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: ships, help please

Post by FooBar »

lead@inbox wrote:FooBar, all i have conceived is in this ...
As it seems, you also want different sprites for different cargo types...

That makes things a little more complicated. And to be completely honest with you, I currently don't feel like figuring out the varaction2 callback chain.
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: ships, help please

Post by PikkaBird »

FooBar wrote:
lead@inbox wrote:FooBar, all i have conceived is in this ...
As it seems, you also want different sprites for different cargo types...

That makes things a little more complicated. And to be completely honest with you, I currently don't feel like figuring out the varaction2 callback chain.

You can make variable loading stages, and different graphics for different cargos, without using any var2s at all.
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: ships, help please

Post by Zephyris »

lol, see my examples :D

you need an action0 for the real sprites
you need the real sprites
you need an an action2 for each cargo type, with 3 loading stages and 3 loaded stages
you need one action3, which targets the appropriate action2 for each cargo type.

specifically see "I want a wagon which uses custom graphics, with 2 cargoes (coal and iron ore) both with different graphics."
you need to increase the number of cargoes, and increase the number of loading stages;

Code: Select all

-1 * 0 02 03 AA 03 03 00 00 01 00 02 00 00 00 01 00 02 00 // Loose cargo
-1 * 0 02 03 BB 03 03 03 00 04 00 05 00 03 00 04 00 05 00 // Liquid cargo
-1 * 0 02 03 CC 03 03 06 00 07 00 08 00 06 00 07 00 08 00 // Containers
-1 * 0 02 03 DD 03 03 06 00 09 00 0A 00 06 00 09 00 0A 00 // Logs
-1 * 0 02 03 EE 03 03 06 00 0B 00 0C 00 06 00 0B 00 0C 00 // Boxes
-1 * 0 03 03 01 ** [number of cargoes] ([cargo ID] [action2 ID to use]) [default action2 ID]
I cant fill in the cargo types, as I don't see how it is going to correspond to the graphics, eg. loose cargo presumably includes coal and iron ore - do you want these to look the same?
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: ships, help please

Post by FooBar »

PikkaBird wrote:You can make variable loading stages, and different graphics for different cargos, without using any var2s at all.
Ah, I see now. I failed to read the documentation on Action 3 before posting.


Anyways, Zephyris has it pretty much explained now. Keep in mind that you have to change the feature from planes (03) to ships (02).
User avatar
lead@inbox
Transport Coordinator
Transport Coordinator
Posts: 377
Joined: 28 Dec 2007 04:35
Location: Serge, Russia, Vladivostok
Contact:

Re: ships, help please

Post by lead@inbox »

head is overloaded - can't begin with nfo :shock:
Attachments
sgcv.pcx
(54.24 KiB) Downloaded 67 times
sgcv.png
sgcv.png (6.83 KiB) Viewed 684 times
User avatar
lead@inbox
Transport Coordinator
Transport Coordinator
Posts: 377
Joined: 28 Dec 2007 04:35
Location: Serge, Russia, Vladivostok
Contact:

Re: ships, help please

Post by lead@inbox »

Pingaware wrote:...And Zeph I will try to eventually finish my ship sprites. But I have no time, or a good graphics editor, at the moment.
may be i can help?
User avatar
FooBar
Tycoon
Tycoon
Posts: 6553
Joined: 21 May 2007 11:47
Location: The Netherlands
Contact:

Re: ships, help please

Post by FooBar »

lead@inbox wrote:[[previous post]]
You still need to define what exact cargo should match up with what exact set of sprites.

Oil would be obviously liquid, but what about grain? And what about most of the other cargos?

It would be useful to have a list all different cargo types you want to be able to transport with those ships, and what each type of cargo would have to use as graphics.
User avatar
Zephyris
Tycoon
Tycoon
Posts: 2897
Joined: 16 May 2007 16:59

Re: ships, help please

Post by Zephyris »

http://wiki.ttdpatch.net/tiki-index.php?page=CargoTypes

For each of these cargoes you need to say whether it is or isnt carried, and which graphics should be used.
User avatar
andythenorth
Tycoon
Tycoon
Posts: 5705
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: ships, help please

Post by andythenorth »

Pingaware wrote:I've never heard of such a thing so I'd guess no. And Zeph I will try to eventually finish my ship sprites. But I have no time, or a good graphics editor, at the moment.
I'd be interested in helping with ship sprites. The game needs some smaller ships - barges for inland and river traffic.

Articulated would be great, but lets not run before we can walk...
  • How many ship sprite slots exist? Does MB Newships use them all?
  • Does anyone have any real-life examples / source material they would like to suggest?
I'm not a blinding graphic artist, but I've pushed pixels around for game art and web icons before.

cheers,

Andy
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: ships, help please

Post by PikkaBird »

andythenorth wrote:
  • How many ship sprite slots exist? Does MB Newships use them all?
As of the latest OTTD nightlies, practically unlimited. Before the latest nightlies, 11 and yes.
User avatar
Pingaware
Director
Director
Posts: 625
Joined: 03 May 2007 20:18
Location: England

Re: ships, help please

Post by Pingaware »

lead@inbox: Feel free! I'm a very slow worker but I've a good hull shape that I'll use for the oil tanker and bulk carrier. And I have decided to do some future ships after that. But do anything else you like.
User avatar
lead@inbox
Transport Coordinator
Transport Coordinator
Posts: 377
Joined: 28 Dec 2007 04:35
Location: Serge, Russia, Vladivostok
Contact:

Re: ships, help please

Post by lead@inbox »

feel free to use it.
gcs0508.png
gcs0508.png (13.89 KiB) Viewed 2729 times
Attachments
s0000.png
s0000.png (99.94 KiB) Viewed 2718 times
User avatar
lead@inbox
Transport Coordinator
Transport Coordinator
Posts: 377
Joined: 28 Dec 2007 04:35
Location: Serge, Russia, Vladivostok
Contact:

Re: ships, help please

Post by lead@inbox »

Please, point me toward the 3d max template (link in openttd wiki is broken) :cry:
Mchl
Director
Director
Posts: 611
Joined: 05 Jan 2007 15:50
Location: Poland
Contact:

Re: ships, help please

Post by Mchl »

That's pretty nice ship you've made here :)
User avatar
lead@inbox
Transport Coordinator
Transport Coordinator
Posts: 377
Joined: 28 Dec 2007 04:35
Location: Serge, Russia, Vladivostok
Contact:

Re: ships

Post by lead@inbox »

Mchl, thanks :)
ferry
ferry0515.png
ferry0515.png (8.92 KiB) Viewed 2497 times
Please, make comments on images that I could correct them. Criticize it :)
Attachments
f0000.png
f0000.png (48.44 KiB) Viewed 2480 times
Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: ships

Post by Roujin »

Hmm, the last one kinda looks like a toy boat(?) to me... I don't know, maybe it's the dimensions :?
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage
User avatar
athanasios
Tycoon
Tycoon
Posts: 3138
Joined: 23 Jun 2005 00:09
Contact:

Re: ships

Post by athanasios »

So we can use it for toyland! :wink:
I suppose someone will have the time available to add some more curves to both ships.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.


I prefer to be contacted through PMs. Thanks.
Mchl
Director
Director
Posts: 611
Joined: 05 Jan 2007 15:50
Location: Poland
Contact:

Re: ships

Post by Mchl »

Yes. The ferry definetely looks toylandish for some reason.
User avatar
lead@inbox
Transport Coordinator
Transport Coordinator
Posts: 377
Joined: 28 Dec 2007 04:35
Location: Serge, Russia, Vladivostok
Contact:

Re: ships

Post by lead@inbox »

:D probably, because water line is not visible
this is real ferry
ferry.png
ferry.png (10.92 KiB) Viewed 2280 times
User avatar
Rainer
Traffic Manager
Traffic Manager
Posts: 240
Joined: 14 Nov 2007 10:01
Location: Wiesbaden, Germany

Re: ships

Post by Rainer »

Hi lead,
lead@inbox wrote::D probably, because water line is not visible
and real ships show more rust and dirt ...

cu
Rainer
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 18 guests