AIDispatch v0.84.4
Author: boboediting

Install:

1. Open the downloaded AIDispatch release folder.

2. Copy everything from the `plugins` folder into your GTA V directory:

   `Grand Theft Auto V Legacy\plugins\LSPDFR`

   After installing, you should have files such as:

   `Grand Theft Auto V Legacy\plugins\LSPDFR\AIDispatch.dll`
   `Grand Theft Auto V Legacy\plugins\LSPDFR\AIDispatch.ini`
   `Grand Theft Auto V Legacy\plugins\LSPDFR\Newtonsoft.Json.dll`

3. Get a Google AI API key here:

   https://aistudio.google.com/api-keys

4. Open `AIDispatch.ini`.

5. Find this line:

   `ApiKey=PUT_YOUR_GEMINI_API_KEY_HERE`

6. Replace `PUT_YOUR_GEMINI_API_KEY_HERE` with your Google AI API key.

7. Save the file and launch GTA V / LSPDFR.

Important:

* Policing Redefined is required.
* Do not delete `Newtonsoft.Json.dll`. AIDispatch needs it for Gemini API support.
* This version uses Gemini 2.5 Flash Native Audio by default.
* If the mod does not respond, check `plugins\LSPDFR\AIDispatch\AIDispatch.log`.
* DO NOT SHARE YOUR API KEY WITH ANYONE!



Baseline:
This build keeps v0.84.3 as the AI baseline:
- Gemini 2.5 Flash Native Audio Dialog / Live API only by default.
- No regular Gemini 2.5 Flash / Flash Lite fallback by default.
- Loose v0.76-style natural speech understanding remains the priority.
- Vague/accented requests should be understood when the meaning is reasonably clear.

New in v0.84.4:

AIDispatch has received a major update focused on making the mod feel more natural, reliable, and immersive.

This update improves the AI voice command system so players can speak more naturally instead of relying on strict Grammar Police-style phrases. Vague or imperfect commands such as asking for “another unit,” “someone to help,” “a tow,” or “send someone to deal with this” should now be understood more reliably, especially for players with accents or less exact phrasing.

The update also adds a redesigned in-game F12 radio editor, selectable radio animations, improved radio-in-hand support with a prop, better menu control locking to prevent accidental shooting or weapon switching, custom phrase training for users/testers, tester debug logging, light context memory for vague follow-up requests, and more varied LSPDFR scanner-style dispatch responses.

This version also includes Native Audio-only Gemini support to avoid burning regular Gemini Flash/Flash Lite quotas, plus updated release packaging with required dependencies included for easier installation.

Recommended for all users.



Major AIDispatch update:

* Improved natural AI voice understanding
* Better support for vague/accented/imperfect speech
* Native Audio-only Gemini mode to avoid Flash/Flash Lite quota fallback
* New F12 radio editor layout
* Selectable radio animations
* Added radio-in-hand prop support
* Better control blocking while editing UI
* Custom phrase trainer file
* Tester debug logging
* Basic context memory for vague follow-up requests
* More varied LSPDFR scanner-style dispatch responses
* Improved release folder packaging with required dependencies included


Files:
AIDispatch.dll - built plugin
AIDispatch.ini - config
AIDispatch_CustomPhrases.txt - phrase trainer
Newtonsoft.Json.dll - required dependency
