Skip to main content
The CSAFAP Config Package requires you to set your sensitivity at the top of csafap/MAIN.cfg for auto line-ups to work correctly. This is crucial because the yaw/pitch calculations depend on your exact sensitivity values.

Setting Your Sensitivity

You MUST set your sensitivity before using auto line-ups. The default values (1.0 sensitivity, 0.022 m_yaw) will not match your playing sensitivity.

Location in MAIN.cfg

At the top of csafap/MAIN.cfg, you’ll find this line:

Configuration Parameters

The resetsens alias contains three important parameters:

sensitivity

Your horizontal mouse sensitivity. This is the main sensitivity value you use for playing. Example:

m_yaw

The horizontal mouse sensitivity multiplier. Default is 0.022 for most players. Default:
Most players should keep m_yaw at the default value of 0.022 unless you have specifically customized this setting.

sensitivity_y_scale

The vertical sensitivity scale relative to horizontal. Default is 1 (same as horizontal). Example with custom Y-scale:

How to Set Your Sensitivity

1

Find your current sensitivity

Open the CS2 console and type sensitivity to see your current value:
2

Check m_yaw (optional)

Type m_yaw in console to verify your horizontal sensitivity multiplier:
Most players use the default 0.022 value.
3

Check sensitivity_y_scale (optional)

Type sensitivity_y_scale in console:
Default is 1.0 (vertical = horizontal).
4

Edit MAIN.cfg

Open csafap/MAIN.cfg and update line 6 with your values:
5

Save and reload

Save the file and reload the config by typing exec csafap/main in console.

Why Sensitivity Matters

Auto line-ups use the yaw and pitch commands to automatically aim at precise angles. These commands calculate movement based on your sensitivity:
The yaw/pitch values are calculated using the formula: X=as×m_yawX = \frac{a}{s \times m\_yaw} Where:
  • X = desired yaw/pitch value
  • a = angle to move (in degrees)
  • s = your sensitivity
  • m_yaw = horizontal sensitivity multiplier (0.022)
If your sensitivity is not set correctly, auto line-ups will aim at the wrong angles and your smokes will miss their targets.

Custom Y-Scale Support

Since version 2.18, the config package supports custom sensitivity_y_scale values. If you use different vertical and horizontal sensitivities, make sure to set this value correctly. Example for lower vertical sensitivity:

Troubleshooting

Auto line-ups are aiming wrong

Problem: Smokes are missing their targets or aiming 180° in the wrong direction. Solution: Double-check your sensitivity settings in MAIN.cfg. Make sure they match your actual in-game sensitivity.

Sensitivity changes during auto line-ups

Problem: Sensitivity stays at 1.0 after using auto line-ups. Solution: This means your resetsens alias is not configured with your actual sensitivity. Update line 6 in MAIN.cfg.

Vertical aim is off

Problem: Horizontal aim is correct but vertical aim is wrong. Solution: Check your sensitivity_y_scale value and update it in the resetsens alias.

See Also