Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Heroist
13 years ago
Auto-translated
GiveHeroSkill("hero name", SKILL_LUCK);
GiveHeroSkill("hero name", PERK_LUCKY_STRIKE);

The skill is granted, but the perk is not. How can I grant a perk? And is it possible to influence the skill level so that it grants something other than the initial level?
In reply to Эритроцитоз
User Avatar
13 years ago
Auto-translated
Erythrocytosis
GiveHeroSkill("hero name", SKILL_LUCK);
GiveHeroSkill("hero name", PERK_LUCKY_STRIKE);

The skill is granted, but the perk is not. How can I grant a perk? And is it possible to influence the skill level in some way, so that it grants a level higher than the initial one?
There probably needs to be a sleep(1) between them.
If you call the function several times in a row, the skill level will also advance to the corresponding level.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
In reply to Heroist
User Avatar
13 years ago
Auto-translated
Heroist
Does anyone know what function is activated when you click on a monster and the number 9 on the mini-keyboard while creating a map? (Specifically for maps, not for videos). I had an Armageddon happen.
What?
I just checked, and nothing happens. Please provide more details.

If there is an array called attackers, what does length(attackers) return? And can you use a variable, for example, b = length(attackers), as a number?
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
In reply to Олегарх
User Avatar
13 years ago
Auto-translated
Oligarch
What?
I just checked, and nothing is happening. Please provide more details.

If there is an array called 'attackers', what does length(attackers) return? And can a variable, for example, b = length(attackers), be used as a number?
It returns a number, the number of elements in the array.
Of course, you can.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
13 years ago
Auto-translated
What?
I just checked, and nothing is happening. Please provide more details.
======================================

When I click, all objects and even the landscape on the map get mixed up. Some things are deleted, and others are moved to the end of the map; holes appear in the mountains, and some are replaced with openings under the textures.

Whatever
In reply to RedHeavenHero
User Avatar
13 years ago
Auto-translated
Okay... ``` function ChetBegin() attackers = GetAttackerCreatures() for index, attacker in attackers do count=count+ GetCreatureNumber (attacker); end; return count end function Chet() attackers = GetAttackerCreatures() for index, attacker in attackers do newcount=newcount+ GetCreatureNumber (attacker) end; return newcount end count=0 newcount=0 repeats=1 begin=1 function AttackerCreatureMove() if begin==1 then ChetBegin() begin=0 end Chet() if repeats==1 and count>newcount then SummonCreature(DEFENDER, 31, count-newcount) count=newcount end repeats=0 newcount=0 end function DefenderCreatureMove() repeats=1 end ``` IT WORKED:smile44: Thanks to everyone for the help:smile03: Added 1 minute ago
Heroist
What?
I just checked, nothing happens. Please explain in more detail)
======================================

When I click, all objects and even the landscape on the map get mixed up. Something is deleted, something is moved to the end of the map, holes appear in the mountains, and some are replaced with openings under the textures.
What version of the editor do you have?
I've worked with 1.0, 3.0, 3.1, and I've never noticed anything like that...
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
User Avatar
13 years ago
Auto-translated
How can I extract the “Rebels” town from the campaign map in Legends of Might and Magic 3, where I can recruit 1st-level Goblins, 2nd-level Elf Dancers, 3rd-level Swordsmen, 4th-level Berserkers, 5th-level Water Elementals, 6th-level Manticores, and Paladins?
User Avatar
13 years ago
Auto-translated
What version of the editor are you using? I've worked with 1.0, 3.0, and 3.1, and I've never noticed this... ===================================== Here's a screenshot from 3.0: It seems like the issue is with the extended editor...
Attachments 2
2 files attached • Total size: 702.6 KB

Whatever
In reply to Heroist
User Avatar
13 years ago
Auto-translated
Heroist
What version of the editor are you using?
I've worked with 1.0, 3.0, 3.1, and I've never noticed this...
=====================================

Here's a screenshot from 3.0:
It seems like the issue is with the extended editor...
Then I don't know, I only use the extended editor for creating scenes, sounds, etc.
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
13 years ago
Auto-translated
THANKS!

I suggest you try my map.
It’s here: /topic/at/636374/
COMMENTS are welcome
In reply to VIKTOP
User Avatar
13 years ago
Auto-translated
How do I switch to the Dungeon in DialogScene editing mode?
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
User Avatar
13 years ago
Auto-translated
Hmm, is it really necessary? I usually create dialogues on maps without a dungeon. After all, the surface can always be designed to look like a cave.
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
13 years ago
Auto-translated
Ment
Hmm, is it necessary? I usually create dialogues on maps without a dungeon. The surface can always be designed to look like a cave.
My video has a part above ground and a part below.
Мои карты:
Town
Готовится:Чума (40%), Сосиска(42%), Война Грааля
User Avatar
13 years ago
Auto-translated
Okay... Try experimenting with the hotkeys; I'm afraid I can't offer any other advice. Perhaps I could suggest creating videos on larger arenas so that everything fits on the surface.
 

К А
Стикеры GBF в Telegram
User Avatar
13 years ago
Auto-translated
Does anyone know where all the icons for unupgraded creatures are located? I'm trying to find them using the editor, but the images from the model, characters, and creatures folders don't work; it seems like they're not in the right format. It only recognizes images from the ui folder, but there are only creatures from A1 - Hammers of Fate (dwarves, neutrals, 3 upgraded Haven creatures) and A2 - Tribes of the East (orcs, neutrals, all 3 upgraded creatures). I'd like to find the icons for the 2nd upgrade and the basic creatures. (For simple monsters placed on the map, the location of their icons is not displayed, which is a shame).

Whatever

Statistics

Welcome our newest member: recijeb