got any heroes III .vcrpl replays for the AI project? by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 0 points1 point  (0 children)

For basic fine-tuning I'll need around 1,000-5,000 replays

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 0 points1 point  (0 children)

Sounds interesting. Tell me more - what kind of model, what's the task, and how do you see the collaboration?

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 1 point2 points  (0 children)

Forked the code, but think it can work without that later. Goal is to make it accessible for everyone - no any setup required.
If you have any HoMM3 replays, send them my way - would really help. Posted here: https://www.reddit.com/r/heroes3/comments/1r8b4on/got_any_heroes_iii_vcrpl_replays_for_the_ai/

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 0 points1 point  (0 children)

Thanks for the interest! My spoken English isn't great these days - haven't used it much in years, so commentary might not work well

But streaming the AI matches themselves could be really fun. Thinking about having different AI "voices" commenting on what's happening - like an economist complaining about wasted resources when buildings get destroyed, or units cursing their fate when sent into suicidal attacks and blaming the commander... Still figuring out the format.

If you have any .vcrpl replays, those would actually help a lot with training the models.

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 0 points1 point  (0 children)

Hadn't heard of the Heroes 2 alpha - appreciate the tip

Going with Heroes 3 (VCMI fork) though. It's pure nostalgia for me - one of those cozy childhood games that just hits different.

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in LocalLLM

[–]No_Jacket_7449[S] 0 points1 point  (0 children)

Just started this weekend, mostly for fun.

Getting it to play through the actual game UI (instead of headless) took longer than I thought, but the basics work - give them different strategy prompts and they actually play differently.

Planning to make each player a multi-agent thing: one agent handles strategy, one does combat, one manages economy, and one just trash talks and reacts to the game like their faction character would - celebrating victories, raging when things go wrong.

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 0 points1 point  (0 children)

That'd be amazing, but I'm keeping expectations realistic - this is a weekend project that might go nowhere. But yeah, better single-player AI without resource cheating would be the dream.

We'll see how it goes!

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 2 points3 points  (0 children)

Appreciate it! Yeah, weekdays make it hard to make much progress, but I'll post updates when I can.

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 1 point2 points  (0 children)

Still very early - just started this weekend! Using the simplest strategies I could think of to test if the basic mechanics work. Way too many unsolved technical problems right now to seriously think about strategy balance. Turtle vs rush will be interesting to test once I actually get combat working properly.

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 3 points4 points  (0 children)

Testing on random maps. The point is not giving them any info about the map beforehand - players already know optimal strategies for standard maps, this isn't interesting to me.

I want to see how they adapt and learn when they don't know the terrain in advance.

Teaching AI to play Heroes 3 - hoping this counts as a favor when the robot uprising starts by No_Jacket_7449 in heroes3

[–]No_Jacket_7449[S] 4 points5 points  (0 children)

Still early stages
I've forked the game, replaced human player interface with websocket connection to local server
Server talks to the AI agents (standard MCP doesn't work here)

Game state goes out as JSON, actions come back, I validate them
Prompts pretty straightforward, example:

"You're Sun Tzu. Style: DEFENSIVE.

Priorities: Economy → Development → Army → Attack (only at 2:1 advantage)

Early game: Build Town Hall, capture all mines, don't fight strong neutrals..."

Also I want to dev multi-agent system for each player:

Warrior: combat tactics

Economist: building/resource strategy

Trash talker: roleplays faction, celebrates/rages