Destination
Revision as of 16:34, 21 December 2022 by Hannibal (talk | contribs) (Created page with "The destination is where pax in the game want to go to. Upon spawning, pax pick a destination, and upon reaching their destination, pax will despawn. Pax will use pax pathfinding logic to try and find the best route ("dominating trip") to their destination. The destination picking process can be seen in three steps # Consider the list of all possible stations within the pax' distance category. This uses the "as the crow flies" distance, without...")
The destination is where pax in the game want to go to. Upon spawning, pax pick a destination, and upon reaching their destination, pax will despawn. Pax will use pax pathfinding logic to try and find the best route ("dominating trip") to their destination.
The destination picking process can be seen in three steps
- Consider the list of all possible stations within the pax' distance category. This uses the "as the crow flies" distance, without accounting for actual railway routes or the presence of mountains, oceans, etc.
- Local: 0 to 15km
- Regional 15km to 100km
- Long distance More than 100km.
- Probability weight each possible destination station by the destination coverage and the number of unique lines stopping there. The precise maths for this are not disclosed.
- The number of unique lines effect appears to be roughly linear: stations with the same coverage but twice the number of lines will see twice the number of passengers picking it as destination.
- Coverage appears to have a nonlinear impact, with stations that have very low coverage still attracting a "default" level of destinations.
- Pick a random station from the weighted list of possible stations.