[FRDF] Load/unload orders

Development discussion about Transport Empire. Other discussion to General forum please.

Moderator: Transport Empire Moderators

User avatar
jfs
Tycoon
Tycoon
Posts: 1749
Joined: 08 Jan 2003 23:09
Location: Denmark

[FRDF] Load/unload orders

Post by jfs »

Please stay on topic
Gameplay FRD wrote:Cargo in general can be (un)loaded in different ways. You can specify one of the following (un)loading instructions in a vehicles routing table:

- Load; Forces a vehicle to wait until it is loaded 100% of it's capacity. Be aware when mixing different cargo types, the train might wait forever to receive a cargo type not offered at this station.
- Unload; Forces a vehicle to unload all of it's cargo on the current station without receiving any pay for it.
- Halfload; Let the vehicle move on when 50% of the vehicle's full capacity is filled.
- OneTypeLoad; Wait for any one type of cargo to be filled.
- TwoTypeLoad; Wait for any two types of cargo to be filled.
(ThreeTypeLoad is unlikely to be usefull and therefor we stop at 2 type load)
- Auto (default behavior); A vehicle will (un)load whatever cargo it has/is waiting at the station and move on.

A general timer can be set per vehicle. This forces the vehicle to continue no matter how much cargo is (un)loaded.

From the Design Document:

* Load X of cargo Y - load X cars with cargo named Y
* Unload X of cargo Y - unload X cars with cargo named Y
Why such a limited choice of loading options? And why only one load/unload order per destination-order?

I suggest having the following kinds of load/unload orders that can be applied in any number to a single destination-order. These can be ordered (If the order makes a difference.)
  • Load M/N'ths of all cargo
  • Unload M/N'ths of all cargo
  • Load M/N'ths of cargo X
  • Unload M/N'ths of cargo X
  • Load X carriages of cargo Y
  • Unload X carriages of cargo Y
Why use fractions rather than percentages? Because that's usualy what you want. Say you have 3 coal mines with rather low production, and they're far enough from each other, that they can't be "caught" from one station, but close enough that it's cheapest to make a single track that leads through them all. Then you want to load 1/3 of the train capacity at each mine.

The two first options adds all capacity together in a uniform way, and are satisfied when the M/N'ths of that capacity is filled. A slightly unrealistic example: A train is has a capacity of 80 passengers and 120 tonnes of coal. The total capacity of the train is 200. The train is set to load 1/4 of all cargo. This means it will leave as soon as it has any load where coal+passengers = 50, eg. just 50 passengers, just 50 coal, or maybe 25 coal and 25 passengers.

The last four options will of course only be available to vehicles that can transport more than one kind of cargo.
The last two options will only be available to vehicles that are composed of several units, eg. trains or lorries with trailers.
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Revolutionairy thinking here. Wouldn't players mind having to click 5x before they have their desired (un)load option? Or can you check the available (un)load options against the type of wagons/lorries attached? Your suggestion would create the possibilty to drive around with mixed trains with logic (un)loading options.
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

Hyronymus wrote:Wouldn't players mind having to click 5x before they have their desired (un)load option?
Not if you provide sensible default values, i.e.:

Click once on a button for full load/full unload of one cargo type.
Click on some other button to specify half/quarter/whatever load.
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Hehe, so instead of clicking 5x on a button you introduce 2 buttons ;). You don't fool me that easily. Perhaps a small prototype to show all possible combinations?
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

Percentages are easier for none-mathematical people. Or simply, load 5 wagons of stuff. If your not good at maths and want to know 2/3 of 18.. it may not be as simple as you think.

I agree that a prototype needs to be made, so we can see that your system can be kept simple and user friendly.
User avatar
jfs
Tycoon
Tycoon
Posts: 1749
Joined: 08 Jan 2003 23:09
Location: Denmark

Post by jfs »

Forgot one option:
:arrow: Load as much as possible in X days
(This will mostly be useful for passenger trains on less "active" stations, I think.)
User avatar
PJayTycy
Route Supervisor
Route Supervisor
Posts: 429
Joined: 09 Mar 2004 20:30

Post by PJayTycy »

I have simpeler sollution (I think)

Just add simple orders for each wagon. If you want your 3* coal example:

1) Buy a train with 6 coal wagons
2) Add coal mine 1, 2, 3 and steel mill to the schedule
3) Set 2 coal wagons to full load at mine 1
4) Set 2 coal wagons to full load at mine 2
5) Set 2 coal wagons to full load at mine 3
6) Set all coal wagons to unload at steelmill.

If you set no specific load/unload order for a wagon, the setting for that wagon from the previous station should carry over automaticly.

The problem with this approach is : you can't set orders independent of cargo type (ie : a mixed wood and coal train, you can't say start when loaded 60%, no matter what cargo).

