Wrong pathfinding
Moderator: TTDPatch Moderators
Wrong pathfinding
There is a problem with patchfinding in my game. Road vehicle seem to go the shortest way from station A to B but it doesn't (see picture).
Why?
Why?
- Attachments
-
- Unnecessary detour
- Scr11.jpg (183.05 KiB) Viewed 974 times
Last edited by Loko on 06 Jun 2004 12:29, edited 1 time in total.
-
- Tycoon
- Posts: 3849
- Joined: 20 Jan 2003 14:51
- Location: Broadstone, Dorset
- Contact:
Just make extra junctions to the long way and they prefer the shorter way.
Transport Tycoon Deluxe stuff
- Suomenkielinen Transport Tycoon Deluxe (versio 1.10, päivitetty 28.5.2004)
- Suomenkielinen Transport Tycoon Deluxe (versio 1.10, päivitetty 28.5.2004)
My own scenario which I've created long time ago and which was modified several times since then. But it's not a point which scenario I'm playing. Wrong pathfinding exists in TTD general (see the result of my experiment). Make your own exp. RVs always choose the route with the least number of junctions even if the chosed route is much longer 

Well, the reason I can think of is that TTD looks for the junctions. Probably because Chris (who coded TTD) found it to be more effective/faster to handle than to find out the actually shortest path. Yes, he probably cheated in programming to make the game work faster.
Transport Tycoon Deluxe stuff
- Suomenkielinen Transport Tycoon Deluxe (versio 1.10, päivitetty 28.5.2004)
- Suomenkielinen Transport Tycoon Deluxe (versio 1.10, päivitetty 28.5.2004)
Ok, it makes sense. But we have much faster computers now. Most of PCs can handle with more comlicated calculations. The only problem seems to be how to make appropriate changes in TTDPatch code? Is it actually possible and how much work it requires?
I'm not a programmer but I think it's worth of discusion. The correct pathfinding is very important especialy in transport's games.
Btw The Patchteam is doing a graet job, adding so many new features to TTD. You made this game much much better
. Thank You in the name of all players.

I'm not a programmer but I think it's worth of discusion. The correct pathfinding is very important especialy in transport's games.
Btw The Patchteam is doing a graet job, adding so many new features to TTD. You made this game much much better




- habell
- Transport Coordinator
- Posts: 374
- Joined: 04 Mar 2004 12:47
- Location: Veenendaal, The Netherlands
I kinda liked the way the pathfinder works. This way I can make the vehicles take the route I'd like them to by creating another route without junctions.
If this feature/bug is removed it would be nice to have a way of setting a route the roadvehicle should take.
For instence to avoid level crossings.
If this feature/bug is removed it would be nice to have a way of setting a route the roadvehicle should take.
For instence to avoid level crossings.
Who is online
Users browsing this forum: No registered users and 15 guests