News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

Fare system in version 101

Started by V813, March 15, 2009, 04:47:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

V813

Hi,

I've not played Simutrans for quite a few months. Just seen from this thread that version 101 has a new system for calculating fares. I did a bit of searching, but could not find how exactly the system works. Can anybody please tell more about the new system?

As I know, in the older versions (like 99.17.1), the player gets paid for every station a passenger reaches. The fare is based on the Manhattan distance (North-south distance + east-west distance) between the station and the previous one.

Also, were there any changes in the way that passengers choose their route? Thanks :)
V813
Simutrans newbie.

whoami

Quote from: V813 on March 15, 2009, 04:47:56 AM
version 101 has a new system for calculating fares. I did a bit of searching, but could not find how exactly the system works. Can anybody please tell more about the new system?
As I know, in the older versions (like 99.17.1), the player gets paid for every station a passenger reaches.
Exactly, and then it was changed to pay for the distance between transfer stops, and a few days later, this was made configurable in simuconf.tab:

# 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 = 0

For this configuration option, you need version 102. In the German forum, this thread contains five pictures, illustrating the settings' results. See also http://forum.simutrans.com/index.php?topic=1518.0 and http://forum.simutrans.com/index.php?topic=1608.0.

QuoteAlso, were there any changes in the way that passengers choose their route?
Changes to routing are still being discussed in great length here, but some changes have been implemented.

Available in version 102:
# things to overcrowded destinations won't load if active (default off)
avoid_overcrowding = 0


Available in recent nightly builds:
no_routing_over_overcrowded = 1

z9999

Line 1 (bus) A-B-C
Line 2 (train) C-D-E

If people trip from A to E via C.

pay_for_total_distance = 0
They pay for A-B, B-C, C-D, D-E
pay_for_total_distance = 1
They pay for A-C C-E
pay_for_total_distance = 2
They pay for A-E

colonyan

z9999, very nice graphical explanation. :)
Its very clear.

whoami

#4
As V813 already wrote, the "Manhattan distance" is used (this is because the cost are also calculated tile-wise). The arrows in those three pictures don't show this aspect.

As the routing doesn't use cost or travelling time (yet), passengers may take long detours, but don't pay for the costs that they cause thereby (with pay_for_total_distance set to 1 or 2). Therefore, Pak-set balacing may not allow to use these settings.

V813

V813
Simutrans newbie.