Skip to content

Current questions and answers regarding the map editor.

User Avatar
#5090
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.
С уважением, }{0TT@6bI4
_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________