How to make those AIs to build railways with intermediate stations?
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 24
- Joined: 11 Aug 2021 16:29
How to make those AIs to build railways with intermediate stations?
I found that most of my AIs build point-to-point railway lines with single track, which is not always realistic, especially when connecting large towns. Are there any AIs that don't build like this?
Re: How to make those AIs to build railways with intermediate stations?
AI scripts are entirely user-provided, and there are no quality standards for them, so their code quality is pretty much a gamble.kcl504sandboxgamer wrote: ↑22 Jan 2022 10:31 I found that most of my AIs build point-to-point railway lines with single track, which is not always realistic, especially when connecting large towns. Are there any AIs that don't build like this?
- Redirect Left
- Tycoon
- Posts: 7249
- Joined: 22 Jan 2005 19:31
- Location: Wakefield, West Yorkshire
Re: How to make those AIs to build railways with intermediate stations?
This is relatively difficult to code, of all the ones I have tested "ChooChoo" AI can build proper networks, although it is troubled, it often makes junctions it later goes on to not use, or it runs out of money halfway through and stalls.
ChooChoo will attempt to make a proper network, if it can find the resources and energy to do so, and from the ones I tested about 18 month ago, was the best at doing so, as long as you don't mind it occasionally bankrupting itself, or unused junctions on track, as noted below. My assumption is it does forward thinking, then later on thinks "nah", and doesn't go back and undo them, either due to financial changes or some sort of internal priority change for what the junction was for.
I have tried numerous times to improve the ChooChoo AI, but never got far due to it being, frankly, beyond my knowledge and understanding the language OTTD uses for bots.
ChooChoo will attempt to make a proper network, if it can find the resources and energy to do so, and from the ones I tested about 18 month ago, was the best at doing so, as long as you don't mind it occasionally bankrupting itself, or unused junctions on track, as noted below. My assumption is it does forward thinking, then later on thinks "nah", and doesn't go back and undo them, either due to financial changes or some sort of internal priority change for what the junction was for.
I have tried numerous times to improve the ChooChoo AI, but never got far due to it being, frankly, beyond my knowledge and understanding the language OTTD uses for bots.
Who is online
Users browsing this forum: No registered users and 9 guests