Loading/unloading penalty

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
popewiz
Engineer
Engineer
Posts: 52
Joined: 16 Nov 2009 20:08

Loading/unloading penalty

Post by popewiz »

The loading/unloading timing in relation to station size has often bothered me. In reality, it only really makes sense for freight yards (transfer stations), passenger stations, and deliveries to smaller, intown industry yards. For mines of all types, power stations, forests, oil refineries, etc. stations are generally short allowing the train to roll through with each section being unloaded/loaded as it passes through.

This picture demonstrates what I mean with an aerial view of the Scherer power plant in Georgia. The red line marks the length of the train, and the white line marks the station. As you can see the train is at least 7-8 times the length of the coal unloading platform.

Image

This image is a recreation of the same area in OTTD with the same marking lines for demonstration.

Image

So, my question, is how would I (or anyone else) go about eliminating the loading/unloading penalty? Is that possible with newgrfs, or would it require a patch?
oberhümer
Tycoon
Tycoon
Posts: 1283
Joined: 23 Oct 2009 19:35
Location: Here and there, sometime or another

Re: Loading/unloading penalty

Post by oberhümer »

It needs a patch. Don´t ask me for it though...and it probably wouldn´t be that easy.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---

--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Loading/unloading penalty

Post by Yexo »

neg wrote:It needs a patch.
Correct.
and it probably wouldn´t be that easy.
Incorrect.

Here you are. I'm not providing a binary and I don't want to include this in trunk. I should also say that this is untested.
Attachments
disable_extra-loadtime_r18724.diff
(655 Bytes) Downloaded 162 times
popewiz
Engineer
Engineer
Posts: 52
Joined: 16 Nov 2009 20:08

Re: Loading/unloading penalty

Post by popewiz »

Yexo wrote:
neg wrote:It needs a patch.
Correct.
and it probably wouldn´t be that easy.
Incorrect.

Here you are. I'm not providing a binary and I don't want to include this in trunk. I should also say that this is untested.
I sort of wanted to give it a crack myself, get acquainted with OTTD's structure, but that is certainly quicker. Thanks!

And yeah, I can understand not wanting this in trunk. For it to be included I would think a whole lot more work would be needed in setting up specific loading time functions for each type of industry/cargo and allowing it to be toggled on/off.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 12 guests