Transport Fever 2

Transport Fever 2

240 个评价
Distance meter
2
   
奖励
收藏
已收藏
取消收藏
标签: script
文件大小
发表于
256.033 KB
2020 年 1 月 10 日 上午 10:25
1 项改动说明 ( 查看 )

订阅以下载
Distance meter

描述
Use

As soon as you have built something, the distance to your last work is shown in the status bar. It works as far as I know for everything:

  • Assets
  • Stations
  • Depots
  • Bus stops
  • Tracks
  • Signals
  • Streets
  • Waypoints
  • Stops

Attention

  • For roads and tracks, the node closest to the mouse position at the time of construction is used. Unfortunately I can't do it any better, because building crossings etc. creates an inscrutable amount of new nodes and I don't know which was the last one.
  • For signals, waypoints and stops the cursor position is simply used. You don't get any clues in the script where exactly the thing was placed.

So...

  • Keep these restrictions in mind
  • Hold the mouse still for a short time until the street etc. is really visible. You will get a feeling for it very quickly.
31 条留言
mmcomes2u 10 月 30 日 上午 6:23 
vielen dank für deine Arbeit
Antallion 1 月 21 日 上午 12:22 
No distance showing up at all, probably abandonware.
mmcomes2u 2024 年 6 月 6 日 上午 7:22 
coole Sache , vielen Dank
cst1992 2024 年 5 月 30 日 上午 10:40 
This'll come in quite handy for signals! Thank you!
Neidmare 2023 年 12 月 15 日 下午 12:57 
Works perfectly, many thanks!
810-venca 2023 年 3 月 12 日 上午 6:05 
Please update the mod to a newer version of the game. Thank you
cpu | skully  [作者] 2020 年 6 月 14 日 下午 12:23 
You can jump back all the time - just make a hard copy of your savegames.
theSeb 2020 年 6 月 14 日 下午 12:20 
Great, thanks. I’ve been too worried to jump into the testing branch after reading the issues with common api. I’ll check it out though and see what UG have given us.
cpu | skully  [作者] 2020 年 6 月 14 日 下午 12:14 
I give you the permission to mod anything you want :) In case you publish it, please make sure that it doesn't cause any problems together with this mod.

Besides - there's an incredible set of debug features in the new beta branch. At least I know, there's a coordinate display and distance meter there. (Seem's like my mods are always some sort of inspiration to them...) Maybe there's also a slope meter, check it out :)
theSeb 2020 年 6 月 14 日 上午 3:02 
Hey. Love your mods and especially this one, but I would ask you to consider adding a slope measurement. You have the distance and you read Z in your coordinates mod. So you could work out the change in Z over the distance by taking the absolute value of the difference between Z at the beginning and Z at the end of the distance measurement

Slope percentage = (rise / run ) * 100

In other words slope = (change in Z / distance) * 100

You already work out nearly everything you need and then you could add it into the GUI next to the D measurement. This would be really great for idiots such as myself who care about realistic slopes and railway lines. If you don't feel like adding this into this mod, then could I ask permission to use your code and do it myself?