Another thing, we might want to "synchronize" different trains on 1 route. It's frustrating to have 5 trains that service a long route, but instead of nicely spread, they alwyas end up travelling very close to each other, and then leaving a big gap.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Post by Zuu »

PJayTycy wrote:Another thing, we might want to "synchronize" different trains on 1 route. It's frustrating to have 5 trains that service a long route, but instead of nicely spread, they alwyas end up travelling very close to each other, and then leaving a big gap.
How would you do that? By driving some of them slower, or waiting some extra at a station?
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

This is OT, let's focus on the differences between Pjaytycy's suggestion and the previous made points.
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Post by Zuu »

PJayTycy wrote:I have simpeler sollution (I think)

Just add simple orders for each wagon. If you want your 3* coal example:

1) Buy a train with 6 coal wagons
2) Add coal mine 1, 2, 3 and steel mill to the schedule
3) Set 2 coal wagons to full load at mine 1
4) Set 2 coal wagons to full load at mine 2
5) Set 2 coal wagons to full load at mine 3
6) Set all coal wagons to unload at steelmill.

The problem with this approach is : you can't set orders independent of cargo type (ie : a mixed wood and coal train, you can't say start when loaded 60%, no matter what cargo).
Perhaps your soulution can be an option in jfs soulution. Ie that you can give the jfs' options or an option, called specify per wagon.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

Meeting Decisions:

Decided that there was no need to discuss it throughly in the meeting.
Simply agreed on the use of them.

Status: Open to discussion.
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Steve wrote:Meeting Decisions:

Decided that there was no need to discuss it throughly in the meeting.
Simply agreed on the use of them.

Status: Open to discussion.
Now would be a good time to work it out. I like the initial proposal by jfs very much and I think it can me made simple by using 1 drop-down menu for all load options.
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

Funny, I was looking at through old RFDs and I also came across this, nice that you bring it up about 1 hour later ;).
I would suggest that you can adjust how far a train can load for each cargo type. So you'll get: Load X% of Y. I also think we also could do the same for unloading orders. You could drop coal from one coal mine to a power station and a steel mill this way, so they both produce a bit.
We could also imply a maximum/minimum wait time, this will overrule the load settings

Quite OT but I'll post it anyway.
It would also be nice if orders would look something like this:

Code: Select all

o Goto station A
  - Load X% of Y
  - Load U% of V
  - Wait max Z days
o Goto station B
  - Load X% of Y
  - Unload V
  - Wait C to D days
-- All the other orders --
This would allow a collapsable orders structure, you can just show all the goto orders, and expand one of the orders to see which types of cargo are loaded and other more advanced orders. The one thing I didn't like about TT is that all the order things are at the same line, which can get quite messy at times.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

I like your suggestions too, Xeryus. And (again) with a proper GUI you could make it very comprehensive.
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

Hyronymus wrote:And (again) with a proper GUI you could make it very comprehensive.
Yes, a good GUI is very important, it's the players portal to the game :).
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

GUI try:
Attachments
vehicleorders-guiconcept.png
vehicleorders-guiconcept.png (11.64 KiB) Viewed 6063 times
vehicleorders-guiconcept.xls
(15.5 KiB) Downloaded 563 times
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
m4rek
Chairman
Chairman
Posts: 801
Joined: 03 Sep 2006 08:06
Location: Plymouth, England

Post by m4rek »

i kinda prefer the give each wagon an order option
Toyland isn't a climate, it's a mistake.
Everyone has a photographic memory - Some just don't have film
No matter how hard life gets, remember there is always light at the end of the tunnel. Let's just hope it's not a train.
User avatar
m3henry
Tycoon
Tycoon
Posts: 1985
Joined: 15 Feb 2006 12:00
Location: Hampshire

Post by m3henry »

M4rek wrote:i kinda prefer the give each wagon an order option
that would take all day!
for that a simple solution is to have a drag-over-box-to-show-cargo-in-each-wagon-thingumybob
or
sliders
The occasional look back at your past can teach you a great many things...
m4rek
Chairman
Chairman
Posts: 801
Joined: 03 Sep 2006 08:06
Location: Plymouth, England

Post by m4rek »

ok, you give 1 set of orders to the loco, these then appear in the give wagon order box. you then give each wagon its order at each of the train's stops. you also have a give all wagons same order function and give x wagons same order.

hows that?
Toyland isn't a climate, it's a mistake.
Everyone has a photographic memory - Some just don't have film
No matter how hard life gets, remember there is always light at the end of the tunnel. Let's just hope it's not a train.
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Post by XeryusTC »

I'd be happier if you could just say "Load 3 wagons full with X" than giving each wagon its own orders, that's a big dent to gameplay IMO.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
Locked

Return to “Transport Empire Development”

Who is online

Users browsing this forum: No registered users and 0 guests