[OTTD] Old ship graphics [Under development (v0.62)]

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

Post Reply
User avatar
Mouse
Engineer
Engineer
Posts: 39
Joined: 27 Jun 2010 22:19
Location: Stamford, UK

[OTTD] Old ship graphics [Under development (v0.62)]

Post by Mouse » 28 Jun 2010 16:14

Hi

I've been reading the forums for a while as a guest and through boredom/procrastination/general curiosity have had a go at making some graphics for pre-1900 ships inspired by this thread.

This is in no way complete, and is my own attempt at understanding the ttd patch tutorials, but suggestions and feedback are appreciated, particularly on how to make the graphics look better (these are drawn with GIMP pixel by pixel) or any better ways to make them.

Mouse

Edit: V0.62 contains piece and bulk cargo graphics and new menu sprites. Available below or on bananas.
Attachments
ss.zip
0.62
(343.32 KiB) Downloaded 1562 times
Last edited by Mouse on 30 Aug 2012 15:05, edited 9 times in total.
The early bird may catch the worm, but the second mouse gets the cheese.

Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: [OTTD] Old ship graphics [Under development]

Post by Kogut » 28 Jun 2010 16:28

The bigger ship looks great!
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD

User avatar
SwissFan91
Tycoon
Tycoon
Posts: 2384
Joined: 08 Feb 2009 18:36
Location: Alberta, Canada

Re: [OTTD] Old ship graphics [Under development]

Post by SwissFan91 » 28 Jun 2010 16:38

The sails need some sort of shading or texture, they are just solid white at the moment. Good looking set though.
Image
Total Alpine Replacement Set: Industry, Town, Objects
**ATTENTION**: If anyone would like me to help draw snow stages in any of their GRFs let me know. I genuinely enjoy drawing them.

User avatar
andythenorth
Tycoon
Tycoon
Posts: 4949
Joined: 31 Mar 2007 14:23
Location: Lost in Music

Re: [OTTD] Old ship graphics [Under development]

Post by andythenorth » 28 Jun 2010 17:53

Example shading :)
shading.png
shading.png (7.99 KiB) Viewed 34919 times
Light comes from the top right. SW edges will be darkest, NE edges brightest. There are normally 5-8 intermediate shades for other surfaces - depending on which colour range you're using ;)

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9288
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] Old ship graphics [Under development]

Post by planetmaker » 28 Jun 2010 19:38

Nice ones, especially if you work a bit on the shading as andythenorth suggested.

Let me suggest to you to possibly start writing this set in NML instead of NFO; it'll make it much easier for you to come back to coding after a few days. Attached a crude example with the brigantine as posted by lead@inbox in http://www.tt-forums.net/viewtopic.php?p=876871#p876871
The alignment in that attached file is appaling and obviously I messed up the palette. But it's for demonstration purposes only.
Attachments
sailships-nightly-r-1M-source.tar.gz
NML project for ships
(26.58 KiB) Downloaded 352 times

User avatar
Mouse
Engineer
Engineer
Posts: 39
Joined: 27 Jun 2010 22:19
Location: Stamford, UK

Re: [OTTD] Old ship graphics [Under development]

Post by Mouse » 29 Jun 2010 15:03

Thanks for the feedback!

Will work on the shading - I have to admit I had been assuming the light came from bottom right... oops!
planetmaker wrote: Let me suggest to you to possibly start writing this set in NML instead of NFO; it'll make it much easier for you to come back to coding after a few days. Attached a crude example with the brigantine as posted by lead@inbox in http://www.tt-forums.net/viewtopic.php?p=876871#p876871
The alignment in that attached file is appaling and obviously I messed up the palette. But it's for demonstration purposes only.
Ok, I will give it a go. What does the example open/decode with?

Mouse
The early bird may catch the worm, but the second mouse gets the cheese.

User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9288
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: [OTTD] Old ship graphics [Under development]

Post by planetmaker » 29 Jun 2010 15:20

It's a usual source archive. Any archive programme should be able to unpack it. It doesn't contain a compiled grf, but the files I compiled a ship from in order to give you something to start with and expand from.

User avatar
Mouse
Engineer
Engineer
Posts: 39
Joined: 27 Jun 2010 22:19
Location: Stamford, UK

Re: [OTTD] Old ship graphics [Under development]

Post by Mouse » 30 Jun 2010 17:36

Added sail textures, rigging and hatches. Hatches are supposed to be in 2nd cc but colour does not seem to work at the moment.

