Level Crossing wrote:Sorry for the bump, I have no idea if this is still being maintained or not, great AI though.
It is! And the Christmas holidays give me a great time to hopefully implement a few lurking ideas.
Level Crossing wrote:The cleanup crew cleaned too much, apparently.

I've been having some troubles with this, and haven't figured out a good fix yet. I also have some issues on slopes sometimes. I'll look into it again.
Level Crossing wrote:Also, re:how to make the program 'smarter', here's my suggestion (no idea if it's feasible, should be though):
1. Choose two large towns on opposite ends of the map (as far away as possible).
2. Construct a road between them, going near but not through as many towns as possible on the way, while keeping it straight.
3. Connect said towns to the highway with short roads.
4. For each other town, find the 'ideal' way to connect it to the network (short road to another town on the network? dedicated road to the highway?), having the AI 'prefer' an existing road, but not too much.
I don't know too much about programming, but this should be possible with a special pathfinder (maybe even something from SuperLib).
This indeed would be possible, and the pathfinder, as such, I think I have figured out. The problem with running the pathfinder on long distances is the time it takes goes up exponentially as distance increases (i.e. as your distance doubles, your time goes up 4x)*. The other current problem with the pathfinder is that if it can't find a path, which is often because the towns in question are on two different islands, it can take a very long time to fail. The combination has meant that I've favoured small steps, but I can see if I can dream up to make the network stretch across the map faster.
* The numbers might be a little off; I've never done the testing, but I hope the idea come across...
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ZirconiumX wrote:Yet another WmDOT problem:
Compile error: Error wmdot-6/info.nut:1/1: expression expected
Compile error: Error minchinwebs_metalibrary-1/library.nut:1/1: expression expected
Hey Matthew,
Thanks for the report, but I'm not really sure how to 'fix' this... My guess is that your computer can't read the text files that make up WmDOT. Let me ask you some questions to see if I can figure out what the problem is:
- - Did you download my AI from here or from Bananas or through the OpenTTD downloader?
- Do other AI's work?
- Has WmDOT ever worked on your machine?
- What OS are you running?
- What version of OpenTTD are you running?
Thanks.