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
Location in MAIN.cfg
At the top ofcsafap/MAIN.cfg, you’ll find this line:
Configuration Parameters
Theresetsens 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 is0.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 is1 (same as horizontal).
Example with custom Y-scale:
How to Set Your Sensitivity
Check m_yaw (optional)
Type Most players use the default
m_yaw in console to verify your horizontal sensitivity multiplier:0.022 value.Check sensitivity_y_scale (optional)
Type Default is
sensitivity_y_scale in console:1.0 (vertical = horizontal).Why Sensitivity Matters
Auto line-ups use theyaw and pitch commands to automatically aim at precise angles. These commands calculate movement based on your sensitivity:
- 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 customsensitivity_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 inMAIN.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 yourresetsens 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 yoursensitivity_y_scale value and update it in the resetsens alias.
See Also
- Creating Line-ups - Learn how to create your own line-ups
- Keybinds - Customize your keybinds