Cities: Skylines

Cities: Skylines

Este item é incompatível com o Cities: Skylines. Consulta a página de instruções para encontrares os possíveis motivos pelos quais este item poderá não funcionar no Cities: Skylines.
767 avaliações
Traffic Manager + Improved AI
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
Mod
Tamanho:
Publicado em:
Atualizado em:
642.048 KB
11 ago. 2015 às 20:20
29 mai. 2017 às 1:03
16 notas de alterações ( ver )

Subscreve para transferir
Traffic Manager + Improved AI

Descrição
UPDATED FOR MASS TRANSIT!

This mod combines the original Traffic Manager by CBeThaX with Improved AI by jfarias. Additionally, it provides the intersection editor tool from Traffic++ for fine tuning of lane arrow assignments. This tool is activated by alt-clicking on the "Change lanes" button in the TM menu. The Traffic Manager features work as they did in the original mod. I will add detailed instructions shortly.

This mod is compatible with saved games produced by the original Traffic Manager. I believe it should also work with the ones made by Traffic Manager Plus, although I haven't tested that. Also, you should be able to use Traffic++ in ghost mode if you need to.

PLEASE NOTE: If you have used this mod in a saved game, then deactivated it and made changes to your roads, you may get errors when reactivating the mod at a later time. To resolve this, check the "Ignore saved data on startup" box in the mod options before loading your game. More details on this to follow.

The Improved AI portion of the mod has four significant operating parameters. I have exposed these in the AI panel so you may configure them to fit your needs. The parameters are as follow:

congestion cost factor
minimum lane space
lookahead lanes
congested lane threshold

When there is less than m_minLaneSpace available in a lane, the AI considers it as "congested" and multiplies its cost for path finding by m_congestionCostFactor. The default values are 5 for lane space (from the comments, this is for a "car of length 5" but the units are not specified) and 3 for congestion cost factor. From my experiments, it seems traffic behaves much better with values around 13 to 15 for minimum lane space and 3 to 4 for congestion cost factor. I am currently getting very good results with a minimum lane space of 13 and a congestion cost factor of 3.7. With these values, I have observed excellent lane usage overall.

Increasing the cost factor too much is not a good idea. It will, in particular, wreak havock in your bus lines, as busses will take insane detours between stops to avoid congestion. In fact, a neat experiment to try is to fiddle around with these values with the public transit info view on. You'll see right away the effects on the path finding as lines will adjust soon after you change the values.

The number of lookahead lanes and the congested lane threshold control the depth of the search for the optimal path. Increasing the former while decreasing the latter will trigger more frequent searches and generally result in a better path, at the cost of performance. Refer to the discussions section for a more detailed explanation. My machine is a tad below the minimum requirements to play the game, so I had to tweak these values accordingly. Thus, for a low-end machine, I recommend setting the number of lookahead lanes to 3 and the congested lane threshold to 2. With these values, a city of around 100k population is playable with no noticeable loss of performance and excellent traffic flow.

One final note. All credit for the original code goes to CBeThaX and jfarias. These guys have produced some outstanding work indeed. All I've done is make their code cooperate to produce something I believe will benefit everybody. Also, this mod would not have been possible without the use of cope's essential detour code.

Enjoy!

P.S. You must deactivate all other versions of Traffic Manager as well as Improved AI before activating this mod.

Source code available here.[github.com]
Discussões Populares Ver todos (24)
31
17 mai. 2019 às 5:31
[BUG/ERROR] Error upon loading into a save or a new game
TsarBucks
22
6 mar. 2016 às 19:44
[BUG] Tram track
The_Unk
17
12 jul. 2017 às 21:47
FIX MOD - BUTTONS ARE COVERING THE ICONS FOR DISASTERS EXP
ɢʀᴇᴇɴ ᴅʀᴀɢᴏɴ
1.003 comentários
play-kent 15 nov. 2022 às 8:58 
it needs a update please
Svis 20 mar. 2021 às 9:23 
@Floppy do you realise that TMPE is literally the fixed version
Slashplane 19 mar. 2021 às 22:25 
So, if anyone is coming back to find new versions of old mods, i'll share what I found
https://steamproxy.com/sharedfiles/filedetails/?id=2119310640 and
https://steamproxy.com/sharedfiles/filedetails/?id=1721492498

Doesn't cover everything but it's all I could find that wont be freezing my game with dll exceptions.
[Note Swiper] :) 19 out. 2020 às 3:24 
no present edition here :steamfacepalm:
leftbehind 9 jul. 2019 às 5:12 
The "Traffic Manager + Improved AI" mod is not maintain any more, use the latest version of Traffic Manager: President Edition instead (it includes the AI):

https://steamproxy.com/sharedfiles/filedetails/?id=583429740
3vilPcDiva 5 dez. 2018 às 12:22 
Still not functional. Getting an error at launch:

The Mod D:\SteamLibrary\steamapps\workshop\content\255710\498363759 [TrafficManager_ImprovedAI.dll] has caused an error [ModException]

Details:
System.MissingMethodException: Method not found: 'NetSegment.AddTraffic'.
at (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr)
at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <filename unknown>:0
at TrafficManager_ImprovedAI.Redirection.RedirectionHelper.RedirectCalls (System.Reflection.MethodInfo from, System.Reflection.MethodInfo to) [0x00000] in <filename unknown>:0
at TrafficManager_ImprovedAI.CustomCarAI.RedirectCalls (System.Collections.Generic.List`1 callStates) [0x00000] in <filename unknown>:0
at TrafficManager_ImprovedAI.LoadingExtension.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
SLongus 2 dez. 2018 às 19:55 
error
Mas71 26 nov. 2018 às 21:30 
This MOD is a most important and one of Essential for my CSL I belive that.
Please UPDATA for the Indastries as much as possible, I hope it strongry !! ;)
Thank you
mob 20 nov. 2018 às 7:29 
error