OpenTTD

Tasklist

FS#4124 - Ship class and liveries

Attached to Project: OpenTTD
Opened by Hirundo (Hirundo) - Tuesday, 14 September 2010, 20:40 GMT
Last edited by andythenorth (andythenorth) - Saturday, 05 August 2017, 19:28 GMT
Type Patch
Category NewGRF
Status Closed
Assigned To andythenorth (andythenorth)
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

patch applies to r20806

See also https://www.tt-forums.net/viewtopic.php?f=68&t=49733

The patch is made up of two parts. The first (0_shipclass.diff) adds a new ship property 0x1C 'ship class'. This is similar to train property 0x19. There are three possible values for this property: 0, 1, 2 corresponding to steam, diesel and sail, respectively. All default ships have this property set to 'diesel'

The second part of the patch (1_livery.diff) adds a number of new liveries to the 2cc colour selection window. Currently there are two liveries (passenger ferry / cargo ship) for ships, this patch splits each option in steam/diesel/sail making for a total of six choices. The livery that applies depends on the value of property 0x1C.

As a possible future extension, visual effects (smoke) could be added. This requires some more work to generalise the existing code so it becomes usable for ships.

This task depends upon

Closed by  andythenorth (andythenorth)
Saturday, 05 August 2017, 19:28 GMT
Reason for closing:  Won't implement
Additional comments about closing:  No longer relevant. Visual effects got done separately though ;)
Comment by andythenorth (andythenorth) - Tuesday, 14 September 2010, 20:42 GMT
Tested with r20806 and a modified version of FISH.
Comment by andythenorth (andythenorth) - Friday, 17 September 2010, 21:10 GMT
Large Passenger Ferry = Steam
Medium Passenger Ferry = Sail
All other ships default.

Loading...