AI Unable to build road network

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
Airtaxi Pilot
Engineer
Engineer
Posts: 74
Joined: 11 Jun 2004 09:56

AI Unable to build road network

Post by Airtaxi Pilot »

A few snapshots of the AI building a road network that doesnt work
Attachments
ai-mad-3.png
ai-mad-3.png (34.26 KiB) Viewed 1899 times
ai-mad-2.png
ai-mad-2.png (13.63 KiB) Viewed 1899 times
ai-mad-1.png
ai-mad-1.png (12.97 KiB) Viewed 1899 times
Last edited by Airtaxi Pilot on 30 Jun 2004 21:25, edited 1 time in total.
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

I thought the AI was supposed to be smarter in OTTD :?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

And the meaning of this topic is????? :roll: :roll: :roll:

The AI is the same as in TTD(Patch). Just as stupid an hilarious. Until anyone writes a new algortihm, you are welcome to try, it will stay like this.
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
Airtaxi Pilot
Engineer
Engineer
Posts: 74
Joined: 11 Jun 2004 09:56

Post by Airtaxi Pilot »

Darkvater wrote:And the meaning of this topic is????? :roll: :roll: :roll:
Well there was a typo that has now been fixed.
Darkvater wrote:The AI is the same as in TTD(Patch). Just as stupid an hilarious. Until anyone writes a new algortihm, you are welcome to try, it will stay like this.
I will first have to learn C/C++ :-)

I wasnt complaining, I was just pointing out the odd road networks
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

Airtaxi Pilot wrote:
Darkvater wrote:And the meaning of this topic is????? :roll: :roll: :roll:
Well there was a typo that has now been fixed.
Darkvater wrote:The AI is the same as in TTD(Patch). Just as stupid an hilarious. Until anyone writes a new algortihm, you are welcome to try, it will stay like this.
I will first have to learn C/C++ :-)

I wasnt complaining, I was just pointing out the odd road networks
it isn't necessary, you can write an algorithm in flowchart (i like flowcharts) example:

Code: Select all

      START
        |
        O<--------------------------------------------------------
        |                                                        |
        V                                                        |
       IF a ROAD 1 tile to the left                              |
        |                                |                       |
        V                                V                       |
      YES                               NO                       |
        |                                |                       |
        V                                V                       |
      link with that road          Continue straight             |
        |                                |                       |
        O<--------------------------------                       |
        |                                                        |
        V                                                        |
       IF a ROAD 1 tile to the right                             |
        |                                |                       |
        V                                V                       |
      YES                               NO                       |
        |                                |                       |
        V                                V                       |
      link with that road          Continue straight             |
        |                                |                       |
        O<--------------------------------                       |
        |                                                        |
        ----------------------------------------------------------


this wont work, but is a good way to help programmers... i always use it first to program my robots
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 0 guests