Skip to main content

Overview

The MAIN.cfg file is the entry point for the CSAFAP Config Package (version 3.8). It contains all user-customizable settings including sensitivity, keybinds, crosshair settings, and feature toggles.

File Location

csafap/MAIN.cfg

Configuration Sections

Sensitivity Configuration

The most important setting to configure before using the package.
resetsens
alias
required
Your base playing sensitivity. This is restored after using any sensitivity-modifying features.Default Values:
  • sensitivity 1.0 - Mouse sensitivity
  • m_yaw 0.022 - Horizontal mouse sensitivity multiplier
  • sensitivity_y_scale 1 - Vertical sensitivity scale
alias resetsens "sensitivity 1.0 ; m_yaw 0.022 ; sensitivity_y_scale 1"
You MUST edit this line with your actual sensitivity values before using the config.

Base Keybinds

Primary action keys for accessing different features.
bind M
keybind
Opens the map selection menu and practice mode interface.
bind "M" +map_action
bind J
keybind
Activates T-side smoke lineups for the current map.
bind "J" +T_action
bind H
keybind
Activates CT-side smoke lineups for the current map.
bind "H" +CT_action
bind K
keybind
Opens the crosshair action menu for pro crosshairs, follow-recoil, rapid fire, and snap-tap features.
bind "K" +crosshair_action

FACEIT-Compatible Smoke Binds

Alternative smoke binds that work on FACEIT servers (currently commented out by default).
bind J (FACEIT)
keybind
FACEIT-compatible T-side smoke binds.
//bind "J" +fAC_T_action
Remove // to enable this bind instead of the default.
bind H (FACEIT)
keybind
FACEIT-compatible CT-side smoke binds.
//bind "H" +fAC_CT_action
Remove // to enable this bind instead of the default.

AveYo’s Advanced Binds

These features require the launch option: -testscript "../../csgo/cfg/csafap/addons/.vtest"
bind space
keybind
Jump-throw bind (works like CS:GO).
bind "space" +JumpThrow
bind N
keybind
W + Jump-throw bind (running jump-throw).
bind "N" +WJumpThrow
bind mwheeldown
keybind
Desubtick jumping for better bunny hopping.
bind "mwheeldown" desubJ
bind CAPSLOCK
keybind
Crouch-jump bind (works like CS:GO). Disabled by default.
//bind "CAPSLOCK" +CrouchJump
bind Ralt
keybind
Toggle rapid fire and/or follow recoil on/off. Disabled by default.
//bind "Ralt" toggle_rapid

Mouse Button Configuration

Required for AveYo’s advanced features to work properly.
bind MOUSE1 +M1
bind MOUSE2 +M2
cl_scoreboard_mouse_enable_binding +M2
If you use non-default mouse buttons, you must update these binds.

Feature Activation at Launch

Uncomment these lines (remove //) to automatically enable features when the game starts.

Movement Binds

exec csafap/movement/default
exec
Loads default WASD movement binds.
//exec csafap/movement/default
load_null
alias
Enables null binds (ticker version). Requires launch option from line 18.
//alias load_movement load_null
load_desub
alias
Enables desubtick binds (ticker version). Requires launch option from line 18.
//alias load_movement load_desub

Follow-Recoil and Rapid Fire

load_rpd
alias
Enables rapid fire mode.
//alias load_follow_recoil load_rpd
load_flw
alias
Enables better follow-recoil crosshair.
//alias load_follow_recoil load_flw
load_rpdflw
alias
Enables both follow-recoil and rapid fire.
//alias load_follow_recoil load_rpdflw

Weapon Slot Binds for Rapid Fire/Follow Recoil

These binds are REQUIRED if you enable follow-recoil or rapid fire features. Uncomment all lines in this section to use these features.
//bind 1            "ef_slot1"      //primary
//bind 2            "ef_slot2"      //secondary
//bind 3            "ef_slot3"      //melee
//bind 4            "ef_slot4"      //cycle nades
//bind 5            "ef_slot5"      //bomb
//bind c            "ef_slot6"      //HE grenade
//bind f            "ef_slot7"      //flash
//bind g            "ef_slot8"      //smoke
//bind z            "ef_slot9"      //decoy
//bind scancode100  "ef_slot9"      //decoy
//bind v            "ef_slot10"     //molotov/incendiary
//bind q            "ef_lastinv"    //quickswitch

Crosshair & Viewmodel Settings

Reset Crosshair

reset_crosshair
alias
required
Your personal crosshair settings. Replace with your own crosshair configuration.Default Configuration:
alias reset_crosshair "cl_crosshairstyle 4; cl_crosshair_recoil 0; 
  cl_crosshairdot 0; cl_crosshairsize 1.8; cl_crosshairthickness 1; 
  cl_crosshairgap -2.3; cl_crosshair_drawoutline 0; 
  cl_crosshair_outlinethickness 1; cl_crosshaircolor 5; 
  cl_crosshaircolor_b 0; cl_crosshaircolor_r 255; 
  cl_crosshaircolor_g 255; cl_crosshairusealpha 1; 
  cl_crosshairalpha 255; cl_crosshair_t 0; 
  cl_crosshair_sniper_width 2"

Reset Viewmodel

reset_viewmodel
alias
required
Your personal viewmodel settings. Replace with your own viewmodel configuration.Default Configuration:
alias reset_viewmodel "viewmodel_presetpos 1; viewmodel_fov 90; 
  viewmodel_offset_x 1; viewmodel_offset_y 2; 
  viewmodel_offset_z -1.5;"

System Loader

DO NOT EDIT THIS LINE
This line loads the main framework logic. Editing or removing this will break the entire config package.
exec csafap/addons/loader

Usage Examples

Example 1: Basic Setup

// Set your sensitivity
alias resetsens "sensitivity 0.8 ; m_yaw 0.022 ; sensitivity_y_scale 1"

// Set your crosshair
alias reset_crosshair "cl_crosshairstyle 4; cl_crosshairsize 2; 
  cl_crosshairthickness 0.5; cl_crosshairgap -3; cl_crosshaircolor 1"

Example 2: Enable Null Binds at Launch

// Uncomment this line:
alias load_movement load_null

Example 3: Enable Follow-Recoil with Required Binds

// 1. Uncomment the feature:
alias load_follow_recoil load_flw

// 2. Uncomment ALL weapon slot binds:
bind 1 "ef_slot1"
bind 2 "ef_slot2"
bind 3 "ef_slot3"
// ... (all weapon binds)
bind q "ef_lastinv"

Build docs developers (and LLMs) love