Page 1 of 1
Smoking ships
Posted: 27 Jun 2008 23:32
by kettel
Is there any way to make ships emit smoke like trains do?
Asking this I keep in mind Osprey and Chinook from the
Planeset; those obviously have custom graphics of their double rotors, so I guess it's possible to apply some kind of animation (as long as you have one) on a (any?) vehicle.
I understand it's not easy to code and nobody's gonna explain the whole process to me, but at least tell me if it's possible at all and if yes what should I start with or where I can read about it?
P.S. I've found
this old thread about smoking ships, but it was dead for about 5 years and didn't contain anything on this matter.
Re: Smoking ships
Posted: 28 Jun 2008 00:29
by Lakie
Planes unlike ships have 2 'vehicles', the plane itself and the shadow. Ships however only have one vehicle, the ship, so using the same system as the planeset would not work (at all really).
~ Lakie
Re: Smoking ships
Posted: 28 Jun 2008 05:38
by michael blunck
kettel wrote:Is there any way to make ships emit smoke like trains do?
Not like trains do, but in principle yes.
regards
Michael
Re: Smoking ships
Posted: 28 Jun 2008 10:40
by kettel
michael blunck wrote:kettel wrote:Is there any way to make ships emit smoke like trains do?
Not like trains do, but in principle yes.
I knew it!
Can you give me a hint on how to make it? Or at least what to start with?
Re: Smoking ships
Posted: 28 Jun 2008 11:10
by michael blunck
kettel wrote:Can you give me a hint on how to make it?
Well, the only way to do it would be by a very simple approach: to have a couple of different sprites containing
both the vessel and the smoke, and to show these sprites according to the animation counter:
Code: Select all
// [8 "ship+smoke" sprites]
-1 * 13 02 02 00 01 01 00 00 00 00
-1 * 13 02 02 01 01 01 01 00 01 00
-1 * 13 02 02 02 01 01 02 00 02 00
-1 * 13 02 02 03 01 01 03 00 03 00
-1 * 13 02 02 04 01 01 04 00 04 00
-1 * 13 02 02 05 01 01 05 00 05 00
-1 * 13 02 02 06 01 01 06 00 06 00
-1 * 13 02 02 07 01 01 07 00 07 00
// animation
-1 * 38 02 02 08 81 0A 00 0F 07
00 00 00 00
01 00 01 01
02 00 02 02
03 00 03 03
04 00 04 04
05 00 05 05
06 00 06 06
07 00
-1 * 7 03 02 01 <veh-ID> 00 08 00
I´ve tested that
years ago, but found the result unsuitable.
HTH
regards
Michael
Re: Smoking ships
Posted: 28 Jun 2008 19:46
by kettel
michael blunck wrote:I´ve tested that years ago, but found the result unsuitable.
I agree it's not very efficient approach, but thanks for the idea!