diff options
-rw-r--r-- | advtrains.zip | bin | 1575848 -> 1576125 bytes | |||
-rw-r--r-- | readme.txt | 19 | ||||
-rw-r--r-- | trainhud.lua | 1 | ||||
-rw-r--r-- | wagons.lua | 3 |
4 files changed, 22 insertions, 1 deletions
diff --git a/advtrains.zip b/advtrains.zip Binary files differindex e79b3c0..8e7cfc1 100644 --- a/advtrains.zip +++ b/advtrains.zip @@ -2,7 +2,24 @@ ## ADVTRAINS ## realistic trains in Minetest!
by orwell96 and contributors(see below)
-For up-to-date information, visit https://forum.minetest.net/viewtopic.php?f=9&t=14726
+For up-to-date information, visit https://forum.minetest.net/viewtopic.php?f=9&t=14726 + +### How to drive trains +(The non-pdf manual file got corrupted, one day I need to make a new manual. Meanwhile here) +First of all: you can always get off the train with right-click. + +While on a train: +W - faster +S - slower / change direction +Space: brake +Shift+S: set speed to 0 (train rolls out, brake to stop!) +Shift+W: Set full speed +Shift+A: Set speed to 4 (~40km/h) +Shift+D: Set speed to 8 (~100km/h) +Shift+Space: toggle brake +Shift+Use: get off + +
Manual: If manual.pdf is not present (which is the case when you downloaded the zip file), see https://github.com/orwell96/advtrains/blob/master/manual.pdf
diff --git a/trainhud.lua b/trainhud.lua index 610412a..aead246 100644 --- a/trainhud.lua +++ b/trainhud.lua @@ -36,6 +36,7 @@ function advtrains.on_control_change(pc, train, flip) train.brake = false train.brake_hold_state = 0 end + --shift+use:see wagons.lua else if pc.up then train.tarvelocity = train.tarvelocity + 1 @@ -261,6 +261,9 @@ function wagon:on_step(dtime) local pc=driver:get_player_control()
advtrains.on_control_change(pc, self:train(), self.wagon_flipped)
+ if pc.aux1 and pc.sneak then
+ self:get_off(seatno)
+ end
self.old_player_control_bits=driver:get_player_control_bits()
end
|