Skip to content
Made in Poland
Global Shipping
Tutorials & Guides

How to tune QS-BT1/QS-BT3 effects in the motion script code

Warning
This tutorial is intended for users with a basic understanding of computers. Incorrect modifications may cause the motion script to fail and, in some cases, can only be recovered by restoring a backup copy of the file. Always create a backup before making any changes. Please note that modifying the motion script backend carries inherent risks and should only be performed with appropriate consideration.

1 Introduction

Quick-Tunes cover most of the seat belt tensioner (QS-BT1, QS-BT3) adjustments. When the sliders no longer give you the strength or the response speed you are after, the effect can be tuned directly in the motion script. This tutorial shows how to reach the relevant part of the code, what the parameters mean and how to test the changes efficiently.

With QS-BT3 units on the hip straps as well, every sys.sbt call drives both pairs of belts: the shoulder belts with the Shoulder Belt Tensioner Quick-Tunes and the hip belts with the Hip Belt Tensioner ones. A number changed in the code changes both pairs - to set one pair apart from the other, use its Quick-Tunes.

This is a tuning task, not a programming task. You will be changing numbers in existing lines - you do not have to write any code.

Warning

Do not carry your values over from one game to another, and not even between titles of the same series. Every simulation delivers different input telemetry - a different scale, a different update rate and a different amount of noise - so the same gain and the same filter produce a different belt effect than the one you tuned.

Tune and test every game and every title separately. Values from another profile are at best a starting point, never a setting to copy.

Warning

Only a cloned profile that is a full copy (non-shallow) has an editable script.

A full copy is not updated by software updates. After every ForceSeatPM update you have to clone the new built-in profile again and transfer your changes manually, otherwise you will miss new effects and profile retunes delivered by our R&D team.

2 Prerequisites

3 Finding the right script

1. Activate your cloned profile and open System Status in the navigation panel: Script shows the name of the script in use (the tooltip of the status at the bottom-left of the window shows it too). That is the script you have to edit.

2. Open your cloned (not shallow) profile, open the menu next to Activate (1) and choose Motion scripts (2).

3. Find the script identified in step 1 - it is the one marked In use (1) - and click Open in VS Code (2).

Information
On first use Windows might ask you which program should open the file. Pick your code editor and confirm.

4 Locating the SBT section

Once the code is opened, press Ctrl+F and search for SBT - it stands for seat belt tensioner. All belt tensioner calls are grouped together and all of them start with that prefix. This is what to look for:

5 Understanding sbtDefaultProcessor

A typical call looks like this:

sys.sbt.sbtDefaultProcessor(MSSA::GToMs2 * in.FieldAccForward * -0.6f, 5.0f,                            MSSA::GToMs2 * in.FieldAccRight   * -2.5f, 5.0f,                            ctx.vehicle.forwardSpeed * ctx.vehicle.yawRate * -1.5f, 5.0f,                            false/*no secondary brake*/);

The arguments are composed of signal + filter pairs. Each of them controls one source of belt tension:

  • in.FieldAccForward - longitudinal G. This is the braking and acceleration effect.
  • in.FieldAccRight - lateral G. This is the side load in corners.
  • forwardSpeed * yawRate - the centrifugal component of cornering.

The last argument says whether a secondary brake is engaged. Vertical forces are not part of this call at all - they are tuned in sbtHeaveRoadHarshness3 / sbtHeaveRoadHarshness4, which appear further down in the same SBT group.

5.1 Gain - the first value in each pair

The number the signal is multiplied by (-0.6f) is the Gain. It sets how much belt tension a given force produces. Raise it for a stronger pull, lower it for a weaker one.

A minus sign inverts the direction of the effect for the belt tensioner. If braking releases the belts instead of tightening them, flip the sign rather than changing the magnitude.

5.2 Low-pass filter - the second value in each pair

