Automatically selects agents in Valorant based on the resolution of your screen. Currently have 24 Agents (Valorant Version 8.05). Uses Valorant user config file to get the current resolution then calculates the necessary co-ordinates of the agent and lock-in button.
If you have multiple accounts you will need to set the GameUserSettings.ini manually as you may have multiple Config folders
Change on line 125:
game_settings_file = find_game_settings_file(valorant_config_path)
to
game_settings_file = "C:\\Users\\{YourUsername}\\AppData\Local\\VALORANT\\Saved\\Config\\{long string of random characters}\\Windows\\GameUserSettings.ini"
Tip: The Windows folder contains 2 files GameUserSettings.ini and RiotUserSettings.ini to check your account search your in-game username in RiotUserSettings.ini
-
Clone the repository:
git clone https://github.com/your-username/Valorant-Agent-Auto-Lock.git
-
Navigate to the project directory:
cd Valorant-Agent-Auto-Lock
-
Install the required dependencies:
pip install -r requirements.txt
-
Ensure that your Valorant game is running and in the main menu.
-
Run the script:
python autolock.py
-
Follow the on-screen instructions to select an agent and start the auto-clicking process.
-
Start search in-game.
-
Press 'a' to start clicking and hold 's' to stop.
This script is compatible with Windows, macOS, and Linux.
This script is intended for educational purposes only. Use it responsibly and respect the terms of service of Valorant.
This project is licensed under the MIT License - see the LICENSE file for details.