Planeset patch (now supports Planeset 1.5)
Moderator: OpenTTD Developers
Aircraft consist of two or three vehicles (body, shadow, rotor)
At the time I wrote that, I was not aware that the shadow always used the body's variables, so I used type 82 to ensure that nothing broke in interesting ways.
Since then, I have learned that 81 and 82 are identical (as are their W/D cousins), even for the shadow, so I've gotten sloppy about the 81/82 distinction.
At the time I wrote that, I was not aware that the shadow always used the body's variables, so I used type 82 to ensure that nothing broke in interesting ways.
Since then, I have learned that 81 and 82 are identical (as are their W/D cousins), even for the shadow, so I've gotten sloppy about the 81/82 distinction.
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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Thanks DaleStan.
Now a large part of the Planeset patch has been added to the trunk, I thought I’d would give an update on what’s now in the trunk and what’s in the patch. The DBxx codes refer to DaleStan’s original bug list on the first page of this topic.
In the trunk.
1. Support for custom helicopter rotors (but not in vehicle gui windows - yet)
2. Mapping of OTTD aircraft movement states to TTDPatch aircraft movement states and actions (NewGRF action 2 vars E2 and E6). (DB3/4/8/9)
3. Aircraft Info property for correct display of Chinook cargo slings and when they appear/disappear on takeoff and landing (NewGRF action 2 var 44)
4. For GRF files, pretend to be the last alpha version of TTDPatch, this allows Planeset to load.
5. Correct operation of cargo doors when loading/unloading (DB2)
6. GUI window sprites update when refitting (DB6)
In the Planeset patch (for r4653 - see first post).
7. Correct display of helicopter rotors in gui windows (DB8).
8. Cargo Info property for correct selection of Chinook cargo sprites. Also used in cargo capacity calculations (NewGRF action 2 var. 47).
9. Planespeed switch setting - suppresses debug warning message
Fixed with my Aircraft Cargo Capacities patch.
10. Correct aircraft cargo capacities (NewGRF callback 15). (DB1a)
11. Ruslan is built carrying coal (not passengers). (DB5)
Outstanding unsupported features.
12. Cargo subtypes and livery refitting (NewGRF callback 19 and action 0 var. F2) (DB1b), but I'm working on it.
See the screenshot for a preview.
13. Sound effects - the airships sound like helicopters. (NewGRF callback 33) (DB1c). I might get around to looking at this, at least as far as making airships silent.
Now a large part of the Planeset patch has been added to the trunk, I thought I’d would give an update on what’s now in the trunk and what’s in the patch. The DBxx codes refer to DaleStan’s original bug list on the first page of this topic.
In the trunk.

1. Support for custom helicopter rotors (but not in vehicle gui windows - yet)
2. Mapping of OTTD aircraft movement states to TTDPatch aircraft movement states and actions (NewGRF action 2 vars E2 and E6). (DB3/4/8/9)
3. Aircraft Info property for correct display of Chinook cargo slings and when they appear/disappear on takeoff and landing (NewGRF action 2 var 44)
4. For GRF files, pretend to be the last alpha version of TTDPatch, this allows Planeset to load.
5. Correct operation of cargo doors when loading/unloading (DB2)
6. GUI window sprites update when refitting (DB6)
In the Planeset patch (for r4653 - see first post).
7. Correct display of helicopter rotors in gui windows (DB8).
8. Cargo Info property for correct selection of Chinook cargo sprites. Also used in cargo capacity calculations (NewGRF action 2 var. 47).
9. Planespeed switch setting - suppresses debug warning message
Fixed with my Aircraft Cargo Capacities patch.
10. Correct aircraft cargo capacities (NewGRF callback 15). (DB1a)
11. Ruslan is built carrying coal (not passengers). (DB5)
Outstanding unsupported features.
12. Cargo subtypes and livery refitting (NewGRF callback 19 and action 0 var. F2) (DB1b), but I'm working on it.

