安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
1) There is an algorithm for buildings deciding if they want to export via train, ship, plane or truck. But it's not really anything you can build for (except ofc stuff like traffic prefering the nearest cargo station if they want to export, and export options that are a lot farther away beeing less preferably). Gneraly you can work with the assumption that, if you keep cargo exits in somewhat proximity (so not on the other end of your city 5 tiles away) you'll get a somewhat equal split between cargo train and trucks, with ships and planes cutting mostly into the truck export section of your traffic.
2) When you build cago stations (no matter if train, ship or plane) ALWAYS make sure to build them on a 1-way street loop. If you have a street horizontaly on your screen, and the cargo station above that, traffic will always enter from the right and exit from the left. Or, simply said, if you have right side driving on (default option unless you changed it), the vehicles will always turn right into a building if at all possible.
So if you have a street horizontal across you street, force a 1-way loop where the vehicles come from the right side of the screen and exit towards the left. That will significantly increase your stations thoroughput.
3) Obviously, always make sure the exit lane from the building is clear. It technically won't girdlock if no vehicles can exit but they can still enter, but you will want to not have that situation if avoidable.
4) In a short and simpel answer for your beginning question: Yes, if one train sation get's overhwelmed by trucks when you follow advice 2 and 3, you simply need more cargo staions.
Which is totaly not a bad thing. It's just like when your city grows beyond a certain size and normal roads are overhwhelmed, you want highways for the main aterie(s) of the city.
5) Keep in mind, more train stations also mean traffic from various parts of your city can go to the nearest one, which means overall far less congestions on our traffic routes (provided you manage the direct approaches to the cargo stations congestion free ofc). And lower travel times on vehicles in your city, which will keep you away fro mthe max vehicle limit of a city for far, far longer when your city get's big. (beside shte obviosu benefits of service vehicles reaching their targets more easily ofc).
6) Yes, traffic planning mostly ignores traffic. Because traffic congestion and route time does change all the time in many situations, and your CPU will already go into heavy work mode for the game. Adding traffic congestion calculations into the mix would grealty increase CPU requirement sof pathing, and not even be that usefull. Oftentimes traffic would not go route A because A is congested, instead all going for rotue B which will then get congest and so on.
The standard way to deal with large queues is to use what's know as a 'sponge'. The best screenshot example I have is this: https://steamcommunity.com/sharedfiles/filedetails/?id=881345250 Normally it's a long winding road !! It's purpose is to soak up the truck traffic so getting it off the roads. In the screenshot there is a small sponge on the station to the left of the Cooper and Pleasent Districts in the bottom left of the screenshot.
Search the workshop to find more substantial examples. For instance this: https://steamcommunity.com/sharedfiles/filedetails/?id=502593656
now that all the airports were gone, they decided the first cargo train station was the next to jam up, while the trains never piled up, the traffic was worse than during the airports and would litterally pile up in front of the cargo train station (in a ball) till they started despawning, i just started using one ways to move them along, but to me it seems they couldnt bother themselves with the 9 other cargo train stations in that same spot, 5 being on one street and the next street over had the other 5.
the traffic AI in this game seems to be stupid, like it had an aneurysm and was only working with 1/2 of its brain
you end up having to jump through so many hoops to get traffic to do things and stop jamming up its rediculous.
I have indeed built the station so the traffic flow is not the bottleneck. It's on a one-way street, the trucks all turn right into the station, and the traffic is fully clear to exit.
The traffic sponge confuses me. Of course, there is likely to be some congestion going into the station, and you want some roadway in advance so it doesn't affect unrelated traffic. If I understand correctly, the traffic sponge takes that "some roadway in advance" and makes it a really, *really* long roadway in advance so you can get a huge backlog. In my case, there are only about 40 trucks waiting at any given point in time, because of the despawning. Does your traffic sponge actually fill up without despawning?
Based on what FlameWar and mbutton15 wrote, it seems like the situation is as I expected: trucks goes to the nearest acceptable destination ignoring traffic. So, this almost forces you to have either zero terminals or many terminals (enough to handle all capacity). Or possibly, you can play tricks with distances to balance load, but this would take some experimentation.
Having many terminals is not a great solution since it constrains how you build the city. For example, in my case at least, terminals seem to cost more than their revenue.
Real-time route planning can indeed be tricky, and you can get into thrashing conditions like FlameWar noted, with traffic all going to point A and then all going to point B. There are ways to deal with this, though, and they wouldn't have to be computationally intensive. For example, agents could make decisions based on long-term averages.
Simple solution for overloaded stations, is build with purpose. freight want to go somewhere, so provide a nearby destination.
For example, build generic industry nearby commerce, preferably on highways, or connect the two together with train tracks and train stations at both ends. Don't connect others to the track.
Don't overbuild, and create exports.
Provide multiple stations, preferable each with their own outside connection.
Remember, it is you who is creating the traffic. Each building has traffic and they need to be in balance with your other buildings, or you have exports.
It is very tricky to balance these out, especially with transportation options balancing long distance.
I don't really bother with sponges anymore. That's because I now only produce as much industrial goods as my commercial needs. So I don't have masses of industry being exported.
Spread your cargo stations/airports around the city, or at least on different sides of your industrial/commerce area.
If you have 2 cargo statiosn enxt to each other on the same road, traffic will mostly just go for the one that comes up first for trucks. If you build them on both sides of your industry/commerce area traffic will be split about 50/50 (not entirely, sinc eother factors are usualy often at play, but you can get at least 30-40% to the second station that way easily). Proceed to add more cargo stations as needed.
@Philip:
Yes, terminals cost more than they bring in revenue. In fact, cargo rail brings 0 direct revenue.
But it will make your businesses happy, as it will alleviate most 'not enought goods/resources/buyers' problems of commerce and industry when it comes to resoruces and goods. It will also greatly reduce long-distance traffic in your city, and, if you use the industries DLC (which I can strongly recommend btw :) ) you might actually want to build an export economy in which you will be able to massively cut down on the number of storage buildings you have to build and pay for sicne you save an insane amoutn of truck traffic.
Oh, and ofc your entire city will be happier, because with less overall traffic and traffic problems, service vehicles go aorund more efficiently solving any needs far quicker.
On the issue of the revenue itself, remeber one simple thing: Commerce/industry pay you taxes (which you can jank up all the way to 11% if you need moeny and can keep them somewhat happy). Those taxes are there to cover stuff like buildings and maintaining roads, rails, airports, harbours etc.
And if your rails get in the way fo city building, remeber there is elevated tracks or tunnels. i usualy keep my cargo rail traffic in fairly deep tunnels under the city to get it out of the way.
Yes, the pathfinding in cities could be improved. But don't under-estimate the effect stuff liek that can happen. Just adding the average traffic usage of roads into the calculation will likely bump CPU time needed by more than 50%, since you go from a currently solely 'fastest' one variable equation to a two variable equation. Which will not do much in some cases, but in others it will need multiple recalculations to determine the best way. ANd that in a game where your CPu is bound to reach full load anyways once your city get's bigger, so any CPU savings are important.
Plus, the current system for determining if a street is overused can be somewhat flawed in many cases (the one they'd likely use for this pourpose would be the traffic overlay values), not really making a difference between a jammed up road, a road that has little traffic but said traffic having a lot of stop-n-go making it very slow and jam-prone if traffic increases, and a raod that is simply at high capacity but flowing completely fine.
And last but not least the game is supposed to be a semi-realisti city and traffic simulation. I did some work in traffic planning during my time at university, and trust me, it#s insane through what hoops you have to jump to get people to drive even remotely sensible. Just look at all the idiots who drive in the cores of major cities in real life, which are always congested and jammed up to an insane degree. ANd then look at the C:S simulation again and think about if it's so far off reality it wants to simulate.
No. You just need to stop overcomplicating things. That's all it takes.
https://steamcommunity.com/sharedfiles/filedetails/?id=1613303783
It’s best to try and spread facilities that generate a lot of traffic out in your industrial areas so when one jams up it doesn’t feed into the others jamming. If it’s possible and you have the available outside connections to do this I highly recommend the “4 corner” approach where you imagine your industrial area as a square and have a cargo terminal in each corner of the square and put them on a 6 lane large road that acts as a ring road so traffic can get around the trucks waiting at the cargo terminal. If you use this approach be sure to have bypass tracks any time you have more than one terminal on a line. It balances out the demand for freight as well as the demand on the roads.
Hope this helps you some.
Makes sense. But it still seems that the trucks' simplistic destination selection constrains how you have to build the city (in a very unrealistic way). Many here are talking about the benefits of traffic reduction, but a particular city might not have any traffic problems to begin with.
That seems like a good summary of the situation.
Hmmm, I kind of doubt that. It would depend a lot on what algorithm you use to implement it and I bet it can be done efficiently. If you took the approach of long-term averages, then those averages could be calculated separately, and the route-planning calculation on the part of each individual agent would typically be the same.
But it might be more complex for users, especially novice users, who would wonder why the selected paths change occasionally.
Another idea would be to improve the destination selection without looking at real time traffic. Suppose there are 2 possible destinations, like two cargo terminals. And suppose they are similarly distant, say within 5% (ignoring traffic). Then you could have the the truck flip a coin to pick one. This should balance load better than the current approach.
Ha! Well, that might be the best way to look at this whole situation. I think the C:S simulation has different pathologies than those that appear in real life, but they might not be worse .
The most reasonable approach would probably be what you suggested, put a certain range in there, like 5-105 of distance difference, and then either randomly determine which it goes to, or (for plannign purposes even better) simply switch for each truck that building generates.
As for the city building constraints that come with the traffic AI, yes, there are some. But then again there are plenty of direct or indirect constraints for the city building, which does make sense and the game does need to have some imo. It is a bit annoying when you run into such a problem for the first time, but once you knwo the limtis you can plan for it/with it.
Also, don't be afraid to walz down parts of your industrial area to create another train station at the other end of it to split your traffic. With tunnels and bridges available for rials as well you can put them almsot anywhere you want with not to much space needed, and you're gonna need mroe than oen i nthe long run anways.
I mean you could have all lanes backing up for miles like SC2013, when things got bad.
Or you could have a sinle lane backup for miles as a warning something is wrong?
Which would you prefer?
SC2013 had a real rush hour mechanic for a warning system though, to make up for the single file backup. If you ignored rush hour traffic and didn't fix it, then you'd get traffic filling up all lanes to several other cities. lol
Rush hour would be better I think, but it would take up too many resources that this game just doesn't have. So single file backup is just about perfect.
I mean what other mechanic would tell you that you are doing something wrong?
wrong, thinking that the game should logically spread out to the available choices is not "overcomplicating" its called common sense.
the AI is garbage so stop trying to hide the facts.
"overcomplicating" is doing what someone else suggested and spreading your cargo train stations out across your city, when common sense would suggest that " hey... we have cargo train station yards in real life, so why not build one for our industry to use to send out cargo that is relavtively close and easy to use".
fyi a cargo train station yard has many stations in it, so they can push out cargo quicker and easier by using more than one, because over burdening one/or having only one, stunts progress and shipping, thus it stunts their income.
may have to seeing as the AI cant use common sense, tho having to build them spread out defeats the porpuse of setting up my streets and industry in a way that having all those at the spot i had them was quick and efficient because everything basically on the same road and was in chain of sorts and ended with a bunch of cargo train station for them to use.
but while im thinking about it, the one they were using was only the "fastest/quickest" one for a certain block of industry, they all had one that was closer and more efficient to use and other traffic would drive past perfectly good stations to use the one that was already being flooded with traffic.