AI trackbuilding
Moderator: Transport Empire Moderators
AI trackbuilding
Hi,
the AI trackbuilding in TTD is terribly. Any ideas how to improve that?
Algorithms like A* or Dijkstras shortest path don't work well once the AI is supposed to alter the landscape in order to create better paths.
c.u.
Hajo
the AI trackbuilding in TTD is terribly. Any ideas how to improve that?
Algorithms like A* or Dijkstras shortest path don't work well once the AI is supposed to alter the landscape in order to create better paths.
c.u.
Hajo
-
- Tycoon
- Posts: 14275
- Joined: 09 Jan 2003 08:37
First bad method of AI in TTD: ... it building tracks both from one station and from other .. he should building from one station to other ... ...anyway we must create algorithm for AI to 'show' him where he should build station .... .... it can build like that ... it put 1 square of track .. (tt2 check how he could build tracks .. that it will be closer to second station, [first we must create algorithm for building straight way .., and not only for railway])
what are you looking at? it's a signature!
-
- Engineer
- Posts: 44
- Joined: 03 Feb 2003 20:07
thats more realistic anyway ... maybe break track laying up into steps
surveying
land purchase
actual track laying
that would give the benefit of pathfinding to the AI but still slow it down enough for the player to block it? Maybe send the player a message when the AI starts each phase "Doofus transport begins Surveying near Townsville" or something of the sort... Limit the AI land purchase to x amount of tiles per turn maybe?
surveying
land purchase
actual track laying
that would give the benefit of pathfinding to the AI but still slow it down enough for the player to block it? Maybe send the player a message when the AI starts each phase "Doofus transport begins Surveying near Townsville" or something of the sort... Limit the AI land purchase to x amount of tiles per turn maybe?
Surveying
Land purchasing
station placing
basic track building (no intersections)
advanced track building (intersections)
depot placing
train building
Land purchasing
station placing
basic track building (no intersections)
advanced track building (intersections)
depot placing
train building
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction. - Albert Einstein
- uzurpator
- Transport Empire Moderator
- Posts: 2178
- Joined: 10 Jan 2003 12:21
- Location: Katowice, Poland
I would rather go for:
Surveying
Station terrain reservement
Connecting them with track (single/double)
Optimising the connection
Adding passing loops if necessary
Adding stations
Adding depots
The Optimisation is the most important and proper algorithms for it need to be created. This includes making the connection flatter and straighter.
What analysis is to use here?
IMO - it would be reasonable to use leaf based analysis: game would take a YxY area and optimise the connection within it. This would make things much faster, but the lines wtill would not look like created by humans. OTOH they would also not look like TTD's ai creation.
Surveying
Station terrain reservement
Connecting them with track (single/double)
Optimising the connection
Adding passing loops if necessary
Adding stations
Adding depots
The Optimisation is the most important and proper algorithms for it need to be created. This includes making the connection flatter and straighter.
What analysis is to use here?
IMO - it would be reasonable to use leaf based analysis: game would take a YxY area and optimise the connection within it. This would make things much faster, but the lines wtill would not look like created by humans. OTOH they would also not look like TTD's ai creation.
All art and vehicle stats I authored for TT and derivatives are as of now PUBLIC DOMAIN! Use as you see fit
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.
Just say NO to the TT fan-art sprite licensing madness. Public domain your art as well.
-
- Tycoon
- Posts: 14275
- Joined: 09 Jan 2003 08:37
- Raichase
- Moderizzle
- Posts: 11509
- Joined: 15 Dec 2002 00:58
- Location: Sydney, Australia. Usually at work in the underground railway station...
- Contact:
I think we should look at the current AI - basic 1 or 2 train tracks, and focus on making their routes efficiant, with the pathfinding and so on - we want competition, but if we want human-quality competition, we can play over the net.
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
-
- Tycoon
- Posts: 14275
- Joined: 09 Jan 2003 08:37
- Raichase
- Moderizzle
- Posts: 11509
- Joined: 15 Dec 2002 00:58
- Location: Sydney, Australia. Usually at work in the underground railway station...
- Contact:
The man makes a very persuasive point.SHADOW-XIII wrote:First .. before AI .. we should allow play users ...
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club
WHAT if the landscape would change whilst the AI is building it's tracks? Wouldn't that screw up the track?
GoneWacko. Making [url=irc://irc.oftc.net/tycoon]#tycoon[/url] sexy and exciting since 1784.
I know this is only half-on-topic, but can we also apply the ideas from this to prevent RTPS? (Retarded Town Planner Syndrome)
/me goes back into his hole, hoping to get back on IRC at some point - address below
/me goes back into his hole, hoping to get back on IRC at some point - address below
Bugzilla available for use - PM for details.
Who is online
Users browsing this forum: No registered users and 19 guests