Arma 3
Not enough ratings
Combat Copilot AI Agent
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
File Size
Posted
Updated
263.318 KB
23 Sep @ 7:55am
24 Sep @ 4:23am
8 Change Notes ( view )

Subscribe to download
Combat Copilot AI Agent

Description
Combat Copilot is an AI assistant for Arma 3 that accepts chat commands, analyzes the situation, and performs actions or SQF scripts on request.
Designed for single player (Multiplayer and server play are not supported and will not work correctly.).

For the mod to work, you need to place the Combat Copilot object in the editor, then start the game on a local network for the chat to work.

When you first enter the command, the game may freeze for a minute. Do not turn it off.

100% FREE
The mod is completely free to use.
The Google Gemini API key from Google AI Studio is free.
No charges, no subscriptions, no credit card required. Using this mod will not trigger any payments.

What it can do
Chat commands:
/ai [text]
Environment analysis: enemies, vehicles, coordinates, weather; configurable radius 1–10,000 m
Game control: spawn objects/vehicles, change weather/time, control units, run SQF
Saving: all settings and the API key persist between game launches

Configuration commands

set Google Gemini API key
/api [key]
set model (default: gemini-2.5-flash)
/model [model]
AI response language (default: English)
/lang [language]
detection radius (default: 2000)
/dist [meters]
loading animation type
/anim [1–3]
list of commands
/help

How to get the (free) Google Gemini API key
Go to: https://aistudio.google.com/app/apikey
Create a new API key (it’s free)
Copy the key and set it in-game using the command below
Example
/api AIza****bA

Notes
The mod is currently fully operational, but sometimes the neural network creates errors in the sqf code, which causes errors to appear in the game. In this case, simply repeat your request. The neural network cannot see the conversation history; it does not know your previous messages. It only sees the request you sent it and the situation in the game. In the future, I plan to improve the neural network prompt so that it can better understand sqf and also better react to the situation in the game. Right now, the prompt is generally functional but overloaded and sometimes glitchy. In the future, I also plan to make the mod work flawlessly in multiplayer. Currently, you can play with the mod in multiplayer, but the sqf commands from the neural network are not synchronized correctly between clients, which can cause errors.
7 Comments
dazedleader 14 Oct @ 7:43am 
it be cool if we can do this in other single player modes like campaign and scenario missions with Zeus on
[FFD]Niamor 6 Oct @ 1:29pm 
Could you on the same basis of idea imagine an AI commander mod who gives live orders to these squads according to the remonter from the field by the squads and who would act in return to be effective, and why not be able to give him a prompt in order to give him a real identity
DAN TAYLOR 2 Oct @ 12:30am 
amazing mod, can u make it support ollama ?
Van  [author] 30 Sep @ 7:03am 
@AndreyH2O

Try entering the API key again. The 400 error is most likely in this. Also, return the AI model to the standard model.
To set the API key, you need to get it from the website ( https://aistudio.google.com/api-keys ).

The installation command looks like this:

/api AIza(many_letters)bA

The command to return the standard model is:

/model gemini-2.5-flash
Girl kisser 29 Sep @ 3:12pm 
Okay, I have to say I liked this way more then I imagined. But I have to agree it's VERY limited, and to no fault of the author. I just wish I could use a offline model and with some jank make it work all local... But hey, a peep can dream.

@AndreyH2O

Thought the same thing until I realized you need to place a certain object in the editor and save the mission with it. But who knows, Arma gonna Arma, and had my few "one guy"isms before.
AndreyH2O 29 Sep @ 10:33am 
for the life of me, i could n t get it to work. kept getting an invalid argument error 400. Followed the steps. kept changing models. no luck. No idea what to try. not a programmer. So my debugging is limited. Thx for the work anyway.
zjløbniy 25 Sep @ 12:12am 
The mod performed well. There's room for improvement, but overall it was a very interesting experience. It literally has a fully functioning neural network in the game. Can be used for both realism and fun. +REP