Changes

Jump to navigation Jump to search
no edit summary
With game update 1.42 (ETS2 & ATS) engine got support for custom force feedback '''L'''ook '''U'''p '''T'''able, which can alternate the linearity of the output force from the wheel. The intention of this is to enable users to overcome inability of some steering wheel hardware linear output and calibrate the output by their liking.
 
== Usage ==
To use custom used defined FFB LUT one needs to create unit file inside profile folder: <code>''[[Documentation/Engine/Game_user_path|<game_user_path>]]/profiles/<profile_hash>/ffb_lut.sii''</code>
== File contents ==
Custom force feedback LUT is normal SiiNunit text file containing just one unit:
<pre>
SiiNunit
{
input_force_feedback_lut : ffb.lut {
# This ffb LUT presents simple scaling by factor 0.5  output_values[]: 0.0 # input value: 0.0; output value: 0.0 output_values[]: 0.25 # input value: 0.5; output value: 0.25 output_values[]: 0.5 # input value: 1.0; output value: 0.5
}
}
</pre>
The <code>input_force_feedback_lut</code> unit contains only one array variable named <code>output_values</code>, which defines lookup value for appropriate input value. Input value for each entry is calculated as: <code><entry_index> / (<number_of_entries> - 1)</code>. All the input values in-between are linearly interpolated between the closest two entries. Note that all output values will be clamped to the interval <0,1> since scaling above 1.0 could mean unpredictable behavior.

Navigation menu