Train sits at signal then decides to turn around?

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

GossamerSolid
Engineer
Engineer
Posts: 12
Joined: 29 Jun 2005 14:11

Train sits at signal then decides to turn around?

Post by GossamerSolid »

I have this currently built:


Image



I want that train to stay at the signal until the train filling up is done and takes off to the steel mill. Problem is that the train waiting just decides to auto-turn around, which looks stupid in the first place and secondly messes up the route. I didn't tell him to turn around, so is there a way to turn off this "auto-turn around" crap? Or am I doomed to having retarted train drivers for the rest of OpenTTD's time.


EDIT: I should search before posting :)

wait_oneway_signal = 255
wait_twoway_signal = 255
wait_for_pbs_path = 255


This post can be closed :)
Last edited by GossamerSolid on 20 Oct 2010 00:40, edited 1 time in total.
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: Train sits at signal then decides to turn around?

Post by Eddi »

try opening the ingame console and type "list_settings pf.wait"

the result should be three settings for wait times, set all of these to 255 to prevent turning around.
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2875
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Train sits at signal then decides to turn around?

Post by ChillCore »

For new games, in the config file:

Code: Select all

wait_oneway_signal = 255
wait_twoway_signal = 255
wait_for_pbs_path = 255
For your running game you will have to set the parameters in the console.

Eddi was faster. :)
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
GossamerSolid
Engineer
Engineer
Posts: 12
Joined: 29 Jun 2005 14:11

Re: Train sits at signal then decides to turn around?

Post by GossamerSolid »

This should be a setting that can be easily modified in the advanced settings. Also is 255 truly unlimited (no turn around), wouldn't that be a value more like -1 or 0?
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2875
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Train sits at signal then decides to turn around?

Post by ChillCore »

-1 does not fit in a byte and 0 would be zero waiting time.

IMHO this setting is not changed often enough to justify it being in the Advanced Settings.
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Re: Train sits at signal then decides to turn around?

Post by XeryusTC »

GossamerSolid wrote:This should be a setting that can be easily modified in the advanced settings. Also is 255 truly unlimited (no turn around), wouldn't that be a value more like -1 or 0?
The reasoning behind the setting not being there is that it is a very advanced setting. No one should want to change this setting unless they know what they're doing, and those kind of players usually know how to find the config file and edit it.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
dasy2k1
Transport Coordinator
Transport Coordinator
Posts: 344
Joined: 20 Sep 2006 23:43
Location: UK
Contact:

Re: Train sits at signal then decides to turn around?

Post by dasy2k1 »

easy way to get what you want,
make the signal behind the waithing train one way,

that way although the train will still turn around at the signal it will immidiatly encounter a 1 way signal that it cant pass and turn back again.
ic111
Director
Director
Posts: 608
Joined: 17 Jul 2007 17:56

Re: Train sits at signal then decides to turn around?

Post by ic111 »

XeryusTC wrote: The reasoning behind the setting not being there is that it is a very advanced setting. No one should want to change this setting unless they know what they're doing, and those kind of players usually know how to find the config file and edit it.
I don´t think so.

First, what the settings does can be summarized in one short sentence, so the results of setting it are understandable quite easily.

Second: The present default value of the setting causes trains to behave unpredictable. If trains don´t reverse, one at least usually can easily see the cause of the deadlock. If however, they do reverse, $Newbie sees a train at a unexpected position, causing more or less trouble, and first asks himself the question how it made its way to that position. You actually need experience in gameplay for understanding "my train probably is misrouted to that odd position, because it turned around at a red signal 50 days before".

Third: So, I actually don´t think that the present default value of the setting makes life easier especially for newbies. At least I don´t think that hiding the setting, making it unchangable from the advanced settings, is a benefit.
GossamerSolid
Engineer
Engineer
Posts: 12
Joined: 29 Jun 2005 14:11

Re: Train sits at signal then decides to turn around?

Post by GossamerSolid »

Yeah, the setting should be in the advanced settings... noobies shouldn't go in "Advanced Settings" if they don't know what they are doing. Worst thing that will happen is that they re-install the game.

I changed a town setting and it reverted the stupid signal settings I had again.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Train sits at signal then decides to turn around?

Post by Yexo »

GossamerSolid wrote:Worst thing that will happen is that they re-install the game.
Which doesn't help because that doesn't remove the config file.
GossamerSolid
Engineer
Engineer
Posts: 12
Joined: 29 Jun 2005 14:11

Re: Train sits at signal then decides to turn around?

Post by GossamerSolid »

Yexo wrote:
GossamerSolid wrote:Worst thing that will happen is that they re-install the game.
Which doesn't help because that doesn't remove the config file.
Uninstall, delete remaining files... If you can't figure that out (the proper way to do a clean reinstall) then you don't deserve to use a computer.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Train sits at signal then decides to turn around?

Post by planetmaker »

GossamerSolid wrote:
Yexo wrote:
GossamerSolid wrote:Worst thing that will happen is that they re-install the game.
Which doesn't help because that doesn't remove the config file.
Uninstall, delete remaining files... If you can't figure that out (the proper way to do a clean reinstall) then you don't deserve to use a computer.
Thanks for making clear that YOU don't deserve answers nor our time.
Yexo
Tycoon
Tycoon
Posts: 3663
Joined: 20 Dec 2007 12:49

Re: Train sits at signal then decides to turn around?

Post by Yexo »

