Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Wed Mar 27, 2019 3:58 am

All times are UTC




Post new topic  Reply to topic  [ 30 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Sat Dec 06, 2003 9:45 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
passload.grf and mailload.grf
These are (currently) a pair of GRFs that speed up the loading and unloading of passengers and mail, although currently only from trains. You can specify a parameter after their file name in newgrf[w].cfg to change the speed from the initial 20 per tick.
Put them last in your newgrf.cfg to use them to make sure that they They have only been tested with the DB set and normal TT vehicles.

Changelog:
In version 0.22:
  • Fixed serious bug that made the ICE-TD available in 1920 and not when it should be.
  • Slight fix to compatibility when DB set not used.
In version 0.21:
  • Fixed very minor bug with descriptions and copyright information.
In version 0.2:
  • Added support for changing the speed of passenger loading and unloading in all DB set trains and carriages, including the Transrapid.
  • Added support for changing the speed of mail loading and unloading in DB set and standard TT trains.
  • Added support for TT monorail and maglev carriages.
  • Number of passengers/mail loaded/unloaded per tick can now be set as a parameter after the relevant file in newgrf.cfg. Default (if left blank) is 20 units per tick.
In version 0.1:
  • Set speed of loading and unloading of passengers to 20 per tick.
allload.grf
This GRF speeds up loading of all cargos in all types of trains and train wagons. Simply place it at the end of your newgrf[w].cfg file (but above passload and mailload) and, by default, all cargo will load and unload at a rate of 60 units per tick (so just about all cargos will load and unload as close to instantly as possible). If you want to change the amount loaded per tick, add a space, then a number after the grf file name and all cargos will load at this speed per tick.

Changelog:
In version 0.50:
  • Changed default setting to 60 units loaded/unloaded per tick.
  • Added optional parameter to change loading speed from this amount.
In version 0.12:
  • Fixed bugs with description and copyright information
In version 0.1:
  • Initial release: all cargo loads and unloads at a rate of 20 units per tick.

So, if you want to use all three GRFs to give you control over loading speeds, you can use:
Code:
allload.grf 20
passload.grf 50
mailload.grf 50
in your newgrf[w].cfg file to load passengers and mail at 50 per tick and everything else at 20 per tick.

If you find a bug or have a suggestion for improvement, please post it here.

All these files are released for totally free modification and reposting, although credits would definitely be appreciated.


Attachments:
File comment: Can be used to speed up mail loading and unloading.
mailload.grf [216 Bytes]
Downloaded 490 times
File comment: Can be used to speed up passenger loading and unloading.
passload.grf [347 Bytes]
Downloaded 468 times
File comment: Can be used to speed up loading and unloading of all cargo.
allload.grf [995 Bytes]
Downloaded 591 times

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Last edited by Oracle on Wed Jan 07, 2004 5:50 pm, edited 6 times in total.
Top
   
 Post subject:
PostPosted: Sun Dec 07, 2003 12:24 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 07, 2003 1:58 am
Posts: 11773
Location: Washington DC, USA
OK, I've been playing with it.

I take it that the trains are hard-coded so as to fully unload before they start reloading? In other words, all cars on the train have to be dead-empty before any of them start filling back up again?

Also, I thought that the game loaded and unloaded the train, per tick, at a rate of n * the number of cars in the train. The n was 5, now it's 30. But it seems like the train loads and unloads at 30 per tick regardless of train length. It's an improvement, no doubt about it, but I'm not quite sure that's what was supposed to happen.


Top
   
 Post subject:
PostPosted: Sun Dec 14, 2003 4:48 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
krtaylor wrote:
I take it that the trains are hard-coded so as to fully unload before they start reloading? In other words, all cars on the train have to be dead-empty before any of them start filling back up again?

A car has to be empty before it can start loading again (i.e. a car can't unload and load in the same tick) but with my settings some will start loading before others have unloaded. It's probably due to that miscmods setting you said you use.

krtaylor wrote:
Also, I thought that the game loaded and unloaded the train, per tick, at a rate of n * the number of cars in the train. The n was 5, now it's 30. But it seems like the train loads and unloads at 30 per tick regardless of train length. It's an improvement, no doubt about it, but I'm not quite sure that's what was supposed to happen.

I tested it again, both with and without miscmods bit 3 but I didn't notice what you say. Each car loads or unloads at the rate set in the parameter (or at a total of n * cars in train per tick), but, as I said in another thread, I haven't tested it without a parameter.

I might have another go at re-integrating all the changes back into one GRF file if I have time.

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Top
   
 Post subject:
PostPosted: Sun Dec 14, 2003 6:20 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 07, 2003 1:58 am
Posts: 11773
Location: Washington DC, USA
Huh. I don't quite understand, I've played with your GRF files (no parameters) and with the miscmods setting, and I've not seen it handle each car individually. What I observe is, it handles each CARGO separately. So, if the mail cars all unload before the passenger cars all finish, then the mail cars can start loading while the passenger cars are still unloading, but I've never seen one train with some passenger cars loading while others are still unloading. Which is what I'd like to see. Maybe we need a small change in how that miscmods setting works? Who wrote that, Csaba?


Top
   
 Post subject:
PostPosted: Mon Dec 15, 2003 6:17 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Jan 21, 2003 2:49 pm
Posts: 1390
Location: My own home, Sc
how about one for dry bulk goods.. ie: anything that uses a hopper. these would all be gravity loaded in real life.. it should take longer to load livestock than it does to load grain

_________________
"The penalty good men pay for indifference to public affairs is to be ruled by evil men."


Top
   
 Post subject:
PostPosted: Tue Dec 16, 2003 1:01 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Oct 02, 2002 6:57 pm
Posts: 5552
Location: Ithaca, New York
krtaylor wrote:
Huh. I don't quite understand, I've played with your GRF files (no parameters) and with the miscmods setting, and I've not seen it handle each car individually. What I observe is, it handles each CARGO separately. So, if the mail cars all unload before the passenger cars all finish, then the mail cars can start loading while the passenger cars are still unloading, but I've never seen one train with some passenger cars loading while others are still unloading. Which is what I'd like to see. Maybe we need a small change in how that miscmods setting works? Who wrote that, Csaba?


You seem to not be using the miscmods setting correctly. Try turning off all other miscmods, and set either
Code:
miscmods 8
or
Code:
miscmods 0
.

The first one will load and unload wagons starting at the front of the train, moving n*m amount of cargo in each tick, where n is the number of wagons, and m is the amount-per-tick-per-wagon, normally 5.

The second one will load and unload all wagons simultaneously, loading or unloading m amount of cargo per wagon per tick. In this setting, if wagons are done unloading, they'll start loading before other wagons are done unloading.


Top
   
 Post subject:
PostPosted: Tue Dec 16, 2003 1:14 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 07, 2003 1:58 am
Posts: 11773
Location: Washington DC, USA
Now that might actually be the trouble. I've never really understood how the bit-switches work (and YES I read the manual, twice.) Right now my miscmods is:

miscmods #10100001000

noting that the 8th position is a one. I'll try it as

miscmods 8

like you say.


Top
   
 Post subject:
PostPosted: Tue Dec 16, 2003 1:23 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Wed Oct 02, 2002 6:57 pm
Posts: 5552
Location: Ithaca, New York
That should be fine actually, but have you tried with a zero there too?


Top
   
 Post subject:
PostPosted: Tue Dec 16, 2003 1:33 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 07, 2003 1:58 am
Posts: 11773
Location: Washington DC, USA
No I haven't, I can try that if you like, but that isn't the behavior I want - I LIKE the traincars loading one at a time rather than all at once, it's more realistic.

You know something that would be really useful, would be to have a screen somewhere with a table showing what each of the bits do for miscmods at any given time. I know they are explained in a list, but with a table it would be easy to see what should be 0s and what should be 1s.

Or the TTDXC could make them all checkboxes, that'd be nice too...


Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 4:24 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jan 09, 2003 8:37 am
Posts: 13749
ehm, I think somthinf is incorrect
let's see what is shown when I press FILE INFO button in Graphic Manager ...
Description of passload.grf is totally messed up,
mailload.grf shows in description: ved.
I think passload.grf needs to be fixed

edited: allload.grf is also broken ....

hmm ... it is either Graphic Manager error or those files, but it never happen, only those two files

_________________
what are you looking at? it's a signature!


Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 7:57 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
What exactly do you mean? (i.e. what is the error/what shows incorrectly?)
Could it be because there are no 'real' sprites at all in any of those files (but then mailload.grf wouldn't work either :?)
I'll install Graphics Manager when I get back home after Christmas (this isn't my computer) and have a look, but I really don't know what could be the problem. They're legitimate GRF files and both work as intended, so I haven't got a clue.

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 8:31 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jan 09, 2003 8:37 am
Posts: 13749
some signs are not visible: (descirption can change sometimes, it does not always loks the same)

Code:
File name: allload.grf
Modified: 2003-12-22 17:16:40

GRF Version: 4
GRF ID: 54570003
Info: Fast loading of all goods v0.10 16/12/2003 ©2003 by Thomas Walton.  All rights reserved.
»H
Description: dő

Total Sprites: 20
    Normal Sprites: 0
    Pseudo Sprites: 20

passload looks the same ... maiload in Description has got only text: 'ved.'

_________________
what are you looking at? it's a signature!


Last edited by SHADOW-XIII on Wed Dec 24, 2003 1:18 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 8:41 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
I think I only zero-terminated the whole thing, not each section of the Action 8 individually.
Will fix it right now if that's the problem, but mailload.grf should therefore give errors too....

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 8:56 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
Update:
I've updated these two files and allload.grf in their original posts. From reading newgrf.txt I should have zero-terminated each of the two strings so sorry for that, Shadow.
It should work now. Test them for me if you can, please.
Thanks.

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 9:28 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun May 04, 2003 11:00 am
Posts: 2720
Location: Torquay, England
SHADOW-XIII wrote:
some signs are not visible: (descirption can change sometimes, it does not always loks the same)

Code:
File name: allload.grf
Modified: 2003-12-22 17:16:40

GRF Version: 4
GRF ID: 54570003
Info: Fast loading of all goods v0.10 16/12/2003 ©2003 by Thomas Walton.  All rights reserved.
»H
Description: dő

Total Sprites: 20
    Normal Sprites: 0
    Pseudo Sprites: 20

passload looks the same ... maiload in Description has got only text: 'ved.'


Don't break the tables!

_________________
<!-- End Of Post !-->
Image


Last edited by BobXP on Tue Dec 23, 2003 11:04 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 9:54 pm 
Offline
Administrator
Administrator
User avatar

Joined: Fri Jan 26, 2001 8:18 pm
Posts: 23932
Skype: orudge
Location: Banchory, UK
Don't shout. That's not the first time I've seen you do that. Next time, I may end up taking action.

_________________
Owen Rudge
owenrudge.net | Owen's Transport Tycoon Station | Owen's Locomotion Depot | The Transport Tycoon Wiki


Top
   
 Post subject:
PostPosted: Tue Dec 23, 2003 11:04 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun May 04, 2003 11:00 am
Posts: 2720
Location: Torquay, England
Sorry, but it really is annoying. Even with a 1280x960 resolution.

_________________
<!-- End Of Post !-->

Image


Top
   
 Post subject:
PostPosted: Wed Dec 24, 2003 1:19 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Jan 09, 2003 8:37 am
Posts: 13749
you could ask about that ... as you see there was no problem to change that ...

Oracle now it works fine but allload.grf :wink:

_________________
what are you looking at? it's a signature!


Top
   
 Post subject:
PostPosted: Wed Dec 24, 2003 10:59 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
Stupid me...
allload.grf didn't have any zero-termination on those strings before, and after changing that last night it only had one...
It should be fixed now, and uploaded again in the original topic.
Passload.grf should also be uploaded now with a slightly modified version but I don't think this will fix the bug with the ICE-TD.

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Top
   
 Post subject:
PostPosted: Sat Dec 27, 2003 7:40 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu May 22, 2003 9:59 am
Posts: 2138
Updated with new version, which fixes the ICE-TD bug.
Please check top post for details.

_________________
US Train Set v0.87.1 now released: viewtopic.php?t=8754
Don't forget to read the manual: http://wiki.ttdpatch.net/tiki-index.php?page=Manual


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 30 posts ]  Go to page 1 2 Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2019 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2019.
Hosted by Zernebok Hosting.