aboutsummaryrefslogtreecommitdiff
path: root/advtrains/settingtypes.txt
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2021-01-02 20:23:09 +0100
committerorwell96 <orwell@bleipb.de>2021-02-10 16:39:46 +0100
commit080fbcf2fc1c39d76a82f73b7da0713b6f0fbc16 (patch)
treec403904b4a987c314a0b78ccb2628d07403ef478 /advtrains/settingtypes.txt
parent672b4a422cc6d4e9cb9bd9925a55e9a2127883f0 (diff)
downloadadvtrains-080fbcf2fc1c39d76a82f73b7da0713b6f0fbc16.tar.gz
advtrains-080fbcf2fc1c39d76a82f73b7da0713b6f0fbc16.tar.bz2
advtrains-080fbcf2fc1c39d76a82f73b7da0713b6f0fbc16.zip
Make dtime limiting a setting
Diffstat (limited to 'advtrains/settingtypes.txt')
-rw-r--r--advtrains/settingtypes.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/advtrains/settingtypes.txt b/advtrains/settingtypes.txt
index d8eb44a..d3c711b 100644
--- a/advtrains/settingtypes.txt
+++ b/advtrains/settingtypes.txt
@@ -45,3 +45,10 @@ advtrains_overrun_mode (Overrun mode) enum drop none,drop,normal
# When a wagon leaves this range + 32 nodes, it is unloaded
# If unset, defaults to active_block_range*16
advtrains_wagon_load_range (Wagon Entity Load/Unload Range) int 96 32 512
+
+# Simulation DTime Limit after which slow-down becomes effective
+# When the dtime value (time since last server step) is higher than this value,
+# advtrains applies a global slow-down factor to the dtime and to the velocity and
+# acceleration of wagons to decrease server load.
+# A value of 0 (default) disables this behavior.
+advtrains_dtime_limit (DTime Limit for slow-down) float 0.2 0 5