Hello racers!
Some of you have been asking, so here is telemetry support in V-Racer Hoverbike! To activate it, all you need is a 'telemetry.json' file in the game's installation folder, or in the game's persistant data folder (usually found here: C:/users/username/AppData/LocalLow/VertexBreakers/vracer_hoverbike). the content of this file should be a JSON document as follows:
{
"ip":"127.0.0.1",
"port": 8051,
"refreshRate":20
}
This defines the IP address and port where the data will be sent to, with a refresh rate (20 times per second in the above example). Once you have set this up, you can read the data from a plugin to drive your motion device. The data is also formatted in JSON. Here is an example of the data you can read:
{
"speed": 350,
"accelerationX": 3,
"accelerationY": 1,
"accelerationZ": 10,
"angularSpeedX": 3,
"angularSpeedY": 1,
"angularSpeedZ": 10,
"rotationX": 2,
"rotationY": 5,
"rotationZ": 0,
"paused": false,
"onTrack": true,
"gear": 5,
"rpm": 10000,
"collectPickup": false,
"turbo": true,
"startEngine": false,
"stopEngine": false,
"collision": true,
"collisionAngle": 30
}
As a reference, here is the C# class we use to send that data, with comments explaining each field: [url=http://www.judiva.com/vracer/TelemetryData.cs]TelemetryData.cs[/url]
Feel free to reach out to us on [url=https://discord.gg/JbN39jT]Discord[/url] if you want to discuss telemetry and ask questions.
And by the way, for those participating in the weekly challenge, you can now access the leaderboard directly on your phone in our discord channel by typing [b]!leaderboard[/b].
Have fun racing!
The VertexBreakers team