The second number (5.0f) is a low-pass filter cut-off. It controls how quickly the effect follows the telemetry, which is what you perceive as Sharpness:

  • higher value - less smoothing, faster and more abrupt reaction
  • lower value - more smoothing, softer and more gradual build-up

Built-in profiles use anything from 0.1f to 10.0f depending on the title and on how noisy its telemetry is, so there is no single correct setting. If braking is strong enough but feels too smooth or too soft, change this value and leave the gain alone.

Information
Compare values only within the same script.

6 Making and testing a change

Tuning is a loop of small edits and immediate tests. ForceSeatPM reloads the script automatically after saving, so you do not have to restart anything.

  1. Copy the whole script to a safe location before you touch it (the path is shown in the Motion scripts window).
  2. Change one value.
  3. Save with Ctrl+S.
  4. In ForceSeatPM, isolate the effect - disable all other effects so you can hear and feel only the one you are tuning.
  5. Drive and evaluate.
  6. Alt+Tab back to the editor, enter a new value, Ctrl+S, Alt+Tab to the game and test again.
  7. When you are satisfied, re-enable the remaining effects and check that the whole profile still feels balanced.
Information
If the script contains a syntax error, it will not be loaded. Details are reported in the Action Center and in the result of Verify in the Motion scripts window.

7 Diagnostics

To make sure you are scaling the forces correctly and are not introducing clipping, use the Seat Belt Tensioner Diagnostic (in Tools and Diagnostic).

The diagnostic view is divided into three sections. The top section shows input telemetry graphs, including road information, vertical and longitudinal forces. The middle section shows diagnostic data for the belt tensioner, allowing you to see how the device responds to the incoming signals. The bottom section contains sliders that override the device's operation, which can be useful when testing the device independently of the motion script.

With QS-BT3 units on the hip straps as well as on the shoulder straps, the window shows the two apart: Shoulder and Hip tabs in its toolbar, or both side by side when the window is wide enough, each with its own graphs and sliders. The Diagnostic action of a unit on the Devices page opens the window on that unit's belts.

Pay attention to the belt tensioner output and whether it reaches its maximum level - the corresponding graph will flatten out at the top of its range. This indicates clipping: the effect, via tuning values in code, is requesting more force than the device can provide. In that case go back to the code and adjust it accordingly.

Information

To keep the diagnostic on top of the game window and watch the belt tensioner in real time, click the pin in the window's title bar (Keep this window on top).

To watch a single graph, click it to open it in a window of its own, then right-click that graph and select Stay on top.

If you see frequent clipping during normal driving, consider reducing the Gain of the corresponding effect. Occasional peaks reaching the limit are not a problem, especially during very hard braking or high-load situations. The goal is to keep the effect within the usable range while still making full use of the available belt tension force.

8 Good practices

  • Back up the script (create a copy of the file) before any changes.
  • Ctrl+Z reverts changes.
  • Change one value at a time. Two changes at once make the result impossible to attribute.
  • Move in small steps. In some cases, going from 1 to 3 can bring better results than jumping from 5 to 10.
  • Do not change values you do not understand. If a line is not described here, leave it as it is.
  • Tune with a car and a track you know well - an unfamiliar combination hides what the effect is actually doing.
  • Note your changes in a comment. Anything between /* and */ is ignored by the script, so you can keep the original values beside the new ones, for example: sys.sbt.sbtDefaultProcessor(in.FieldAccForward * -0.6f, 5.0f, /* default: -0.6f, 5.0f | -0.5f, 7.5f - feels better, GT3 only | -0.25f, 5.0f - endurance */
  • Keep a short change log next to your backups, recording the profile and script names, ForceSeatPM version, function/argument, original and modified values, and a brief description of the change. Use function names instead of line numbers, as line numbers may change between versions.

9 After a software update

Warning
Because the profile is a full copy, it is not refreshed by updates. After installing a new ForceSeatPM version, clone the new built-in profile again and copy your changes into it. Keeping the old clone means keeping the old script, without new effects and without our R&D profile retunes.