Cities: Skylines

Cities: Skylines

447 valoraciones
Adjust Pathfinding
   
Premio
Favoritos
Favorito
Quitar
Mod
Tamaño
Publicado el
Actualizado el
318.976 KB
9 AGO 2019 a las 5:10 a. m.
22 FEB 2020 a las 1:06 p. m.
4 notas sobre cambios ( ver )

Suscríbete para descargar
Adjust Pathfinding

Descripción
Warnining! Advanced/experimental!

Please report any bugs or odd behavior!

This mod allows you to change behavior of in-game traffic. You can make vehicles avoid specified segments and redistribute them better across the city. Are the pesky drivers using a local shortcut instead of going along the highway? Make the shortcut appear a little bit longer to the pathfinding algorithm so that only local traffic will use it.

Are the cargo ships using only a single port? Make them use both!

How do I use this?

When in game, press CTRL+P (default shortcut) or navigate to roads menu and click the Adjust Pathfinding Mod icon. (Currently there is a bug that the icon is missing sometimes, but the shortcut should always work.) Then you can select a segment and change its parameters.

Factor - adjusts the length of the segment as will appear to the pathfinder. If the value is 100, the segment will appear 100x longer then it is, thus traffic will probably avoid it. Works with numbers between 0 and 1 too.

Event probability - sets how large proportion of the traffic will obey the custom factor rule. This is useful for example when you want the traffic to use two cargo terminals instead of one.
Warning! Event probability of 0.7 means that about half of the traffic will obey the rule. The higher the number is, the larger the proportion will be. Sorry, I figured out this figure experimentally and if I had big enough data sample I would build the interface so that 0.5 means half of the traffic, but whatever...

Active - You can temporarily turn off the regulation.

It takes some time before the traffic starts obeying new rules.

Save your game regularly!
My game crashed once when testing this and I didn't find the cause. It is possible that it wasn't even caused by this mod. Keep in mind that I can't prevent everything.

This mod is compatible with Traffic Manager.

This mod can be safely removed at any time.

Are "not enough goods" warnings appearing everywhere in your city? It may be cause by low capacity of outside connections. Check out Configure Outside Connections' Limits mod.

Source code & credits

This mod uses Harmony[github.com] for patching.

Detour icon[thenounproject.com] by Pierre-Luc Auclair from the Noun Project.

Source code[github.com]
Discusiones populares Ver todo (3)
1
25 MAR a las 4:34 a. m.
How to use it for underground roads?
cfqs
5
13 SEP 2022 a las 12:05 p. m.
Segmentlength depending on traffic workload and resized by simulationloop
JNN10
0
25 MAR 2021 a las 5:34 a. m.
Need to update to "Harmony 2"
M.S.Referee
153 comentarios
Shomudi 14 DIC 2023 a las 2:21 a. m. 
Just checked this mod: it works great.
No collision with TMPE or any other mod as of now.
Will update if there is any issue.
Hootmon_Y_Knot 7 SEP 2023 a las 3:20 p. m. 
This is what you need if you want to balance loads between multiple import/export rail terminals.
Goes serveral magnatudes further than TMPE in this role.
Works like a charm.:steamthumbsup:
Egoist 18 FEB 2023 a las 9:54 p. m. 
no error for me in this mod but i think it may not work . i used it for a few years before seem no difference for the path finding, i usually place 2 parallel cargo station for export so AI use both by adjust the path finding , now seems no effect for a very high factor
arthraix 19 DIC 2022 a las 2:38 p. m. 
I don't use this mod but TM:PE may have this functionality and this mod is out of date, being last updated 2 years ago as of the writing of this message.
Maylow 14 DIC 2022 a las 3:15 p. m. 
Just wanted to let know that "Simulation error: Array index is out of range" occurs in combination with the More PathUnits mod. I suspect the culprit to be in Adjust Pathfinding mod. The More PathUnits mod works fine with all others mods. If required, i can supply output_log.txt file. Since this mod can be safely disabled/unsubbed but disabling/unsubbing More PathUnits results in savegames no longer working, I've decided to disable/unsub this mod until a fix is available.
Plazmafield 20 SEP 2022 a las 1:41 p. m. 
Due to the limited amount of functions this mod has, I think its features should just be integrated within TM:PE
StayHungryStayFoolish 17 SEP 2022 a las 10:16 a. m. 
Due to unclear incompatibility issues with Plazas&Promenades DLC and TM:PE I placed this nice mode on the list of Compatible but skipped mods.
Neverminder 1 JUL 2022 a las 10:33 a. m. 
@fenbekus do i need to uninstall TMPE if i use this or do they work together?
Sasquatch 14 JUN 2022 a las 1:09 p. m. 
I wish I had watched the video when I first subscribed to this. Now that I see how it works it's absolutely amazing. This will fundamentally alter how I build industrial areas and cargo networks.

Has anyone figured out an algorithm to set the event probability for more than two terminals? Or would you just put "0.7" for all but one of the terminals?
iMarkeh 12 JUN 2022 a las 5:51 a. m. 
Does this mod affect buses? If a road thinks it is going to take longer, then will the game try to get more buses dispatched to the route?

Secondly, will this affect bus routing? Will buses perhaps try to reroute in the same way a car would? I don't want buses to go out of their way and double back and whatever to avoid a part of the road but I do want to strongly discourage other traffic modes from using the road.