This doesn't exist in the game.
Posts from Current questions and answers regarding the map editor.
Auto-translated
In the World of Enroth map, there was a cloud hanging in one place. And it didn't react to being selected.
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?
Well, it's just fog...
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.
leading question: how do you make clouds? Is it lighting? Or an effect?
Multiplayer: Господство, Извечное противостояние, Война за Магию, Торговая империя, Анатомия войны, Эксперимент
SingleScenario: Последний Рубеж, Трон, Элиралис, Вернуться домой!, Лабиринты разума
Campaign: Колонизация
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.
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.
| 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? |
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).
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?
How do I set it up?
<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!