Add a setting to turn off road vehicle slowdown in curves

Prior to this change, road vehicles would always slowdown in curves. This forces the player to build grid like roads. With new height levels and more mountainous maps and in the absense of diagonal roads this causes unnecessary pain. It should be an option to turn this off, so mountainous maps and curvy roads are not punishing the player unnecessarily. Nobody wants to build grid like roads outside of towns.
This commit is contained in:
Andreas Schmitt
2021-06-17 15:30:06 +02:00
committed by Jonathan G Rennison
parent 7555da1642
commit ec40677fdc
5 changed files with 19 additions and 3 deletions

View File

@@ -1647,9 +1647,18 @@ strhelp = STR_CONFIG_SETTING_WAGONSPEEDLIMITS_HELPTEXT
proc = UpdateConsists
;; vehicle.slow_road_vehicles_in_curves
[SDT_NULL]
length = 1
[SDT_XREF]
extver = SlXvFeatureTest(XSLFTO_AND, XSLFI_JOKERPP, SL_JOKER_1_25)
xref = ""vehicle.slow_road_vehicles_in_curves""
[SDT_BOOL]
base = GameSettings
var = vehicle.slow_road_vehicles_in_curves
def = true
str = STR_CONFIG_SETTING_SLOW_ROAD_VEHICLES_IN_CURVES
strhelp = STR_CONFIG_SETTING_SLOW_ROAD_VEHICLES_IN_CURVES_HELPTEXT
cat = SC_BASIC
patxname = ""slow_road_vehicles_in_curves.vehicle.slow_road_vehicles_in_curves""
;; vehicle.train_speed_adaption
[SDT_NULL]