Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Ment
User Avatar
Auto-translated
Ment
This doesn't exist in the game.
And in the World of Enroth map, there was a cloud hanging in one place. Moreover, it didn't react to being selected.
In reply to Олегарх
Auto-translated
Oligarch
In the World of Enroth map, there was a cloud hanging in one place. And it didn't react to being selected.
I don't know about the cloud, but you can make it rain. It's one of the map's lighting effects. It's called something like "...foggy...", I don't remember exactly.
In reply to Олегарх
Auto-translated
Oligarch
didn't help :mad:. but I'm interested in "fog_light_level"..level, true, time
it seems like you need to specify the path to the lighting, and where does "level" come from?
It seems like you need to specify the name, not the path. And in the editor, you assign this name to the desired lighting (MapPropertiesTree - there are tabs with lighting at the beginning).
In reply to Олегарх
User Avatar
Auto-translated
Clouds are possible, but they don't produce rain. In principle, you can create rain, but you need to model it. -------- Well, it's fog after all... But okay, if it's really there, that's good.
 

К А
Стикеры GBF в Telegram
In reply to Ment
Auto-translated
Ment

Well, it's just fog...
but in reality, raindrops are falling...
User Avatar
Auto-translated
In general, the lighting turned out to be very simple:

1) Extract the desired AmbientLight into the map folder (as a new object, name it).
2) Enter the path to it in map.xdb
to

<item href="/path to the file (in your map)/file name.xdb#xpointer(/AmbientLight)">

3) Then, write a script, something like this:

function function()
some magic
...
SetAmbientLight(0, "File Name in Map (here only the file name without the format and everything after the . example: LightHeaven.xdb, in the script it will be: "LightHeaven")", true, 10);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "region", "function");

The same applies to the underground, but you need to specify the path in UndergroundAmbientLights.
In reply to Олегарх
Auto-translated
KioM
leading question: how do you make clouds? Is it lighting? Or an effect?
I already wrote that I don't know about clouds. And I haven't seen any like that :cool:
In reply to Олегарх
User Avatar
Auto-translated
fog... fog (you started talking about clouds :)) how do you make fog? For example, on the map: Druid Island, I explored the Bay of Shipwrecks and still couldn't figure out how the fog is made there.
Карты для Heroes V: Повелители орды:
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация
In reply to KioM
Auto-translated
KioM
fog... fog (you started talking about clouds :)) how do you make fog? example map: Druid Island, I searched and explored the Bay of Shipwrecks, but I couldn't figure out how the fog is made there.
Ah, it happens :smile04:
Look at the 'lighting' of the maps - it should be there. Or, as a last resort, create your own 'lighting' - you can create the fog in it. ('lighting' is AmbientLight for the map).
If that's the kind of fog you need.
In reply to KioM
User Avatar
Auto-translated
This issue has become tiresome, but it still remains unresolved: I'm creating a map, it's 1 KB in size, but the editor won't launch it (the map is filled with content).
I save the map, but it stops working; the editor won't open it. After saving, it's 22 bytes in size. What should I do?
"There are two possible causes for the problem:
1) The path to the map or the map's name contains Cyrillic characters. To avoid this problem, replace all Cyrillic characters with Latin characters.
2) The path to the map is too long (e.g., C:\Program Files\Nival Interactive\Heroes of Might and Magic V\Heroes of Might and Magic V\Heroes of Might and Magic V\Heroes of Might and Magic V\Maps). Solution: shorten the path as much as possible."

I've rechecked, and these problems don't exist. I have the Gold Edition installed. :smile45:

Added after 56 minutes
The issue is resolved. I downloaded the Russian editor; huge respect to the developers. :smile54: I'm working on a decent single-player map (at least, that's what I think).
In reply to JonnyP
User Avatar
Auto-translated
JonnyP
I don't know about the cloud, but you can create rain. It's one of the map lighting options. It's called something like "...foggy...", I don't remember exactly.

And how do you set it up?
In reply to Олегарх
Auto-translated
Oligarch
How do I set it up?
In the map properties. Either in MapProperties or in MapPropertiesTree. By default, you should have HeavenLight(Grass) on the surface when creating a map.
In reply to KioM
User Avatar
Auto-translated
either I'm doing something wrong, or... In short, as I understand it, you need to copy Light into the map using ZipMaster, then specify it in map.xdb:

<item href="/path to file (in your map)/file name.xdb#xpointer(/AmbientLight)">

and then write a script. It seems to work fine when I specify it in map.xdb. If I put <item href="/path to file (in your map)/file name.xdb#xpointer(/AmbientLight)"> in the first place, that lighting will be applied initially. But I can't figure out what to do next.

Added 6 minutes later
:smile03: :smile03: :smile03: :smile03: :smile03: Hooray! The editor seems to be forgetful, so I had to copy the lighting twice.
Thank you all!
In reply to Олегарх
Auto-translated
Hello everyone. I know there might be a topic about this already, but could someone share if they know of a map with the largest possible size that has been created?
User Avatar
Auto-translated
In one line, you set their type (something like CREATURE_PEASANT), in the other two, the initial and maximum quantity, and in the last one, a flag indicating whether they will grow.
 

К А
Стикеры GBF в Telegram

Statistics

Welcome our newest member: Emil