Skip to content

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

5.0 (12 ratings)
In reply to 32MeTpa
User Avatar
#1668
Auto-translated
I'm creating a map and have a question:
I've disabled "Astral Gate" on the map and placed a scroll with this spell. Question: will "Astral Gate" work if the hero has this scroll?
Мои карты:
Три недели: /topic/at/583154/
Неспокойные земли: /topic/9211/
Неравное Противостояние: /topic/9473/
In reply to Nikitatigr
User Avatar
#1669
Auto-translated
Nikitatigr
I'm making a map and have a question:
I've banned "Astral Gate" on the map and placed a scroll with this spell. Question: will "Astral Gate" work if the hero has this scroll?
It will.

Is it possible to attach point lights to a hero?
In reply to 32MeTpa
User Avatar
#1670
Auto-translated
32MeTpa
They will be.

Is it possible to attach point lights to a hero?

Thank you for the answer!
Yes, it is. There is a special section called "Point Lights" in the hero's properties.
Мои карты:
Три недели: /topic/at/583154/
Неспокойные земли: /topic/9211/
Неравное Противостояние: /topic/9473/
In reply to Nikitatigr
User Avatar
#1671
Auto-translated
Nikitatigr
In the hero's properties, there is a special section called "Point Lights".

I know that – this property exists for all objects... But for a hero, if you set it the same way as for any other object, it doesn't work (probably because he is a moving object).
So, is it possible to make him a light source, or is it impossible?
In reply to 32MeTpa
User Avatar
#1672
Auto-translated
I also have a question: is it possible to make it so that the hero doesn't walk around the map but teleports instead? I spent about 2 hours yesterday picking out different walking animations for Kha-Beleth – it just doesn't look right. But teleportation, like the one used by the Jarls, would suit him much better. :confused:
User Avatar
#1673
Auto-translated
I can't give you a precise answer, as I haven't tried it myself, but try replacing the movement animation with an animation of entities moving like Jarls (i.e., those that don't walk but teleport).
Ideally, Jarls should have a teleportation animation instead of a walking animation.
In reply to 32MeTpa
User Avatar
#1674
Auto-translated
it's not that simple... those creatures that teleport have 2 animations: moveStart and moveEnd. When I assign them, it just keeps rotating, but doesn't disappear... there must be something more complex involved...
User Avatar
#1675
Auto-translated
The idea arose to make the heroes used only in cutscenes playable, for example, the infantry units Raileigh and Zehir. The problem is that they don't have animations for buffing, casting, or attacking (the movement needs to be checked as well). Can you tell me where I can define these animations? I couldn't find it in Shared.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
In reply to Победитель
User Avatar
#1676
Auto-translated
Winner
An idea arose to make the heroes used only in cutscenes playable, for example, the footmen Raileigh and Zehir. The problem is that they don't have animations for buffing/casting/attacking (the movement needs to be checked). Can you tell me where I can define these? I didn't find it in Shared.
I have a counter-question: where can I find the footman Raileigh in the editor? :confused:
Мои карты:
Три недели: /topic/at/583154/
Неспокойные земли: /topic/9211/
Неравное Противостояние: /topic/9473/
In reply to Nikitatigr
User Avatar
#1677
Auto-translated
Winner,
Ment
We take a hero, in the object's properties tree, we select Shared and click on "...".
In the right part of the newly opened window, we are interested in the HeroCharacterArena and HeroCharacterAdventure properties. For each of them, we click on "..." and select the Minotaur (Characters\Creatures\Dungeon). We are in no hurry to close the window: the Minotaur lacks animations that heroes should have. We select ArenaAnimSet and click on "...". For complete happiness, it lacks buff, cast, defeat, and victory animations. We right-click on animations, add in the opened menu, in kind, we write the name of the animation that we don't have, and in the Anim property, we copy the value of this property from some other animation (to taste). In general, that's it. The only problem: melee attack, because our Minotaur, in theory, cannot shoot. Unfortunately, standard creature animations are not suitable for melee attacks, so I can only suggest adding rangeattack to the list of animations above for shooting.
In reply to Nikitatigr
User Avatar
#1678
Auto-translated
Nikitatigr
I have a counter-question: where can I find the footman Raelag in the editor? :confused:
You place a hero on the map. In MapPropertiesThree, select Shared/DialogScenes/Raelag_DSU :).

Markel The Imperor, thank you!
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
#1679
Auto-translated
Unfortunately, the developers didn't give the footman Raialag any combat animations. Therefore, it won't be possible to use him as a hero :(.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"
User Avatar
#1680
Auto-translated
Damn, I forgot all the scripts in a year. Can you tell me the function that sets the initial resources for a player?
In reply to 32MeTpa
User Avatar
#1681
Auto-translated
32MeTpa
Dude, I forgot all the scripts in a year.
Can you tell me the function that sets the initial resources for a player?
SetPlayerStartResources(4, 0, 0, 0, 0, 0, 0, 0);
The first number is the player number, and the rest are the resources themselves.
Мои карты:
Три недели: /topic/at/583154/
Неспокойные земли: /topic/9211/
Неравное Противостояние: /topic/9473/