Config setting "reserve_path" ?

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
kenny_23
Engineer
Engineer
Posts: 5
Joined: 05 Aug 2009 08:26

Config setting "reserve_path" ?

Post by kenny_23 »

Hi all,
I could not find anny documentaiton for the config setting "reserve_path = true/false".
So I wonder if someone please could explain what it does.
I am using 0.7.2 rc2 and the default value is "false", wich makes me wonder what I´m eventually missing.

Manny thanks in advance.

Please excuse my english... :oops:
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Config setting "reserve_path" ?

Post by Alberth »

'config settings' are called 'advanced settings' now.

As for the 'reserve_path' setting, it toggles display of reserved paths of trains.
When a train enters a PBS block, it has reserved a path through the whole block. The setting makes such paths visible by darkening the tracks.

Very useful for understanding why a train stops for a signal.
kenny_23
Engineer
Engineer
Posts: 5
Joined: 05 Aug 2009 08:26

Re: Config setting "reserve_path" ?

Post by kenny_23 »

Thank you for the fast reply, but the setting I ask about is only reachable if you open the config file as .txt.
It is under the [pf] section, and reads excactly:

"reserve_path = false" (default value)

The setting you kindly explained is reachable by the advanced settings menue
under "displayoptions", but it reads:

"show_track_resavation = true/false"

in the config file under the [gui] section.

Anyhow thanks again for the fast reply.

Hope someone knows the answer
kenny_23
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4766
Joined: 09 Sep 2007 05:03
Location: home

Re: Config setting "reserve_path" ?

Post by Alberth »

Ah, I wasn't aware that it was a different setting.
A quick grep in the source gave me:

Code: Select all

settings_type.h:        bool   show_track_reservation;           ///< highlight reserved tracks.
settings_type.h:        bool   reserve_paths;                    ///< always reserve paths regardless of signal type.
I hope I answered your question now.

Also, most likely all other settings not documented are listed in that settings_type.h file too :)
kenny_23
Engineer
Engineer
Posts: 5
Joined: 05 Aug 2009 08:26

Re: Config setting "reserve_path" ?

Post by kenny_23 »

Tank you again for the fast reply.

Not really sure what that will do to the behavior of block signals, so maby better let it on the default "false". :roll:

Greatings,
kenny_23
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Semrush [Bot] and 5 guests