TRANSMISSION // 2612.04595v1

A Game Assistant That Knows What’s Happening in Your Campaign

Source published

A prototype assistant for Total War: Pharaoh combines game documentation, live game state and a local language model. Its tests show promising results—and a clear weakness when it should refuse to answer.

AI-generated conceptual illustration for A Game Assistant That Knows What’s Happening in Your Campaign
AI-generated conceptual illustration; not documentary evidence.

Could a game assistant offer useful advice without trying to interpret screenshots or relying on community wikis? Researchers built a prototype for the turn-based portion of Total War: Pharaoh that retrieves information from the game itself and runs a language model locally. Its evaluation suggests that this approach can help with several kinds of questions, but handling live game situations and avoiding plausible-sounding guesses remain challenges.

Why build an assistant into the game?

Strategy games ask players to juggle systems such as economies, diplomacy and combat. Tutorials and tooltips can explain individual mechanics, but may not address how those systems interact in a particular campaign. Meanwhile, an assistant outside the game may have to infer what is happening from screenshots and draw on community-written material that can be incomplete or out of date.

This study explores a different setup: an assistant that gets information directly from the game engine, uses developer-authored game data, and runs its language model on the device. The researchers implemented a prototype for the turn-based portion of Total War: Pharaoh. Their goal was to answer questions about game rules, the player’s current situation and earlier turns in a conversation—while refusing questions it could not answer reliably.

How the system works

The assistant uses Qwen3-8B, a language model run with a compressed representation intended to fit device memory limits. Rather than receiving the entire game state at once, it can call two kinds of tools. One searches prepared game knowledge; the other retrieves selected details about the current campaign, such as information on the player’s economy or enemy armies.

The knowledge search combines keyword matching with semantic search, which can find relevant material even when a player uses different wording from the game’s data. It can also follow links between related records and rerank the results. Before those searches happen, the researchers transform the game’s structured database into readable, self-contained passages. They describe this process as designed to incorporate updates when the game data changes.

An agentic loop lets the model plan a search, inspect the results and make additional requests before answering. It also receives recent conversation history to help interpret follow-up questions. In short, the assistant can ask the game’s data for the specific context it needs instead of relying on a screenshot or stuffing an entire campaign into its prompt.

What the tests found

The evaluation used 336 questions: 212 about gameplay assistance, including static game knowledge, conversation history and live game state, and 124 guardrail questions where the expected response was to refuse. The team compared the complete system with versions that removed or changed individual components. Answers were scored from 1 to 5 by GPT-5 acting as a judge, using human-written reference answers; the researchers say they refined the judging rubric against a sample of human-annotated responses.

The full system scored highest among the tested configurations on overall game assistance, static game knowledge and multi-turn questions. Its mean scores were 3.42, 3.66 and 3.74, respectively. The researchers report that data preprocessing particularly mattered for game-knowledge questions, while combining search methods and expanding to related game records helped retrieve useful context. The agent loop and the model’s native chat format helped with follow-up questions.

Live game-state questions were harder. The full system’s mean score was 2.32, tied with semantic-only retrieval for the best result in that category. Scores were lower than for static game knowledge across the configurations tested. The paper suggests that selecting relevant state information remains a bottleneck: providing the full state did not solve the problem and performed poorly in this test.

There was also a trade-off in knowing when to stop. The complete system had the lowest guardrail score of the configurations, at 3.98. When a question mentioned something absent from the game, broad retrieval could still find related material—for instance, Egyptian-themed text in response to a question about Cleopatra. The model might then turn that loosely related evidence into a confident answer instead of refusing. Better retrieval can therefore help answer relevant questions while making some misleading answers more likely.

What remains uncertain

These results describe a prototype in one game and its turn-based play, not a general-purpose assistant tested across games or with players in everyday use. The paper does not establish that running locally eliminates every cost or privacy concern; it reports the design’s local model and query-cost motivation. Nor does it show that the assistant improves player learning or experience. The authors identify stronger game-state reasoning and testing in other genres as future work.

The study is published in the 2026 IEEE Conference on Games, according to the paper’s publication note. Its evaluation relies on an LLM judge, even though the rubric was checked against a sample of human annotations, so scores should not be read as a direct measure of player satisfaction. The results are best understood as evidence about this system and benchmark—not proof that the approach will work equally well in other games or settings.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • AI game characters can think locally—and still forget to show up

    Shared method: Both systems integrate language-model processing with game information: the Total War: Pharaoh assistant queries engine state and runs its LLM locally, while GARP runs a local model in Godot and uses game state to guide agent behavior. Their purposes differ—the former answers player questions and the latter controls characters—so this is a shared integration approach, not evidence of equivalent performance.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2612.04595v1 — Original paper

      Excerpt reference: static/papers/2612.04595v1.md:88-162
      Basis: Paper text
      Source file SHA-256: 6ec2e49def1ae89a71954fa6e5bb737455edde80dea949ad7dcc28e7c2f79ce9

    • 2611.11064v1 — Original paper

      Excerpt reference: static/papers/2611.11064v1.md:73-143
      Basis: Paper text
      Source file SHA-256: cfbbc75f767259bd41d2f523a0987e835bfebe64ec8754e3fdf7074595457677

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.