Auto route
Moderator: OpenTTD Developers
-
- Engineer
- Posts: 35
- Joined: 08 Jul 2008 18:43
Auto route
Is it possible to auto route one train from every city (with a stasjon) so that you have one train from all citys to all citys?
I don't know how to explane it, hope you understand what i ask for...
-B
I don't know how to explane it, hope you understand what i ask for...
-B
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: Auto route
I think I do.
You would like a function that would connect a train to all the cities where there is a station.
If it's that, no, there is no automatic function, you have to do it yourself.
That's the fun of the game
You would like a function that would connect a train to all the cities where there is a station.
If it's that, no, there is no automatic function, you have to do it yourself.
That's the fun of the game

If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Re: Auto route
Hi B.
cu
Rainer
Such a train would only make sense for passengers and mail. I design my passenger and mail tracks as a big bidirectional ring through all cities. So you need only two orders (no non-stop) to serve all cities in the ring.Bøtteknott wrote:Is it possible to auto route one train from every city (with a stasjon) so that you have one train from all citys to all citys?
cu
Rainer
-
- Engineer
- Posts: 35
- Joined: 08 Jul 2008 18:43
Re: Auto route
No, if I make a new stasion at a city I would like a function that makes trains (3 Passengers and 1 mail trains) from that stasion to all citys...
-
- Tycoon
- Posts: 1656
- Joined: 08 Jun 2007 08:00
Re: Auto route
Is it hard to do by hand for one train and then clone it?
-
- Traffic Manager
- Posts: 178
- Joined: 09 Apr 2008 01:37
Re: Auto route
Not simply "hard"... impossible. Like trying to lick your shoulder blades. It's that hard.LordAzamath wrote:Is it hard to do by hand for one train and then clone it?
That's why we need an auto route....
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: Auto route
I shake my head in disbelief.
Bøtteknott, that function does not exists at all. And I hope it will not exists in the future. It will make the game so easy it would not be fun anymore.
Press a button and see it all being done for you.
Not what I imagined OpenTTD will be in a few years.
Bøtteknott, that function does not exists at all. And I hope it will not exists in the future. It will make the game so easy it would not be fun anymore.
Press a button and see it all being done for you.
Not what I imagined OpenTTD will be in a few years.
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Re: Auto route
grab a copy of the noai branch, write an ai that does exactly that, then watch it play, be happy, and accept what belugas said 

-
- Engineer
- Posts: 35
- Joined: 08 Jul 2008 18:43
Re: Auto route
Thanks. All I whanted to know. And btw, I think it is more fun to build traks and make train routes to different places than routink my trains to the same citys one billion times....belugas wrote:Bøtteknott, that function does not exists at all.
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
Re: Auto route
Do you know how to use Shared or Copy Orders?
Maybe that is what you need.
When you build a new vehicle, you copy the orders from another vehicle that has exactly the route you've decided for your new one, and it will copy and use them automatically.
You can even Clone vehicles, which does all that.
Maybe that is what you need.
When you build a new vehicle, you copy the orders from another vehicle that has exactly the route you've decided for your new one, and it will copy and use them automatically.
You can even Clone vehicles, which does all that.
If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
Re: Auto route
When cloning remember to hold the CTRL button down in order to have the orders shared or the orders will only be copied but not shared.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Junctioneer (a traffic intersection simulator)
-
- Engineer
- Posts: 35
- Joined: 08 Jul 2008 18:43
Re: Auto route
Yea, but I dont whant the same orders...
Re: Auto route
Copying/cloning orders wouldn't help at all. What he wants to be able to do is, when he creates a new station:
1. Add the station to a group of pre-existing stations or start a new group.
2. Find a list of all trains which visit any of the stations in the group.
3. Determine which stations have links between them.
4. Create new trains to complete any missing links, with each train receiving two stations to link as its orders.
My advice would be for him to write his own patch.
1. Add the station to a group of pre-existing stations or start a new group.
2. Find a list of all trains which visit any of the stations in the group.
3. Determine which stations have links between them.
4. Create new trains to complete any missing links, with each train receiving two stations to link as its orders.
My advice would be for him to write his own patch.

-
- Engineer
- Posts: 35
- Joined: 08 Jul 2008 18:43
Re: Auto route
I have no idea how to make a patch and I don't have time to learn it...
Re: Auto route
No, you simply don't want to make time. There's a distinction there. Time could be made by changing your OTTD playing time into learning to program time, and eventually into programming time, and then into testing time, then back into playing time. Then you'd have more time to build networks in each play session because you'd have your patch.
-
- Engineer
- Posts: 35
- Joined: 08 Jul 2008 18:43
Re: Auto route
Seriusly, when I say I don't have time, I (unbelievably) don't have time. Is that too hard to understand?Flamelord wrote:No, you simply don't want to make time. There's a distinction there. Time could be made by changing your OTTD playing time into learning to program time, and eventually into programming time, and then into testing time, then back into playing time. Then you'd have more time to build networks in each play session because you'd have your patch.

Re: Auto route
Yes, since you claim to have time to play OTTD in the first place, it is unbelievable.
Anyway. Links, hmm?
Try anything in there that looks promising: http://www.overrideportal.com/dump/ebooks/
And I tend to use http://www.cplusplus.com as a reference.
Of course, I'm just a novice programmer, so if someone has better learning materials, I'd like to see them too.
Anyway. Links, hmm?
Try anything in there that looks promising: http://www.overrideportal.com/dump/ebooks/
And I tend to use http://www.cplusplus.com as a reference.
Of course, I'm just a novice programmer, so if someone has better learning materials, I'd like to see them too.

Re: Auto route
I think he never actually said thatFlamelord wrote:Yes, since you claim to have time to play OTTD in the first place, it is unbelievable.

There still people like, who are OTTD fans, have 4 different OTTD versions installed (perhaps even self compiled), visit forums a lot etc... still my actual OTTD gaming time last month was something between 3 and 4 hours... And I wish it was more

Re: Auto route
While he may never have said as much, one can reasonably assume that he has played (and continues to play) enough to have developed a specific style of play, since the request for information exists in the first place.
-
- Engineer
- Posts: 35
- Joined: 08 Jul 2008 18:43
Re: Auto route
I've played the game since before I could read!
Who is online
Users browsing this forum: No registered users and 10 guests