Skip to content

Posts from Super Duel Battles against AI.

No ratings yet — be the first to rate!
User Avatar
Auto-translated
Name: Super Duel Battles
Map name: Epic_Duel_AI
Map type:
Multiplayer Arena
Two-level map: no
Number of players:
2
Size: Tiny
Game version: 3.1
Map author: toxa379
Map description:
This is a mod map (many standard constants have been changed, not suitable for regular play).
Sandbox for 2 players.
Ability to create an army from random creatures.
Ability to choose siege mode, castle defense, or naval battle.
Army size selection from 6 months to 50 years + random time.
Warehouses of artifacts, magic, runes, and spells.
Racial abilities are taken into account (additional units for the Order and Necropolis, the sworn enemies of the Conflux) 3 chests with experience up to levels 20, 30, and 40, respectively.
AI support for Player 2 (Launch through network game - one computer)

Important!
Do not skip the first day until the corresponding message appears; otherwise, the scripts will not work correctly.

Script execution order:
1. Player 1 chooses the army composition.
2. Player 1 chooses the army size.
3. If Player 2 is AI, Player 1 chooses a bonus to Player 2's army size.
4. Player 1 chooses a bonus to magic.
5. If a non-random set of troops is chosen in step 1, then the players of the Order or Necropolis choose racial bonuses. For the Forest Conflux, a sworn enemy appears near the castle.
6. At the beginning of day 2, a bonus magic is added to the main hero or another hero of the highest level of each player, chosen in step 4.
7. At the beginning of day 2, the battlefield can be chosen: regular battle, castle siege, or naval battle.
8. At the beginning of day 3, mana is replenished for the hero of the highest level (at the time of the second day) of each player, and the battle starts according to the choice in step 7.

The current version of the map is from March 7, 2022.
User Avatar
Auto-translated
Two weeks have passed, and the AI still doesn't work. I replayed, and it's the same again.
In reply to masgak
User Avatar
Auto-translated
masgak
It's been two weeks, and the AI still doesn't work.
I replayed it, and it's the same. The map doesn't work.
Download the latest version of the map and run it through multiplayer. The single-player scenario doesn't work.
User Avatar
Auto-translated
Everything worked out. The only thing is that you have to prepare the second player for the battle yourself.
In reply to masgak
User Avatar
Auto-translated
masgak
Everything worked out. The only thing is that you need to prepare the second player for the battle yourself.

If you choose the second player to be controlled by the computer, it will prepare itself by the 3rd day.
User Avatar
Auto-translated
It all worked out, I just messed up.
User Avatar
Auto-translated
Updated version. Added options:
Ability to create an army from random creatures.
Ability to choose siege or castle defense mode.
The computer player learns a super skill when needed.
Adds 0.1 to spell power each week, so magic isn't completely useless with large armies.
Auto-translated

What should I do? I don't have any options at all.

 

In reply to lorddraugr
User Avatar
Auto-translated
lorddraugr

What should I do? I don't have any options.


For a single-player game against the computer: **Start a network game - one computer, set the orange one to be the computer.**
Auto-translated
We played with friends, both individually and together, and we always had the same problem: nothing can be selected; immediately after loading, it says "the army will be ready soon," and it's always the same, pre-set army. Otherwise, the game works well. We're using a mod for Heroes campaigns and simultaneous turns, but even without it, we still encounter the same issue.
Auto-translated
Two questions arose:
1) I noticed that in battle, +20-30 to the hero's magic stat is added. Where does it come from, what is it for, and can it be disabled somehow?
2) When playing against the AI, what logic does it use to develop its skills, and does the game's difficulty and the size of the army I choose for it affect this?
In reply to Polskiy
User Avatar
Auto-translated
Polskiy
Two questions arose: 
1) I noticed that in battle, +20-30 magic is added to the hero's stats. Where does it come from, what is it for, and can it be disabled somehow?
2) When playing against the AI, what logic does it use to develop, and does the game's difficulty and the size of the army I choose for it affect this?

1. I added magic so that magic would be useful for large armies, but it turned out that it was still not enough. I added an option to choose a magic bonus.
2. With large armies, the AI takes attack, defense, and death magic. With armies of a specific race, it takes a super skill. The size of the army only affects the troops.

Should I create a separate option to let it choose what to develop, but usually it chooses useless things?



Added 9 minutes later
L1ke_A_PR0
We were playing with friends, and one of us always has the same problem: nothing can be selected; immediately after loading, it says the army will be ready soon, and it's always the same annual army. Otherwise, it works well. We are using a mod for Heroes Campaigns and simultaneous turns; we tried without them, and it's still the same.

I rewrote the code (I'm not a very good coder). Now it should work. It should support simultaneous turns, and there should be only one map in the maps folder, and the UserMODs folder should be empty.
In reply to toxa379
Auto-translated

What should I do if, on the first day, it immediately says: the army will arrive soon, don't touch anything. After waiting for about 20 minutes, it doesn't arrive. As you can understand, it doesn't even give you a choice.
I launch it through the network, and there's nothing extra in the UserMods and Maps folders.
In reply to serginio2009
User Avatar
Auto-translated
serginio2009
What should I do if, on the first day, it immediately says: the army will arrive soon, don't touch anything. After waiting for 20 minutes, it doesn't arrive. As you can understand, it doesn't even give you a choice.
I launch it through the network, and there's nothing extra in the UserMods and Maps folders.
20 minutes is too long; all the scripts for the initial setup of battles take no more than 30 seconds. I can clarify again: it should be version 3.1 of the game, with no other files in UserMods and Maps, and the game should be launched as: network game - one computer. The player is in the first slot, and the computer is in the second slot.
In reply to toxa379
Auto-translated
toxa379
20 minutes is too much; all the initial battle setup scripts take no more than 30 seconds. I can clarify again: the game version should be 3.1, with no other files in UserMods and Maps. Launch the game: Multiplayer - one computer. Player in the first slot, second slot - computer player.
Yes, everything is exactly as described. There is nothing in the UserMods and Maps folders. Version 3.1. Launched through Multiplayer - one computer. Orange is the computer. I am purple. Besides the words: "Army will arrive soon," there is nothing else.

Statistics

Welcome our newest member: Emil