13. Sound effects - the airships sound like helicopters. (NewGRF callback 33) (DB1c). I might get around to looking at this, at least as far as making airships silent.
- Attachments
-
- Mart3p Transport, 3rd Feb 1998.png (40.59 KiB) Viewed 7986 times
Last edited by mart3p on 04 May 2006 22:14, edited 1 time in total.
Totally off-topic but what are those refit thingies there? Aren't they all passangers? Or what am I supposed to think when I see this?mart3p wrote:Outstanding unsupported features.
12. Cargo subtypes and livery refitting (NewGRF callback 19 and action 0 var. F2) (DB1b), but I'm working on it.See the screenshot for a preview.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
That's great, thanks.peter1138 wrote: I hope to get around to putting more of your stuff in tonight

For the trains they are all passengers but the GRF file adds a suffix to show the available liveries. Also note that in the aircraft refit window Planeset adds suffixes (liquid and solid) for just goods, again alternative graphics are used depending on the selection.Darkvater wrote: Totally off-topic but what are those refit thingies there? Aren't they all passangers? Or what am I supposed to think when I see this?
The trains are Born Acorn's IC125 v0.5 available here.
Today, peter1138 added support for NewGRF action 2 var42. This isn't used by Planeset but I can now use the cargo class constants that peter1138 has defined, for var. 47, which is implemented by my patch.
A new version of the Planeset patch against r4867 has been added to the first post.
If you are using the Planeset patch I would recommend also using the aircraft callback 15 patch and the cargo subtypes patch. To make it easier to apply all 3 patches I have combined them in a “Planeset Combo” patch, available in the first post.
A new version of the Planeset patch against r4867 has been added to the first post.
If you are using the Planeset patch I would recommend also using the aircraft callback 15 patch and the cargo subtypes patch. To make it easier to apply all 3 patches I have combined them in a “Planeset Combo” patch, available in the first post.
you need the grf
Formerly known as r0b0t_b0y2003, robotboy, roboboy and beclawat. The best place to get the most recent nightly builds of TTDPatch is: http://roboboy.users.tt-forums.net/TTDPatch/nightlies/
You download it (1.2, not the OTTD version) and read the README.
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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Honestly, for somebody who just started playing this game, it's not that easy. If you download the TTD version, you get a readme that tells you Planeset doesn't work with OpenTTD. If you download the OpenTTD version, you get installation instructions that explain how to install the patch in TTD. Both install guides mention one file - planesetw.grf. Not only is there no planesetw.grf file in the OTTD install, there's 7 other files sitting in here that it doesn't mention. Copy to newgrf folder? Edit newgrf.cfg? Edit ttdpatch.cfg? And these are the install instructions for OTTDDaleStan wrote:You download it (1.2, not the OTTD version) and read the README.


Which it doesn't. The MiniIN is not OpenTTD.Mets wrote:Honestly, for somebody who just started playing this game, it's not that easy. If you download the TTD version, you get a readme that tells you Planeset doesn't work with OpenTTD.
... which I believe I told you not to do.Mets wrote:If you download the OpenTTD version,
But you're right. Once the OpenTTD trunk supports the PlaneSet, I'll make sure the README reflects that, and contains the relevant information.
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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
Planeset 1.5 was released today .
You can get it from the TTDPatch Graphics forum in the Planeset topic.
I have updated the Planeset patch (in the first post) to support the new features of Planeset 1.5.
Updates to the patch include:
1. Support for NewGRF action 2 variable 0x48 - Vehicle type info.
2. Support for NewGRF action 2 variable 0x7F in the purchase list - Read GRF parameter.
3. Support for "Include" strings in NewGRF texts (using formatting code 0x81).
My NewGRF Livery Selection/Cargo Subtypes patch is also required for Planeset 1.5 if you want to use the alternative liveries. A Planeset 1.5 Combo patch is also in the first post, this contains both patches.
I will post a win32 exe later.

