Skip to content

Marciel032/FarmingSimulatorTelemetry

Repository files navigation

Farming Simulator Telemetry

GitHub code size GitHub forks GitHub pull requests GitHub closed pull requests GitHub contributors

This mod allows reading data from farming simulator vehicles

Adjustments and improvements

The project is still under development and future updates will focus on the following tasks:

  • Support to FS19.
  • Support to FS22.
  • Read control cruise data.
  • Read buy and sell price from vehicle.
  • Create field indicate if is in vehicle
  • Improve de mod icon
  • Read axis to platform motion simulator
  • Read wiper state when is snowing
  • Read horn state
  • Read attached implements state

💻 Prerequisites

Before starting, make sure you have met the following requirements:

  • Use Visual studio 2019 to compile the Demo.

🚀 Installing

Put mod telemetry in farming mods folder. When game is running, the mod will write data about telemetry on local pipeline.

☕ Using

Start the telemetry reader

var telemetryReader = new FSTelemetryReader();
telemetryReader.OnTelemetryRead += TelemetryReader_OnTelemetryRead;
telemetryReader.Start();

The event OnTelemetryRead is called on new information is writed

private void TelemetryReader_OnTelemetryRead(FSTelemetry telemetry)
{
    ...
}

💾 Current data available

Vehicle

  • Name
  • Wear
  • OperationTime
  • Speed
  • FuelMax
  • Fuel
  • FuelType
  • RPMMin
  • RPMMax
  • RPM
  • IsEngineStarted
  • Gear
  • IsLightOn
  • IsHighLightOn
  • IsLightTurnRightEnabled
  • IsLightTurnRightOn
  • IsLightTurnLeftEnabled
  • IsLightTurnLeftOn
  • IsLightHazardOn
  • IsLightBeaconOn
  • IsWiperOn
  • IsCruiseControlOn
  • CruiseControlSpeed
  • CruiseControlMaxSpeed
  • IsHandBreakeOn
  • IsDrivingVehicle
  • IsAIActive
  • IsReverseDriving
  • IsMotorFanEnabled
  • MotorTemperature
  • VehiclePrice
  • VehicleSellPrice
  • IsHonkOn
  • AttachedImplementsPosition
  • AttachedImplementsLowered
  • AttachedImplementsSelected
  • AttachedImplementsTurnedOn
  • AttachedImplementsWear
  • AngleRotation
  • Mass
  • TotalMass
  • IsOnField
  • Def
  • DefMax
  • Air
  • AirMax

Game

  • Money
  • TemperatureMin
  • TemperatureMax
  • TemperatureTrend
  • DayTime
  • CurrentWeather
  • NextWeather
  • CurrentDay
  • GameEdition

📫 Contributing to the project

To contribute, follow these steps:

  1. Fork this repository.
  2. Create a branch.
  3. Make your changes and commit them.
  4. Send to original branch.
  5. Create the pull request.

Alternatively, see the GitHub documentation at how to create a pull request.

🤝 Colaboradores

We thank the following people who contributed to this project:

Marciel Grützmann
Marciel Grützmann

📘 Giants SDK