Mouse
Attachments
Before.png
Before
Before.png (22.92 KiB) Viewed 34687 times
After.png
After
After.png (32.7 KiB) Viewed 34687 times
The early bird may catch the worm, but the second mouse gets the cheese.

User avatar
supermop
Tycoon
Tycoon
Posts: 1044
Joined: 21 Feb 2010 00:15
Location: Fitzroy North - 96

Re: [OTTD] Old ship graphics [Under development]

Post by supermop » 30 Jun 2010 17:45

Shaping up nicely!

A small CC flag on the mast could be a nice touch. Adding some more structure on deck also would help, currently there is nowhere to steer the boat from. Overall its looking promising!

Best,

Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: [OTTD] Old ship graphics [Under development]

Post by Kogut » 30 Jun 2010 17:59

Way better! What about noise in other parts?
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD

Vemarkis
Engineer
Engineer
Posts: 83
Joined: 06 Jan 2009 18:27
Location: Helsinki, Finland

Re: [OTTD] Old ship graphics [Under development]

Post by Vemarkis » 30 Jun 2010 18:32

Mouse wrote:Added sail textures, rigging and hatches. Hatches are supposed to be in 2nd cc but colour does not seem to work at the moment.

Mouse
To activate 2cc on a vehicle you need to activate the miscellaneous flag for it, see: http://wiki.ttdpatch.net/tiki-index.php ... tion0Ships

User avatar
kamnet
Moderator
Moderator
Posts: 6778
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: [OTTD] Old ship graphics [Under development]

Post by kamnet » 30 Jun 2010 19:28

This is very awesome! Can't wait to get my hands on a mid-1800s game!

User avatar
Mouse
Engineer
Engineer
Posts: 39
Joined: 27 Jun 2010 22:19
Location: Stamford, UK

Re: [OTTD] Old ship graphics [Under development]

Post by Mouse » 01 Jul 2010 21:05

Vemarkis wrote:To activate 2cc on a vehicle you need to activate the miscellaneous flag for it, see: http://wiki.ttdpatch.net/tiki-index.php ... tion0Ships
I knew I missed some code somewhere. Cheers.
kamnet wrote:This is very awesome! Can't wait to get my hands on a mid-1800s game!
Thank you kindly :D

Still WIP - I need to learn how to code sounds, and am trying to work out how to make a flag flutter if I put it on the mast.
The early bird may catch the worm, but the second mouse gets the cheese.

User avatar
Mouse
Engineer
Engineer
Posts: 39
Joined: 27 Jun 2010 22:19
Location: Stamford, UK

Re: [OTTD] Old ship graphics [Under development]

Post by Mouse » 28 Jul 2010 17:38

Ok, so I've updated the graphics a little bit (flag added to the clipper's gaff boom, cabin added) and have been fighting my computer to make NML work (failed!) and returned to NFO.
Next step was to try and add sound, and I have hit a problem. If anyone can see why I am getting the default sound from the code below, please can you help me out? I broke each line down so you can see what I was attempting to do.
EDIT - Sound now added - I had to add action 3 to instigate callback and action switch. For interested parties, code is below.

Code: Select all

// Adding sound

   	42 * 3	11 01 00
   	43 ** E:\sprites\sounds\shipsbell.wav

//Applying sound effects

   	44 * 7	00 02 01 01 00 //Change 1 property of clipper (id 00)
		12 80 //callback enabled
		

   	45 * 14	02 02 03 		//Action 2 for ship, ID = 03
		81 10 00 FF 01 		//Check variable 10
			49 80 01 01 	//If value for effect 1 is 80, callback with sound 49
			00 00 		//Or return no value

  	46 * 17	02 02 04 			//Action 2 for ship ID = 04
		85 0C 00 FF FF 01 		//Check variable OC
			03 00 33 00 33 00 	//If ID = 3 callback
			01 00			//otherwise graphics
//the bit that was missing...
	47 * 7	03 02 01 00 00 03 00 //Activate Action 2 ID=3 to ShipID 00
	48 * 7 	03 02 01 00 00 04 00 //Activate action 2 ID 4 for Ship 00
In other news, work starting on Screw powered steamer with full rigged ship and brig planned

Mouse

P.S. Screenshots for updated paddle steamer added.
Attachments
Before.png
Before
Before.png (2.97 KiB) Viewed 34193 times
After.png
After
After.png (3.26 KiB) Viewed 34195 times
The early bird may catch the worm, but the second mouse gets the cheese.

