Skip to content

Posts from Current questions and answers regarding the map editor. Auto-translated

5.0 (12 ratings)
User Avatar
#2741
Auto-translated
You can link an animation to a trigger, for example.
To get into the Dungeon, just place an entrance and an exit, and link them with a single group.

Whatever
User Avatar
#2742
Auto-translated
Every 10 seconds, you can:
startThread(function()
while IsObjectExists('name') do
PlayObjectAnimation("name", "attack00", 3)
sleep(50)
end
end)
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2743
Auto-translated
Thank you!
I have a few more questions: 1 - I couldn't add custom music to the map (in .ogg format), and 2 - how do I create a pit in the Dungeon? 3 - I'm still having trouble with regions... and am I bothering you too much?
Правило во взгляде...
In reply to Rhenish
User Avatar
#2744
Auto-translated
Rhenish
Thank you)
I have a few more questions: 1 - I couldn't insert custom music into the map (in .ogg format), and 2 - how do I create a pit in a dungeon? 3 - I haven't figured out how regions work... and am I bothering you too much?
1) Music should be placed in a separate folder, so there's no need to embed it in the map. Ask your birthday person to put the music in the "music" folder.
2) Place some static object (preferably for underground use), in the properties tree, in the "Shared" line, click on "..." and in the directory tree that appears, look for something like "Dark Dawn" or "abyss". I can't give you the exact link right now.
3) Were you able to rename the region?

Added 30 seconds ago
How much time is left until the big day?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2745
Auto-translated
still, lizards don't spit fire. but now, every 10 seconds, a ring shimmers beneath them.

Added 1 minute ago
RedHeavenHero
1) The music is placed in a separate folder, so there's no point in embedding it in the map. Ask your birthday person to put the music in the music folder.
2) Place some static object (preferably for underground use), in the properties tree, in the Shared line, click on ..., and in the directory tree that appears, look for something like Dark Dawn or abyss. I can't give you the exact link right now.
3) Did you manage to rename the region?

Added 30 seconds ago
How much time is left until day X?

1 - it doesn't work when testing the map.
3 - it worked
----
Well, there's plenty of time, April 24th, so I'll even have time to sneak into his computer and put the music in the folder.
Правило во взгляде...
User Avatar
#2746
Auto-translated
Then, select the dragons, press..., and in the right window, opposite animSet, press... and in the left window, next to the selected element, look for an element with a similar name, but differing from it in that it has the word arena instead of LOD.
1) Please provide the contents of the corresponding xdb file.
3) Okay. What should happen in the ambush? A battle or just a loss of creatures?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2747
Auto-translated
1) I didn't quite understand, but I'll show you everything related to this topic with screenshots.



Well, something like that...

3) In the ambush, the hero should lose 30% of their army. No, of course, a battle will be needed, but that's later; I haven't finished that part yet.

I can't seem to create chasms in the dungeon. And another question arose. Does the script for fire-breathing only work on gnome lizards, or on all dragons? And for some reason, when I hold down the Alt key, my black dragon starts to glow blue.

Is it possible to change the appearance of a garrison? I changed it, but as a result, the computer stopped recognizing it as a garrison....
Правило во взгляде...
In reply to Rhenish
User Avatar
#2748
Auto-translated
1) Everything is clear. Music doesn't work as such, and not just with your music. 2)
function ambush(hero)
Trigger(6, "region name", nil)
for i=0,6 do
local id, n = GetObjectArmySlotCreature(hero, i)
if id ~= 0 then
RemoveHeroCreatures(hero, id, ceil(n*0.3))
end
end
end

Trigger(6, "region name", "ambush")
3) The script for the flame-spitting ability works with everyone who uses it. The blue glow is normal. This is how all non-statistical objects are highlighted.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2749
Auto-translated
1) I'm so sorry. I found such a great track...
2) Thank you!
3) I increased the number of dragons... the script for the breath attack stopped working o_o
Правило во взгляде...
In reply to Rhenish
User Avatar
#2750
Auto-translated
Rhenish
1) That's a shame. I found such a great track...
2) Thank you!
3) I increased the number of dragons... the script for the breath attack stopped working o_o
1) If on your map, the player will fight only with a specific hero, then you can assign music to him through Shared.
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2751
Auto-translated
I actually want to make him only play as Vlad, but my friend has a habit of building "hero chains." Well, he has the main hero, and then another 10 heroes behind him, replenishing their armies.

Added 3 minutes ago
Although, I admit, it's a good idea. I'll try it later. For now, I need to figure out the roaring dragons. During testing, the spitting script didn't work on the Black Dragon. Later on, it stopped working altogether. What could be the reason?

Added 1 hour 16 minutes ago
Properties and script. Properties - Lava Dragons. They used to spit lava, but now they don't.
Правило во взгляде...
User Avatar
#2753
Auto-translated
Of course.


Added 51 seconds later
AnimSet:Characters\Creatures\Dwarves\AlternativeUpgrade\T7_LavaDragon\T6_LavaDragon-arena
Правило во взгляде...
User Avatar
#2754
Auto-translated
Okay. Everything seems correct here. Is anything displayed in red or orange in the console?
Карты для Героев Меча и Магии 5
Одиночные: Завеса срывается, Посол, Последний рывок, Эхо Пустоты
Кампания: Империя Единорога

Существа NCF
Орден Порядка: 1
Нейтралы: 1 2 3 4
User Avatar
#2755
Auto-translated
To... a console? *I immediately thought of PlayStation.* If you tell me where to go, I'll tell you.
Правило во взгляде...