Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
User Avatar
#776
Auto-translated
Thank you for your trust, but I'm afraid I can't live up to it. I tried to do what you needed, but I couldn't succeed. There are animations there, but it seems they weren't created for this object (although, that's obvious. The gates in CombatArena are monolithic, together with the wall, but we need gates that are separate from the walls. Then, there will be separate death animations for the gates and for each section of the wall, which makes sense). The attempt to find another model to match the animation I chose was unsuccessful. When I looked through the maps that the developers created for battles, I didn't find an example of gates that could help me; they are probably placed during the battle. That's how it is... :(
 

К А
Стикеры GBF в Telegram
In reply to Ment
User Avatar
#777
Auto-translated
Ment
Thank you for your trust, but I'm afraid I can't live up to it. I tried to do what you needed, but I couldn't succeed. There are animations there, but it seems that they were not created for this object (however, this is clear. The gates in CombatArena are monolithic, together with the wall, and we need gates that are separate from the walls. Then there will be separate death animations for the gates and for each section of the walls, which is logical). An attempt to find another model for the animation I chose was unsuccessful. When I looked through the maps that the developers made for battles, I didn't find an example of gates that would help me; they are probably placed during the battle. That's how it is... :(
The map is "Exile OGO-I". There are animated city gates directly on the map, which open when you approach them.
The mod for the map was made by someone other than the author, but you can still see how it works.
Моды для HeroesV:
NHF 0.90 : NHF - группа в VK

Карты для HeroesV:
Путешествие , Условие крови , Рука судьбы.Часть 1: В поход , Рука судьбы.Часть 2: Отчаянье , Рука судьбы.Часть 3: Восхождение , Стойкость
Абсолютная власть , Иду на Вы! , Корона Ургаша , На задворках
Мир надо уничтожить... Чтобы создать свой...
In reply to Ment
#778
Auto-translated
Ment
we need gates that are separate from the walls.

Thank you for pointing me in the right direction. I figured it out. The necessary gate models are located in \Arenas\CombatArena\NewGrassarena_siege and are named gate_u1r0.xdb, gate_u1r1.xdb, gate_u1r2.xdb. They are linked to animations in the s_gate.(ArenaModObject).xdb file in the same folder. This file contains the paths to these animations.

The trick is that when you place this model on the map, it appears far outside of it; I noticed this by chance. But after that, everything works – the necessary animation is specified, and it is launched with a script.

Here is a video with the resulting result:
http://www.youtube.com/watch?v=uKcpuhkK7c4

After that, the map stopped loading in the editor; I guess I need to examine the contents of that map mod from the Outcast map.
User Avatar
#779
Auto-translated
Outside the map? That's the thing :) I also found this model, but when I placed it on the map, I didn't see anything but emptiness :D But now I'll know. In general, thank you for the interesting question and finding the answer; it will be very useful for dialogue scenes.
 

К А
Стикеры GBF в Telegram
#780
Auto-translated
Do you know how to increase the size of an object beyond the range of the scale percent parameter? The size field in the object's geometry is not available for editing.
User Avatar
#781
Auto-translated
You can change it if you take the file where it's defined and modify it there. But it's pointless, as the parameter is likely needed for some in-game calculations and doesn't affect the visual appearance. You need to extract the model from the game, process it in Maya, and re-import it. I haven't learned how to extract it yet, unfortunately. In general, psatkha is a master in this area (he mainly hangs out on Hugo).

Added 1 minute ago
Hold on, where did you find "skale percent"?
 

К А
Стикеры GBF в Telegram
In reply to Ment
#782
Auto-translated
Ment
Just a moment, where did you find the "skale percent"?

In the external properties of a static object, which are visible when you select this object on the map.



Added 3 hours 58 minutes ago
Ment
You need to extract the model from the game, process it in Maya, and import it back.

It seems I can manage without it for now. I found a simpler way. Some models change size if you assign them random animations. The most significant increase, surprisingly, came from the giant's animation: Characters\Creatures\Academy\Giant_LOD-adv.

Here's what I got:



I'll use this on my map.

However, this method is clearly not applicable to all models. Besides, I only checked some animations; there might be even larger ones, but many don't have any effect at all.
User Avatar
#783
Auto-translated
Understood, thank you. As I understand it, it's not possible to exceed 200%. Well, in this case, the only option is to extract the model; otherwise, there's no other way...

Added 1 minute ago
However, this method is clearly not applicable to all models. Besides, I only checked some animations; there might be even larger ones, but many don't produce any effect at all.
Yeah. I applied giant animations to various swordsmen; it's quite amusing. I didn't expect it to work on static objects.
 

К А
Стикеры GBF в Telegram
In reply to Ment
#784
Auto-translated
Ment
Exactly. The player needs to defeat the clone.
and I still don't quite understand you – defeating the clone doesn't give anything special (other than the usual experience for such cases – i.e., the amount of experience will be based on the number of creatures killed according to the experience table) from the standard set of rewards from the Sphinx.
In reply to Ment
#785
Auto-translated
Ment
Does anyone have any ideas on how to determine if a person didn't answer the Sphinx's riddle? I have an idea, but it's poor and doesn't work well.

There is a solution:

SetTrigger( COMBAT_RESULTS_TRIGGER, "MyCombatResultsHandler" ) -- the trigger is activated at the end of each battle on the map, including battles between computers
function MyCombatResultsHandler( combatIndex )
if (GetSavedCombatArmyHero( combatIndex, 1 )==GetSavedCombatArmyHero( combatIndex, 0 )) -- the functions read the script names of the winning and losing heroes
then print('It's a Sphinx') -- if the names are equal, then it was definitely a Sphinx
else print('It's not a Sphinx')
end
end;

A description of this trigger and the functions for reading battle results can be found in HOMM5_A2_Script_Functions.pdf in the TRIBES OF THE EAST FUNCTIONS section.
User Avatar
#786
Auto-translated
antonag07, I've confirmed that this isn't the case. In this situation, they don't give experience; they give gold. AlexSAR2, the idea is excellent; I'll check it out. Regarding the previous suggestion: you should try adding an animation of Megagodzilla; it should be even better.
 

К А
Стикеры GBF в Telegram
User Avatar
#787
Auto-translated
How do I enable walkthrough mode?
And how do Masks work?
In reply to Джинна
#788
Auto-translated
Jinna
How do you enable the pathfinding mode?
And how do Masks work?
On the toolbar, click on Show AI Passability.

Paint the areas that should be impassable in yellow. If you want to restore pathfinding to these areas, erase the paint using Erase.

Added after 6 hours and 48 minutes
Ment
antonag07, I'm sure that's not the case. In this case, no experience is given, only gold.
You're right - I checked and it's true that experience is no longer given, only gold. By the way, I also found a bug - when merging units, one of them was added to the enemy unit, and I had to fight against superior enemy forces! I won with difficulty :mad:
In reply to antonag07
User Avatar
#789
Auto-translated
Hello to all forum visitors!
I haven't been on the site for a couple of days, and I have many questions!
Question #1
Is it possible to have some text appear at the top when approaching a prophet's hut, for example, "Find these items for me, and in return, I will give you the item you need."

Question #2
I would like to know more about what a mirror match is.
Does this mean you have to fight your own clone?
Question #3
What is the ROYAL MAUSOLEUM for?
What is its purpose?
Question #4
How can I make a monster not let anyone pass until you bring him the item he needs, and only then will he open the way?
Question #5
And one more question about the video: besides creating dialogues, are any other scripts needed?
If possible, please provide a map with an example!
Thank you in advance for answering my questions!
----------------------------------------------
Я начинающий картостроитель.Скоро буду
выкладывать карты, когда научусь всё делать.:smile01: :smile01:
User Avatar
#790
Auto-translated
1. Somewhere in the Properties tree. I haven't looked into it myself, so I can't say for sure.
2. This is related to the sphinx. If you answer correctly, you can choose a reward (20,000 gold, 15,000 experience, or an artifact); if you answer incorrectly, you'll have to fight a hero with the same army – a mirror image.
3. It serves no purpose. It was just standing there for decoration in the second mission of the second campaign in the original game. It can be used for scripts.
4. Only through scripts.
5. A video on the map? Enter StartAdvMapDialog(0);. I think this has already been mentioned.
Карты для Heroes of Might and Magic V
Цикл "Закадычные враги": "Особенное гостеприимство, "Супероружие", "Меж молотом и наковальней"
"Падение Шантири"

Кампания для "Кодекса Войны"
"Выбор Сагиттеля"

Statistics

Welcome our newest member: leyu