Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The route not going straight is interesting - I have put in a threshold to prevent the routing algorithm from scoring when the terrain is essentially flat, hopefully this helps.
At the moment I have not written the code to allow trains to deliver to cities because station placement is difficult, would possibly need some trans-shipment but that also adds another layer of complexity. If its a feature you would like I could have a go at implementing it.
It should be possible to connect it with trucks, however, all industry connections can only be considered once there has been some production in the source industry so if you wait a little while it may become an option for trucks.
Thanks for the feedback, I have just uploaded a number of fixes let me know how you get on.
https://i.imgur.com/ZhkWkGu.jpeg
https://controlc.com/d95f8a23
I cant connect towns if there are 2 lines or something like that. Its good when its a new station at city x. then it creates like 2 lines, but then it stops.
is this actually ai or just algorithm? u can make a machine learning version with it and then sell it to the game studio LOL
but if it can place train and road passenger station, cargo station should be easy too?
but the food will never be produced, if the grain doesnt go to the processing plant. so i have to create it manually once and that the code will help?
https://controlc.com/69d8fa05
and its still not making straights :D update 3
https://i.imgur.com/ntMax43.jpeg
https://i.imgur.com/GVbK9zG.jpeg
Well it depends on how you define AI, but it weighs up a number of factors and scores them in a fuzzy way, and its impossible to determine in advance the result so yes I think it qualifies :)
Yup but its about the exact placement, it has to be close to the buildings that demand the product, easy for truck stops, harder for train stations. The passenger stations use buses to connect to the different areas of the town, I could certainly write something to do something similar with trucks, but I haven't yet
You can make the connection from grain-food plan (because the farm is producing). Then the food processing plant will start to produce food (even if it does not "ship" it anywhere)
:D
can you make it so that the trains share the tracks? a unique track per line is so boring... and too easy lol
yes. that would be good. truck from train cargo to city
They do for cargo trains - I have decided not to do it for passenger trains because I find that they need to run at high frequency to keep the passengers happy and that track sharing can lead to delays - currently there is no code to figure out how "busy" stretch of track is
E:/SteamLibrary/steamapps/workshop/conent/1066780/2820656841/res/scripts/ai_builder_construction-util.lua:2147: attempt to index global 'params' (a nil value)stack traceback:[string"E:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:61:in function '__index'
E:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builderconstruction.lua:2147: in function 'checkRailStationForUpgrades'
E:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builderconstruction.lua:2134: in function 'checkStationForUpgrades'
E:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builderconstruction.lua:6268: in function 'checkForTrackupgrades'
E:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builderconstruction.lua"]:1803: in function <E:/SteamLibrary/steamapps/workshop/content/1066780/2820656841/res/scripts/ai_builder_line_manager.lua:1785>
[C]:in function 'xpcall'
[string "E:/SteamLibrary/steamapps/workshop/conent/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:2453: in function <string "E:/>SteamLibrary/steamapps/workshop/conent/1066780/2820656841/res/config/game_script/ai_builder_script.lua"]:2451>
I hope I typed all that gibberish correct (I don't know how to add a screenshot)
Ai Builder places two stations, a train shed, connects the stations, set up the line, fails to add engine and wagons and just has setting up line with trains ................ at the bottom
https://imgur.com/a/eOSYBmx
I´d reinstalled the mod 4-5 times, but it doesn´t helped. All other things like building highways, airlines, bus lines, ferry lines works fine and without problem
https://i.imgur.com/kOhXTze.jpeg
It's fully constructed. It just stops right before line creation.
https://i.imgur.com/dUX4PRI.jpeg
https://i.imgur.com/2Hv6GJX.jpeg
https://i.imgur.com/HHDrwQf.jpeg