I have updated the Planeset patch (in the first post) to support the new features of Planeset 1.5.
Updates to the patch include:
1. Support for NewGRF action 2 variable 0x48 - Vehicle type info.
2. Support for NewGRF action 2 variable 0x7F in the purchase list - Read GRF parameter.
3. Support for "Include" strings in NewGRF texts (using formatting code 0x81).
My NewGRF Livery Selection/Cargo Subtypes patch is also required for Planeset 1.5 if you want to use the alternative liveries. A Planeset 1.5 Combo patch is also in the first post, this contains both patches.
I will post a win32 exe later.
- Attachments
-
- Planeset Test, 10th Dec 2011.png (78.76 KiB) Viewed 6939 times
peter1138 wrote:/me whistles innocently...

Here is a win 32 exe for Planeset 1.5
Known bug: Planeset 1.5 has support for new cargoes. There is a small problem with this, the cargo translation table re-maps cargo id 1 (which is normally coal) to tourists. This means that some aircraft get passenger liveries (rather that cargo liveries) when refitted to coal.
- Attachments
-
- OTTD-Planeset1_5_r5334PS.zip
- (1.27 MiB) Downloaded 283 times
Here is an update on the status of the Planeset patch now that all of the original Planeset 1.2 patch is in the trunk.
In the trunk for Planeset 1.5.
1. Support for vehicle type info. (NewGRF action 2 variable 0x48)
2. Support for reading GRF parameters for unbuilt vehicles. (NewGRF action 2 variable 0x7F )
In my Planeset 1.5 patch (against r5350 - see first post).
3. Support for "Include" strings in NewGRF texts (using formatting code 0x81).
4. New: Now that richk67's new airports are in the trunk I have added a fix that allows the Bell Osprey to be build in Helidepots and Helistations.
Fixed with my Livery Selection\Cargo Subtypes patch.
5. Selection of alternative company liveries for aircraft. Cargo subtypes are also used by Planeset to display different cargo slings for the Chinook helicopter when carrying goods.
Outstanding unsupported features.
6. Sound effects - the airships sound like helicopters. (NewGRF callback 33).
7. New cargoes - incorrect liveries for some aircraft when carrying coal.
Belugas has started work on new cargoes in the SVN newgrf_lab branch. Again, we'll just have to wait.
8. UTF-8 texts- Planeset 1.5 can display the company livery names of Russian planes in Russian using Cyrillic text. I have got this working (see screenshot) using peter1138's utf8 branch. Another one to look forward to (especially for Grigory1
)
In the trunk for Planeset 1.5.
1. Support for vehicle type info. (NewGRF action 2 variable 0x48)
2. Support for reading GRF parameters for unbuilt vehicles. (NewGRF action 2 variable 0x7F )
In my Planeset 1.5 patch (against r5350 - see first post).
3. Support for "Include" strings in NewGRF texts (using formatting code 0x81).
4. New: Now that richk67's new airports are in the trunk I have added a fix that allows the Bell Osprey to be build in Helidepots and Helistations.
Fixed with my Livery Selection\Cargo Subtypes patch.
5. Selection of alternative company liveries for aircraft. Cargo subtypes are also used by Planeset to display different cargo slings for the Chinook helicopter when carrying goods.
Outstanding unsupported features.
6. Sound effects - the airships sound like helicopters. (NewGRF callback 33).
We'll just have to wait.peter1138 wrote:Sound effects I have already sorted. It just needs to be committed

7. New cargoes - incorrect liveries for some aircraft when carrying coal.
Belugas has started work on new cargoes in the SVN newgrf_lab branch. Again, we'll just have to wait.
8. UTF-8 texts- Planeset 1.5 can display the company livery names of Russian planes in Russian using Cyrillic text. I have got this working (see screenshot) using peter1138's utf8 branch. Another one to look forward to (especially for Grigory1

- Attachments
-
- Sanbridge Transport, 4th Feb 2001.png (57.64 KiB) Viewed 7961 times
Who is online
Users browsing this forum: No registered users and 4 guests