Connection ErrorBad RequestSession 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.
Request Failed
We encountered an issue while processing your request.
Please check your internet connection and try again.
Error Details:
Share Link
Posts from Current questions and answers regarding the map editor.
another question arose: how do you apply an animation to a creature on the map?
You give the creature a script name (Name) and write the following in the script: PlayObjectAnimation('script.name', 'animation', MODE) The animation can be, for example, 'idle00', 'death', 'attack00', 'happy', 'hit', 'rangeattack', 'cast', 'specability', 'stir00'. Modes: IDLE - repeat the animation, ONESHOT - play the animation once, ONESHOT_STILL - play the animation once and freeze in the position of the last frame, useful for 'death', NON_ESSENTIAL - play the animation once if another animation is not currently playing on the object.
Here are the xdb and dds files in the archive. And I had to slightly increase the texture size to 240x180, adding empty areas to the right and bottom of it, so that it loads correctly.
Excellent! Thank you! I've finished my first mod, which adds new arenas. Should I publish it in the MODS thread for Heroes of Might and Magic 5: "Tribes of the East"? Or in the maps section?
And my imagination suggests: is it possible to slightly change the gameplay on the arena? For example, 1) add an object, approaching which any creature receives a random blessing or curse once per battle? 2) add several stacks of specific creatures to the battlefield, which would be neutral and fight against both players? I suspect that this can be scripted, but, as far as I know, the scripts for battles are different from those for the global map. Here, I found AddCreature(side, type, number, x = -1, y = -1); But this is only for one or the other player. And, I confess, I have never written scripts for tactical mods. I don't even know where to write them.
You give the creature a scripted name (Name) and write in the script: PlayObjectAnimation('script. name', 'animation', MODE) The animation can be, for example, 'idle00', 'death', 'attack00', 'happy', 'hit', 'rangeattack', 'cast', 'specability', 'stir00'. Modes: IDLE - repeat the animation, ONESHOT - play the animation once, ONESHOT_STILL - play the animation once and freeze in the position of the last frame, useful for 'death', NON_ESSENTIAL - play the animation once if another animation is not currently playing on the object.
And where exactly should I write the script?
Added 19 minutes later Robertylia
And where exactly should I write the script?
Oh, I understand now, it worked, thank you:)
Eleondor
Auto-translated
Could you please explain why, when modding a map, I set both "human playable" and "computer playable" in the editor, save, and close it? Then, when I open the map again, it reverts to only having the "human playable" option checked. How can I fix this?
I don't understand one thing... why, when I place an object on a LEVEL surface, the editor shows this error (see Figure 1). I seem to have leveled the terrain, but it still doesn't work (see example 2). This often happens when there is nothing on the map and you place, for example, a Castle...
I don't understand one thing... why, when I place an object on a LEVEL surface, the editor shows this error (see Figure 1). I seem to have leveled the terrain, but it still doesn't work (see Example 2). This often happens when there is nothing on the map and you place, for example, a Castle...
These errors don't affect anything; you can ignore them.
Sorry for asking so many questions, but when I'm making a map, I often encounter situations where I can't figure things out on my own.
---------------------------------------------
So:
1) Regarding the scripted name in the prophet's hut. What is the scripted name for?
2) I know it's done with a script, but I still want to make it so that after a certain amount of time (e.g., 2 years in my case), a demon appears in a specific location (see the attachment below), and then a quest is given to kill it. How can I do this?
+ How are the animations translated (so I don't get confused): 'idle00', 'death', 'attack00', 'happy', 'hit', 'rangeattack', 'cast', 'specability', 'stir00'?
Here's a question: Is it possible to add new duel characters so that they appear not only in their price category but also among all other characters? I tried replacing one with another – it works. But adding a new one doesn’t work for some reason. In the PresetMap folder, in the Map file, there are only three heroes specified for each faction.
I tried adding a similar line and creating a corresponding file – it didn’t help. There are still only three. Probably, there is another file somewhere containing information about the number of possible characters. Please help! :smile45:
Sorry for asking so many questions; it's just that when I'm making a map, there are times when I can't figure things out on my own. --------------------------------------------- So: 1) Regarding the scripted name in the prophet's hut. What is the scripted name of? 2) I know this is done with a script, but still...I want to make it so that after a certain amount of time (e.g., 2 years in my case), a demon appears in a specific location (see attachment below), and then you get a quest to kill it. How do I do that? + How are animations translated (so I don't get confused): 'idle00', 'death', 'attack00', 'happy', 'hit', 'rangeattack', 'cast', 'specability', 'stir00'?
1) I didn't understand. The prophet's hut has its own scripted name, and there's also the name of the quest itself. 2) You can do it like this:
function NewDay() if GetDate(MONTH) == 25 and GetDate(WEEK) == 1 and GetDate(DAY_OF_WEEK) == 1 then CreateMonster("monster_name", monster_type, number_of_creatures, x, y, floor, mood, courage, rotation_angle, height) SetObjectiveState('quest_name', OBJECTIVE_ACTIVE) startThread(killDemon) end end
function killDemon() while 1 do if not IsObjectExists("monster_name") then SetObjectiveState("quest_name", OBJECTIVE_COMPLETED) break end sleep(10) end end
Trigger(NEW_DAY_TRIGGER, "NewDay")
The quest should be OBJECTIVE_KIND_MANUAL, and the parameters IsInitialyActive and IsInitialyVisible should be false.
And the animations are: idle state, death, melee attack, happiness, taking damage, ranged attack, spellcasting, special ability, agitation (what creatures do in battle when you hover your cursor over them).
Added after 8 minutes Erythrocytosis
I have a question: is it possible to add new duel characters so that they appear not only in their price category but among all other characters? I tried replacing one with another - it works. But adding a new one doesn't work for some reason. In the PresetMap folder, in the Map file, there are only three heroes per faction. I tried writing an additional line and creating a corresponding file - it didn't help. There are still only three. There must be another file somewhere with information about the number of possible characters. Please help!:smile45:
Try changing this file: \UI\MPDMLobby\presets.(DuelPresets).xdb.