FicsitRemoteMonitoring icon indicating copy to clipboard operation
FicsitRemoteMonitoring copied to clipboard

Trains are `REALLY` fast

Open saffronjam opened this issue 3 months ago • 2 comments

Hi,

It's me again :D

I am noticing my trains are reaching really high speed according to the API, while they are not in game (comparing with the UI when driving/riding a train).

[
  {
    "ID": "BP_Train_C_2143971800",
    "Name": "[Con] 1",
    "ClassName": "BP_Train_C",
    "location": {
      "x": -279329.794589808,
      "y": -68231.1170365018,
      "z": 729.644048154571,
      "rotation": 90.7203158709069
    },
    "TotalMass": 475318,
    "PayloadMass": 115318,
    "MaxPayloadMass": 140000,
    "ForwardSpeed": 2858.01025390625,   <--- Should be km/h according to docs
    "ThrottlePercent": 100,
    "TrainStation": "[EMO Im] Concrete",
    "Derailed": false,
    "PendingDerail": false,
    "Status": "Self-Driving",
...

image

(Screenshot is not exactly at the same time as the API fetch)

Interestingly, it seems to be a linear offset, where if I divide by more or less 27.9, it gives the correct speed.

saffronjam avatar Nov 21 '24 21:11 saffronjam