GossamerSolid wrote:
Yexo wrote:
GossamerSolid wrote:Worst thing that will happen is that they re-install the game.
Which doesn't help because that doesn't remove the config file.
Uninstall, delete remaining files... If you can't figure that out (the proper way to do a clean reinstall) then you don't deserve to use a computer.
A reinstallation is completely unnecesary to return to the default settings, you only need to delete your config file. But as you said, users who can't figure that out don't deserve to use a computer....
User avatar
XeryusTC
Tycoon
Tycoon
Posts: 15415
Joined: 02 May 2005 11:05
Skype: XeryusTC
Location: localhost

Re: Train sits at signal then decides to turn around?

Post by XeryusTC »

GossamerSolid wrote:Yeah, the setting should be in the advanced settings... noobies shouldn't go in "Advanced Settings" if they don't know what they are doing. Worst thing that will happen is that they re-install the game.
GossamerSolid wrote:
Yexo wrote:
GossamerSolid wrote:Worst thing that will happen is that they re-install the game.
Which doesn't help because that doesn't remove the config file.
Uninstall, delete remaining files... If you can't figure that out (the proper way to do a clean reinstall) then you don't deserve to use a computer.
What makes you think that those noobies you speak of will know where the config file is located but cant read the description of a setting and understand it. You seriously don't understand how users work.
GossamerSolid wrote:First, what the settings does can be summarized in one short sentence, so the results of setting it are understandable quite easily.
I can summarize what the universe does in one single word: nothing. That doesn't right away mean that we know how it works.

The same point still stands though, the average user won't need to change the setting and possibly doesnt need to know about its existence. I seriously doubt that you would've started all of this if the setting didn't even exist. Also, under your reasoning all of the YAPF settings should also be available from the advanced settings, even though they shouldn't actually be touched unless you absolutely know what you're doing. The YAPF settings and the turn around settings are on the same level of how they influence the behavior of the game.
Don't panic - My YouTube channel - Follow me on twitter (@XeryusTC) - Play Tribes: Ascend - Tired of Dropbox? Try SpiderOak (use this link and we both get 1GB extra space)
Image
OpenTTD: manual #openttdcoop: blog | wiki | public server | NewGRF pack | DevZone
Image Image Image Image Image Image Image
GossamerSolid
Engineer
Engineer
Posts: 12
Joined: 29 Jun 2005 14:11

Re: Train sits at signal then decides to turn around?

Post by GossamerSolid »

Beware: Hostile Developers...

Is this written in C++? If so, I'll take a look at doing it myself because apparently suggesting that three variables be changeable via the Settings is an "out of this world" request.

You guys are trying to defend noobies, but you put settings that make train signaling for noobies a real headache... real ironic?


EDIT: Guy above me, you are saying that a setting shouldn't be there because people can mess with it? Are you KIDDING me? This is a PC game, DON'T TOUCH THE SETTING if you don't know what you are doing. Christ sakes...
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Train sits at signal then decides to turn around?

Post by planetmaker »

People who know what they do are usually capable to use the console or edit the config file just fine. Others better don't change settings which break the game. So don't tempt them by putting that setting right under their nose.
GossamerSolid
Engineer
Engineer
Posts: 12
Joined: 29 Jun 2005 14:11

Re: Train sits at signal then decides to turn around?

Post by GossamerSolid »

planetmaker wrote:People who know what they do are usually capable to use the console or edit the config file just fine. Others better don't change settings which break the game. So don't tempt them by putting that setting right under their nose.
Still though and you'll have to agree with me on this, One of the common advantages that PC games generally have over consoles are the brevity of options. I guess it's not common sense to others, but if I'm not sure how things work I fiddle around with them and figure it out. Worst thing that can happen is having to delete your config file to get it rebuilt.

Maybe write something like this:

"Advanced options: Do not edit these settings unless you know what you are doing. You could screw up your game and force you to reinstall it. See the readme for detailed information."
User avatar
ChillCore
Tycoon
Tycoon
Posts: 2875
Joined: 04 Oct 2008 23:05
Location: Lost in spaces

Re: Train sits at signal then decides to turn around?

Post by ChillCore »

There is such a warning in game before you click OK when you change grfs ingame.
Any idea how many people do it anyway and complain afterwards that their savegame is broken?
-- .- -.-- / - .... . / ..-. --- .-. -.-. . / -... . / .-- .. - .... / -.-- --- ..- .-.-.-
--- .... / -.-- . .- .... --..-- / .- -. -.. / .--. .-. .- .. ... . / - .... . / .-.. --- .-. -.. / ..-. --- .-. / .... . / --. .- ...- . / ..- ... / -.-. .... --- --- -.-. .... --- --- ... .-.-.- / ---... .--.

Playing with my patchpack? Ask questions on usage and report bugs in the correct thread first, please.
All included patches have been modified and are no longer 100% original.
GossamerSolid
Engineer
Engineer
Posts: 12
Joined: 29 Jun 2005 14:11

Re: Train sits at signal then decides to turn around?

Post by GossamerSolid »

ChillCore wrote:There is such a warning in game before you click OK when you change grfs ingame.
Any idea how many people do it anyway and complain afterwards that their savegame is broken?

Who cares if they complain, tell them to read the warning next time. You shouldn't even care about those complainers because they can't be bothered to read a simple warning.
User avatar
planetmaker
OpenTTD Developer
OpenTTD Developer
Posts: 9432
Joined: 07 Nov 2007 22:44
Location: Sol d

Re: Train sits at signal then decides to turn around?

Post by planetmaker »

If we forward all those e-mails and support requests of that category, you'll have a filled inbox every day. In short: it's unneeded support requests which eat _our_ time. But I guess it's easy to request other people spend time on boring stuff....
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 2 guests