The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: dloddick on August 13, 2010, 07:33:00 am

Title: How does pay-for-total-distance work?
Post by: dloddick on August 13, 2010, 07:33:00 am
As I found this in config...

# three modes (default = 0)
# 1: the payment is only relative to the distance to next interchange, 2 to the trips destination (default 0 is distance since last stop)
pay_for_total_distance = 2

Actually I don't know how it works
I choose mode 2

and I found when vehicles arrive at some stops
it show negative income >> e.g. -$12.43

How does pay-for-total-distance work? (for mode 1 and 2)

Thanks  ;D
Title: Re: How does pay-for-total-distance work?
Post by: Zeno on August 13, 2010, 07:39:40 am
Well, let's imagine an example: You want to transport Coal from a mine in an island to the docks by truck, then from the docks to another island by ship; so the docks will be the interchange station, and the route will have two parts (truck trip and ship trip).

A) With value=1 both trips will get their own payment: the truck for the road trip, and the ship for the sea trip.
B) With value=2 only the ship will get the payment, but that payment will be for the whole trip; this way the truck will be always loosing money, but the ship will pay off for it.

It's only a way to divide the income, but overall the total income for the whole trip is always the same.
Title: Re: How does pay-for-total-distance work?
Post by: Fabio on August 13, 2010, 09:40:51 am
It's only a way to divide the income, but overall the total income for the whole trip is always the same.

Just out of curiosity:
The revenue IIRC is calculated by Manhattan distance between origin and destination.
Let's ****ume there are three stations:
A <--> B <--> C
with A being the origin, C the destination and B an interchange station.
With value=2 the revenue is based on A-C distance.
With value=1 i guess it should be A-B and B-C. Thus, if the three stations are not ona straight line, with value=1 the revenue should be higher, and this option could also make profitable hub-and-spoke systems.
Is it like this?
Title: Re: How does pay-for-total-distance work?
Post by: prissi on August 13, 2010, 11:28:34 am
Yes