Orders patch - percentile and FIFO loading, cargo display...

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

the load 90% means it will sit in the station loading up and only leave if it has ATLEAST 90% cargo right? meaning, it can have anywhere between 90% and 100% cargo? because thats what i'm sure its suposed to do.

unload to 40% sounds good too.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

bobingabout wrote:the load 90% means it will sit in the station loading up and only leave if it has ATLEAST 90% cargo right? meaning, it can have anywhere between 90% and 100% cargo? because thats what i'm sure its suposed to do.

unload to 40% sounds good too.
Right :)

if you want exact 90% load use the exact button (only works if anything between 0% and 100% is selected)
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

small update :)
this version includes load based on cargo or train
Attachments
additional_orders_r4896.diff
(49.98 KiB) Downloaded 381 times
User avatar
Thief^
Route Supervisor
Route Supervisor
Posts: 469
Joined: 10 Oct 2004 00:11

Post by Thief^ »

gigajum wrote:small update :)
this version includes load based on cargo or train
I thought openttd already had that option? Configure patches -> stations -> #2: leave station if any cargo is full, even if full load
Melt with the Shadows,
Embrace your destiny...
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

Thief^ wrote:
gigajum wrote:small update :)
this version includes load based on cargo or train
I thought openttd already had that option? Configure patches -> stations -> #2: leave station if any cargo is full, even if full load
Yeah but that is a global option, but that one is selectable about the order system.
User avatar
Thief^
Route Supervisor
Route Supervisor
Posts: 469
Joined: 10 Oct 2004 00:11

Post by Thief^ »

gigajum wrote: Yeah but that is a global option, but that one is selectable about the order system.
Do you mean you can set it individually for each order?
Melt with the Shadows,
Embrace your destiny...
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

right
mauddib
Engineer
Engineer
Posts: 15
Joined: 30 Oct 2004 12:08
Location: Netherlands
Contact:

Re: Orders patch - percentile and FIFO loading, cargo displa

Post by mauddib »

gigajum wrote:Implemented and working, needs bugtesting:
* Possibly also a dont stop if no room option. (Im going to need a new window I think)
?( again, can someone explain those 2 ideas to me. If not they are done.
Its a very good idea actually! Have planes or busses not enter an airport/busstop when all loading bays are full. (Well, I hope this was his original idea. If it was not, well, it would be a good idea anyways)
Hi, I'm a signature virus! Please set me as your signature to help me spread! :)
Sebastiaan
Engineer
Engineer
Posts: 110
Joined: 20 Jun 2005 19:22
Location: Leuven, Belgium

Re: Orders patch - percentile and FIFO loading, cargo displa

Post by Sebastiaan »

mauddib wrote:Its a very good idea actually! Have planes or busses not enter an airport/busstop when all loading bays are full. (Well, I hope this was his original idea. If it was not, well, it would be a good idea anyways)
I would not like this as a passenger... but then.. we've got no destinations yet ;)
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Re: Orders patch - percentile and FIFO loading, cargo displa

Post by gigajum »

mauddib wrote:
gigajum wrote:Implemented and working, needs bugtesting:
* Possibly also a dont stop if no room option. (Im going to need a new window I think)
?( again, can someone explain those 2 ideas to me. If not they are done.
Its a very good idea actually! Have planes or busses not enter an airport/busstop when all loading bays are full. (Well, I hope this was his original idea. If it was not, well, it would be a good idea anyways)

Yeah and do what instead of driving into the station? Driving around in the world history without destination? Drive into a (not existing?) Depot? That's the question that i ask myself. :) Currently OpenTTD does not support through sidings. Maybe something to code too, but not in this patch IMO.
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

i tihnk its for a vehicle with like 40 orders, if they can't get into a station, instead of sitting around and waiting, it simply skips that station and moves onto the next.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

small bugfix:
now set percent to 100 if click full load

patch still in development
Attachments
addional_orders_r5168.diff
(50.11 KiB) Downloaded 401 times
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

new version:

I added min and max waiting times at station and leave if X vehicles are loading at station.
I also fixed some bugs reported in the miniIN thread.
Attachments
addional_orders_r5309.diff
(57.6 KiB) Downloaded 434 times
guest1029
Engineer
Engineer
Posts: 10
Joined: 08 Nov 2005 06:17

Post by guest1029 »

Wow thanks a lot for the min/max waiting times. I'll sure check it out when I get some free time. That should fix my traffic problems.
richk67
Tycoon
Tycoon
Posts: 2363
Joined: 05 Jun 2003 16:21
Location: Up North
Contact:

Post by richk67 »

Hi gigajum. Ive had a go at rearranging the orders gui. Its just the train gui - I havent touched the other guis.

Full info in the MiniIN thread here.
Attachments
Sadworth Transport, 5th Dec 1962.png
Sadworth Transport, 5th Dec 1962.png (69.66 KiB) Viewed 6369 times
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
User avatar
Rens2Sea
Engineer
Engineer
Posts: 109
Joined: 13 Sep 2004 10:22
Location: Holland
Contact:

Post by Rens2Sea »

Got an idea, look at the image.

Train was going to station, noticed from the pre-signals "hey, station is full", then skips the station and goes to the checkpoint instead (optional).

Can this be possible?
Attachments
Train goes to checkpoint if station is full
Train goes to checkpoint if station is full
SkipStationIfFull.png (13.15 KiB) Viewed 6336 times
gigajum
Route Supervisor
Route Supervisor
Posts: 511
Joined: 08 Mar 2006 08:33
Location: Germany

Post by gigajum »

Rens2Sea wrote:Got an idea, look at the image.

Train was going to station, noticed from the pre-signals "hey, station is full", then skips the station and goes to the checkpoint instead (optional).

Can this be possible?
Sure, but that has nothing to do with the orders. That has more to do with the signals. But if you only build a normal track beside the station the train drives that way, but he wants to reach the station, so he drives in a loop. But i have no real idea how to tell a train that he drives beside a full station and skip that order.
User avatar
honnza
Engineer
Engineer
Posts: 106
Joined: 21 Feb 2004 09:23
Location: Prague
Contact:

Post by honnza »

But i have no real idea how to tell a train that he drives beside a full station and skip that order.
Just make the waypoint part of the station.

The train tells himself: Hey, I can go to the Pityburg station, I'll go there.
Or it tells himself: Hey, I cannot reach the Pityburg station, while Pityburg waypoint is accessible. I'll go to the waypoint "platform".
Then it tells himself: Okay, I've got to Pityburg. What's the next order?
User avatar
graphics_master
Tycoon
Tycoon
Posts: 978
Joined: 28 May 2006 09:54

Post by graphics_master »

Hi

I have never understud how to install patches could someone send me the files and the .exe that has the patch working ?

Thanks in advance

Graphics _ Master
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

Use the MiniIN, it has this patch (and many others) included. Look at richk67’s sig. (about 4 posts up) for the download link.
Image
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 17 guests