News:

Simutrans Chat Room
Where cool people of Simutrans can meet up.

[nightly] Default value of loading_time for older paks

Started by z9999+, November 03, 2013, 07:55:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999+

In vehikel_besch.h: loading_time = 1000;
In vehikel_writer.cc: uint16 loading_time = obj.get_int("loading_time", 1000 );

but...

In vehikel_reader.cc: if(version<9) { besch->loading_time = 1800; }

Why default value of loading_time for older paks is different ?

prissi


z9999+

Thank you.

So, by default, if 10 coach train unload full capacity passenger and load full capacity passenger in one step, wait_lock will be 10*(1000ms+1000ms)=20sec. It was always 2sec in previous versions.
Is this correct ?

prissi

Yes, that is true. One my change it for the longest time of a single car, if this is preferred. Any input is welcomed.

kierongreen

I would say go for single longest time rather than total. Just because a train is twice as long doesn't mean it takes twice as long to load.

prissi

Any goods train will take twice as long for unlaoding with the double number of cars, though.

kierongreen

Would it be overly complicated for players if passenger trains behaved differently from goods?

prissi

No, but confusing. One should rather set the time accordingly for passenger trains.

Ters

Quote from: prissi on November 14, 2013, 09:08:07 PM
Any goods train will take twice as long for unlaoding with the double number of cars, though.
Really? It might, but that depends on the layout and equipment available at the loading/unloading site. Bulk trains are probably more linear in how (un)loading time scales with length, but intermodal trains can have a constant (un)loading if they just put a corresponding number of cranes and/or reach stackers to work on it.

However, it's best not to overcomplicate things.