NewGRF Aircraft Cargo Capacities Patch (GRF callback 15)
Moderator: OpenTTD Developers
NewGRF Aircraft Cargo Capacities Patch (GRF callback 15)
This patch implements newGRF callback 15 for aircraft. It is intended to be used with my Planeset patch (link in sig.). It enables the correct cargo capacities for Planeset freight aircraft. The Ruslan in particular is now much more usable . It also ensures that the Ruslan is built carrying coal instead of passengers.
There is one known problem, the Ruslan shows the incorrect cargo capacity in the purchase window (37 tonnes of coal should be 150 tonnes). The problem is due to a workaround in Planeset of a TTDPatch bug,. For more info see here. DaleStan has said he will correct this in the next release of Planeset.
Thanks to peter1138 for his improvements to GRF support over to last few days, making this patch possible.
If you want to try this patch you will also need to add the Planeset patch - it won't do much otherwise! I have posted a win32 exe compiled with both patches, but I think we need to persuade Richk67 to add this to the next miniIN.
Edit: Patch removed as it's now in the trunk 09/06/06
Edit: win32 exe removed as it was well out-of-date 23/06/06. An exe with the latest Planeset 1.5 patch (and others) is here
There is one known problem, the Ruslan shows the incorrect cargo capacity in the purchase window (37 tonnes of coal should be 150 tonnes). The problem is due to a workaround in Planeset of a TTDPatch bug,. For more info see here. DaleStan has said he will correct this in the next release of Planeset.
Thanks to peter1138 for his improvements to GRF support over to last few days, making this patch possible.
If you want to try this patch you will also need to add the Planeset patch - it won't do much otherwise! I have posted a win32 exe compiled with both patches, but I think we need to persuade Richk67 to add this to the next miniIN.
Edit: Patch removed as it's now in the trunk 09/06/06
Edit: win32 exe removed as it was well out-of-date 23/06/06. An exe with the latest Planeset 1.5 patch (and others) is here
- Attachments
-
- Planeset Test, 18th Jan 2011.png (60.43 KiB) Viewed 11216 times
Last edited by mart3p on 25 Jun 2006 23:41, edited 3 times in total.
Still no replies to this topic? Oh well, at least no one has found any bugs.
This patch is now included in the Mini IN.
Patch updated against r5135. Removed some code that was a work-around for a bug that was fixed by peter1138 at r5087.
This patch is now included in the Mini IN.
Patch updated against r5135. Removed some code that was a work-around for a bug that was fixed by peter1138 at r5087.
- Born Acorn
- Tycoon
- Posts: 7595
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
mart3p, I have absolutely got confused in versions of game , where it is possible to take EXE a file of what version to check up teamwork callback 15 and callback 19 in Planeset and in my planes?mart3p wrote:Still no replies to this topic? Oh well, at least no one has found any bugs.
This patch is now included in the Mini IN.
Patch updated against r5135. Removed some code that was a work-around for a bug that was fixed by peter1138 at r5087.
Hi Grigory
Use either the exe in the zip file OTTD_for_Planeset_r4906PS+.zip (in the first post) or use the Mini IN. Both of these include my code for callbacks 15 and 19.
As both exes are now a little out of date I will post a new win32 exe in the next few days.
Use either the exe in the zip file OTTD_for_Planeset_r4906PS+.zip (in the first post) or use the Mini IN. Both of these include my code for callbacks 15 and 19.
As both exes are now a little out of date I will post a new win32 exe in the next few days.
Hi all. Just added Callback15 patch to the branch/MiniIN. Many thanks to mart3p for sending a MiniIN version.mart3p wrote:Hi Grigory
Use either the exe in the zip file OTTD_for_Planeset_r4906PS+.zip (in the first post) or use the Mini IN. Both of these include my code for callbacks 15 and 19.
As both exes are now a little out of date I will post a new win32 exe in the next few days.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Maybe not, but I think it should. That's probably why TTDPatch has the bug discussed here. I used callback 15 when building a new aircraft after discussing this with DaleStan.peter1138 wrote:Hmm, TTDPatch doesn't actually use Callback 15 when building a new aircraft...
Who is online
Users browsing this forum: No registered users and 3 guests