User avatar
Chrill
Moderator
Moderator
Posts: 15283
Joined: 18 Dec 2004 17:35
Location: Stockholm, Sweden
Contact:

Re: [OTTD] Old ship graphics [Under development]

Post by Chrill » 05 Aug 2010 22:06

There's a crazy difference between the before and after, and it shows a vast improvement. I'm liking that
Image
Newest screenshots published January 9, 2019
Chrill's scenarios:
Archipiélago Hermoso
(Latest Release: Version 3.2)
Turnpike Falls (Latest Release: Version 0.91)

Eddi
Tycoon
Tycoon
Posts: 7414
Joined: 17 Jan 2007 00:14

Re: [OTTD] Old ship graphics [Under development]

Post by Eddi » 05 Aug 2010 23:57

[just a random driveby]

Note: the further you deviate from an 8 pixel height, the more likely it is that you get noticeable glitches on bridges.
You might not exactly be interested in Ferion, but if you are, have fun :)

User avatar
ostlandr
Chairman
Chairman
Posts: 882
Joined: 12 May 2007 01:09
Location: Northeastern USA

Re: [OTTD] Old ship graphics [Under development]

Post by ostlandr » 06 Aug 2010 02:25

Oh yes! Thank you! I tend to play as far back as 1850, so this is going to be awesome. Going to go pour myself a grog and sing sea chanteys for awhile. 8)
Who is John Galt?

ZxBiohazardZx
Tycoon
Tycoon
Posts: 1534
Joined: 14 Mar 2006 12:46
Location: Netherlands
Contact:

Re: [OTTD] Old ship graphics [Under development]

Post by ZxBiohazardZx » 06 Aug 2010 09:54

for some reason im not really into the gfx yet:( i do like the idea, but for me its just a box with sails on it, the sails are improving, but instead of white i suggest using a very light yellow color, because no canvas in the world is ever bright white...

User avatar
DanMacK
Tycoon
Tycoon
Posts: 3903
Joined: 27 Feb 2004 20:03
Location: Ontario, Canada
Contact:

Re: [OTTD] Old ship graphics [Under development]

Post by DanMacK » 06 Aug 2010 12:53

I'm watching this with interest myself. One thing that might be an option is to look more towards FISH for sizes. A steamer like the Great Eastern would be close to the largest ship in FISH for example. Good progress on shading and such though, and I look forward to seeing more.

User avatar
Mouse
Engineer
Engineer
Posts: 39
Joined: 27 Jun 2010 22:19
Location: Stamford, UK

Re: [OTTD] Old ship graphics [Under development]

Post by Mouse » 07 Aug 2010 15:36

Hi

Thanks for the feedback!
DanMacK wrote:A steamer like the Great Eastern would be close to the largest ship in FISH for example
I'm now using a scale of about 1 pixel/m for the reason that it seems to give a reasonable representation compared to the railway carriages, and any smaller (e.g. 2m/pixel) makes it hard to get the spars looking right - a 1m wide mast seems OK but a 2m one looks more obviously wrong! You are right, Great Eastern was much much bigger, and I have since updated that graphic to be more like this as I couldn't see a justification for having a 4000+ passenger ship in the game at 1850! If anyone knows the scale of the FISH ships I could have a go at resizing to fit.

On a similar note, I am now using a cargo scale of 10% actual based on the largest FISH ship carrying about 1000t compared to the capacity of some of the real life equivelents' 10000t It seemed silly giving the clipper a capacity of 1700t!
ZxBiohazardZx wrote:for me its just a box with sails on it, the sails are improving, but instead of white i suggest using a very light yellow color, because no canvas in the world is ever bright white...
Agreed - It's a learning process and you should see further improvements as time goes on. Thanks for the tip, I will try it out.
Eddi wrote: Note: the further you deviate from an 8 pixel height, the more likely it is that you get noticeable glitches on bridges.
That is a thinker - the relative height to length is very close to 1:1 for most tall ships and this makes keeping close to that size hard unless they are going to be really, really small. On the other hand, I sail 8m boats on rivers and still have to take the mast down to go under most normal road/rail bridges. It really isn't an option for a tall ship unless you use a lift up/swing bridge. I don't think this option is possible graphically. As it is, the boats planned for the set would be used harbour to harbour without going under any bridges (with the possible exceptions of Tower Bridge/London or Tyne Swing bridge/Newcastle upon Tyne). I realise it is not ideal!

I will probably put an updated file up sometime this week - some niggling code problems with SFX.
The early bird may catch the worm, but the second mouse gets the cheese.

Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: Erato and 9 guests