Connection ErrorBad RequestThis page went staleSession ExpiredSign in requiredForbiddenNot FoundToo Many RequestsServer ErrorBad GatewayService UnavailableGateway TimeoutHTTP Version Not Supported
Session Expired
Your session has expired. Please log in to continue.
Sign in required
You need an account to do that. Sign in or create one — it only takes a minute.
This page went stale
Your security token was rejected, usually because the page sat open too long or you signed in elsewhere. Nothing was saved. Reload the page and try again.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Error Details:
Share Link
Current questions and answers regarding the map editor.Auto-translated
Regarding the race:
In the map properties tree, follow the specified path and try changing the value of the Race field for each computer player. Either from TOWN_NO_TYPE to TOWN_RANDOM, or vice versa. This might help.
The Grail is created by scripts in single-player mode.
Nothing worked. With the faction, I changed not only the two specified positions but also tried setting specific ones (e.g., Necropolis) – but even then, when launching the game, a completely random faction would appear (e.g., when I set Necropolis, I got Dwarves). I don't even have any ideas – I clicked on everything I could in the tree... And with the Ash's Tear, I tried to overwrite the script, but out of 30 attempts, all 30 resulted in the message "program does not work." Does it seem like I have problems with the game? Should I download and install a different version?
Dear forum members, please advise – has anyone encountered a problem where the map freezes on day 1, week 3, month 3? Could this be due to the lack of a victory condition against the opponent (impossibility of winning)? Thank you in advance for your advice.
How can I make the camera move like when entering a wizard's hut? I need a specific area to be displayed, but the camera shouldn't rotate or jump; instead, it should immediately focus on the desired location.
Could you please remind me how to create an ally and assign a SPECIFIC castle in the editor? The problem is that even if the alliance works, assigning it to a castle doesn't. Or vice versa. If needed, I can show a video or screenshots. Some maps simply refuse to form an alliance at all.
Firstly, any music requires an ogg file, which should be placed in the music folder. Secondly, you need an xdb-type pointer called Music, which will contain the path to the music file (examples can be found in the developer files).
On the map, music can be taken from two places: the hero's music and the surface type music (grass, lava, etc.). In the first case, you only need to create a link to the file pointer in the AdventureMusic property of the hero's AdvMapHeroShared. The second case is the same, but the object type is AdvMapTile.
The music during battles is controlled by the TableRaceMusic.xdb file, specifically combatMusics and SiegeMusic. Each faction has its own tracks.
Here's another question... If I script a hero's behavior in battle, what do I need to do to prevent the log from displaying "defense" after their turn? For example:
function DefenderHeroMove(heroName) print ("SPELL_PRAYER!"); UnitCastGlobalSpell(GetDefenderHero(), SPELL_PRAYER); defender_turn = defender_turn +1; return not nil; end;
The spell is cast, but the battle log under the map shows: Prayer... and then, Randall: defense. Ideally, he should just end his turn after casting the spell. Of course, it's not a major issue, but it's annoying.
I tried adding a sleep command afterward, but it doesn't help.