Skip to main content
  1. Projects/

ValorantGPT

·360 words
Nur Uz Zaman
Author
Nur Uz Zaman
Just a guy trying to not be replaced by AI

Project logo

ValorantGPT
#

ValorantGPT is a program that enhances the in-game chat experience in Valorant by providing automated responses as a supportive teammate. It utilizes the power of OpenAI’s GPT-3 language model to generate appropriate replies based on incoming messages.

nur-zaman/valorantGPT

ValorantGPT is a program that enhances the in-game chat experience in Valorant by providing automated responses as a supportive teammate. It utilizes the power of OpenAI’s GPT-3 language model to generate appropriate replies based on incoming messages.

Python
22
1

How It Works
#

The program connects to the Valorant game client through a WebSocket connection and listens for incoming chat messages. When a message is received, it processes the message and generates a response using the ChatGPT model. The response is then sent back to the game chat.

flow.png

Prerequisites
#

  • Python 3.10.9 or higher
  • Valorant game running

Installation
#

  1. Clone the repository:
git clone https://github.com/nur-zaman/valorantGPT.git
  1. Install the required Python packages:
pip install -r requirements.txt
  1. Configure the program:

    • Rename the config.json.example file to config.json and provide the necessary values:
      • discord_webhook_url: URL of the Discord webhook to send notifications. (Optional)
      • in_game_name: Your in-game name in Valorant.
      • players_to_avoid: List of player names to avoid responding to.
  2. Customize the prompt:

    • Put your prompt file in the prompts folder and point it in the config.json file.
    • Modify the existing content to match the desired persona and character you want to portray as a supportive teammate. You can include phrases, keywords, or responses that align with your desired in-game persona.

Usage
#

  • Start the Valorant game client first.
  • Run the start.bat script to start the program.
  • The program will listen to the in-game chat and respond accordingly as a supportive teammate.

Contributing
#

Contributions are welcome! If you have any ideas, suggestions, or improvements, feel free to open an issue or submit a pull request.

Legal#

This project is not affiliated with Riot Games or any of its employees and therefore does not reflect the views of said parties. This is purely a fan-made project to enhance VALORANT’s inventory management.

Riot Games does not endorse or sponsor this project. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.