Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
6 years ago
Auto-translated
Jack_of_shadows, so, the idea is to figure out in what situations he would use it and create those conditions? Well... that sounds unrealistic. It's easier to just recruit creatures with those same spells, since they always use their own spells.
User Avatar
6 years ago
Auto-translated
you can use combat scripts to make the AI cast the desired spells.
User Avatar
6 years ago
Auto-translated
Hello, everyone. Please help me with the following questions: 1) Is it possible to place objects from the .ArenaObjects tab onto a scenario map created in the map editor? (Because when I currently place them, many of them don't appear on the map when I test it directly in the game.) 2) How can I set the number of neutral creatures to depend on the difficulty level?
User Avatar
6 years ago
Auto-translated
Hello! Is it possible to insert the Agrael model in the "Tribes of the East" editor? I couldn't find it in the list.
User Avatar
6 years ago
Auto-translated
When creating a hero for a duel, I can’t give the hero more than 16 archers/15 assassins. What’s the problem?
In reply to ShockWave
User Avatar
6 years ago
Auto-translated
Hello, could you please tell me how to set up a quest (in my case, an additional one) to rescue a specific hero from prison? When I go through the map properties - Objectives, I don't find anything suitable among the OBJECTIVE_KIND variables. I tried to specify the hero's script name through OBJECTIVE_KIND_HERO_MUST_SURVIVE with the Holdout 1 parameter (so that after a day has passed since the hero's release, the quest is considered completed), but nothing happens. How is a quest to rescue a hero from prison set up?
In reply to Navkratis
User Avatar
6 years ago
Auto-translated
Navkratis, only through a script. This script is available in the fifth mission of the campaign for Isabel, when we, as Godric, free her from prison. Therefore, you will need either the original Heroes 5 or a mod that includes all campaigns. Then, open data.pak with any archiver and go to Maps/Scenario/C1M5/Mapscript.lua.
In reply to Долгий
User Avatar
6 years ago
Auto-translated
Thank you for your response; I will take a look at how it's done there. Although I wasn't keen on dealing with scripts, it seems I have no choice.
6 years ago
Auto-translated
Is it possible to play with a friend in a team against the AI? If so, how? I would be grateful to anyone who answers.
In reply to KurtKobain
User Avatar
6 years ago
Auto-translated
KurtKobain
Is it possible to play with a friend in an alliance against the computer? If so, how? I would be grateful to anyone who answers.
Uh... Yes, of course: Map Properties => Teams or Map Properties Tree => Players => Custom Teams = true => Assign the same number to players on the same team.

Added 15 minutes ago
Vladislav A-V
Hello, esteemed colleagues. Please help me with the following questions: 1) Is it possible to place objects from the .ArenaObjects tab on a map for a scenario created in the map editor (since many of them are not displayed on the map when it is tested directly in the game)? 2) How can I set the number of neutral creatures to depend on the difficulty level?
Initially, all stacks already depend on the difficulty level, as a percentage of the number you set: recruit 50%, warrior 100%, veteran 111%, hero 139%. To make the stacks not depend on the difficulty level, you need to set DoesNotDependOnDifficulty = true in the stack properties.

Added 2 minutes ago
ShockWave
When creating a hero for a duel, I cannot give the hero more than 16 archers/15 assassins. What is the problem?
The duel set editor itself has a limit on the number of creatures, for example, you cannot place more than 6 creatures of level 7 in one stack, and so on for any creatures – there is a certain maximum.

Added 5 minutes ago
Miefo
Hello! Can I insert the Agrail model in the "Lords of the Horde" editor? I couldn't find it in the list.
Yes, you can either use Agrail in AdvMapHeroShared (AdvMapHeroShared), or then for any hero in AdvMapHeroShared, by clicking on the 3 dots, select in the parameters Model, AnimSet, Chatacter/ArenaMeleeCharacter/AdventureCharacter (or something like that) everything that corresponds to Agrail.

Added 15 minutes ago
Gerter
Can I use combat scripts to force the AI to cast the desired spells?
Yes. You can. Any other questions? In principle, it is done like this:
1. Create a new Lua script and .xdb 2. In the main script, write SetHeroCombatScript("nAIheroname","/Path/To/Script/Script.xdb#xpointer(/Script)). 3. In the new script, write, for example,
function mass_curse(myhero)
UnitCastGlobalSpell(myhero, SPELL_MASS_CURSE)
end;

function Start()
myh=GetAttackerHero();
if myh=="compname" then
startThread(mass_curse);
end;
end;

It seems that's about it... This script automatically forces the computer with the specified name to cast mass weakening at the beginning of the battle.
User Avatar
6 years ago
Auto-translated
But 16 assassins is a ridiculously small number. Pre-built heroes have many more.
In reply to ShockWave
User Avatar
6 years ago
Auto-translated
ShockWave
But 16 assassins is a ridiculous number. Pre-built heroes have many more.
The developers give pre-built heroes whatever they want. In principle, one level 1 creature of the Warlock faction is equivalent to 4-5 creatures of the same level from other factions...
5×16=80, and I think you can have 90 goblins. So, it seems everything is correct.
User Avatar
6 years ago
Auto-translated
Good afternoon. Could you please tell me what might be the reason why the game no longer recognizes the map I created? I checked it several times during the creation process. But today, the game stopped recognizing it, and I don't understand why. I don't think I made any changes.
In reply to Iriri
User Avatar
6 years ago
Auto-translated
The game runs stably on Windows 7 with a single disk and version 3.1. If any of the above is not met, there may be various bugs, such as maps disappearing. Otherwise, try saving the game as a different file and specifying a different folder (e.g., the desktop) instead of the usual save. And, of course, the map should contain at least two players.
In reply to Долгий
User Avatar
6 years ago
Auto-translated
Long
The game runs stably on Windows 7 with a single drive and version 3.1.
If any of the above is not the case, there may be various bugs, such as maps disappearing. Well, try saving as a different file instead of a regular save, and specify a different folder (e.g., the desktop). And, of course, the map should contain at least two players.
Thank you. It seems to be working now.
Then, another question. How do I properly change the hero model? That is, let's say I want a swordsman to appear instead of the knight hero, and the swordsman should be recolored. I found and recolored the model, but I need only the hero to be recolored, not all swordsmen.

Added after 12 hours 28 minutes
I seem to have more and more questions...
Please tell me how to properly set the parameters for the OBJECTIVE_KIND_BUILD_BUILDING_IN_TOWN task, which requires building a capitol in a town. If I set the city name in Parameter [0], the task is completed immediately when the map starts. If I add anything else, it stops relating to that city. I've already broken my head over this.

Statistics

Welcome our newest member: recijeb