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 Questions about the Heroes 4 map editor.
Here's the problem: is it possible to remove a hero "into nowhere" using a script, so that they disappear completely? For example, a neutral hero joins our faction, and after a certain time, when we reach a designated location, they should leave us, but in such a way that they are no longer present in the game at all. This question came to me spontaneously, so I asked it right away. If the solution is simple, I apologize for wasting your time. But I'm still waiting for an answer.
SandroXXL
19 years ago
Auto-translated
Hmm... Well, you can switch the hero to a different faction. Then, you can add a script where a player of a specific color fights against a certain army, and then our companion will die. But you also need to separate the hero and the companion, so you can place quest gates and set a condition where only a specific hero can pass through, and after the gates, change the companion's color, followed by an invisible battle for the player and the companion's death. In any case, I was also planning to create something similar based on this scenario.
Haha, interesting... I also like coming up with things like that. What do you think about making a mercenary system with a monthly payment (30 days), like this: if the player pays >xxx gold, a mercenary joins their army. After the mercenary joins, xxx gold is deducted, and a variable is set to 1, which represents the current day. Then, a recurring event is created: IF 1 = 1 + 30, a question is asked about whether to renew the contract... and so on. Do you think that would work?
Yes, I am the scythe in the field at summer, I am the thunder that awakens the earth, I am that which gives the night air its chill.
SandroXXL
19 years ago
Auto-translated
Perhaps, but what if the hero doesn't continue? The hero would have to switch to another faction (let's say, an allied one, otherwise there will be a battle), but how will this affect the hero-companion if they are in the army? And the allied hero will be wandering around the map, gathering resources and completing quests that should belong to the player, and so on, until they are overwhelmed? On the other hand, will the detection script work (to re-attach the hero) if this hero is allied? It didn't work in the old editor, but I need to try it in Vortex; it all depends on successful tests.
Is it possible to change the camera zoom level in the editor? For example, in the editor for the third game, you could immediately view the entire map, which significantly simplified the process of drawing the landscape. But I couldn't find this feature in the editor for the fourth game... does it exist?
Отдай свои прошлые сны, В сомненьях себя обрети, В бешеном танце душа кружится! Не думай, что будет потом, Здесь и сейчас мы живем, Стань хоть на миг сам собой, слышишь!
SandroXXL: So, here's what I came up with: for example, a mercenary hero switches sides and joins you, and a variable is set to the current day. The condition is: if the variable equals the variable plus 30, then the mercenary hero changes color, a large army attacks him, and he is destroyed. And now, to re-hire him, you can create copies of him and protect them with objects from the player's prying eyes. And have the mercenary say, "Well, you don't have enough money, come back when you have enough, go there and there." And do this two or three times. And then, like, a limit. You can't do it forever. It's not infinite cloning... I hope my idea is clear. I tried to do something like this, and my map crashed! It wouldn't launch. You try, maybe you'll succeed... ZYbr: I would be happy to find this option myself))) Let's wait, maybe someone will give an answer...
Yes, I am the scythe in the field at summer, I am the thunder that awakens the earth, I am that which gives the night air its chill.
Отдай свои прошлые сны, В сомненьях себя обрети, В бешеном танце душа кружится! Не думай, что будет потом, Здесь и сейчас мы живем, Стань хоть на миг сам собой, слышишь!
SandroXXL
19 years ago
Auto-translated
Here, take a look at the calendar events for the blue player through the editor (playable red). Now, launch the game. Wait three days – if the heroes are separated, the event will be activated (the hero can also be transferred to a neutral faction so that there is no undead unit), but if the heroes are combined into an army, the event will not be activated now or later. Conclusion: you need to separate the heroes and, using scripts, change the color of the ally and make them die. Here's an idea: hire an ally not for a specific number of days, but as an escort to a specific location. But maybe someone else will come up with something.
By the way, regarding the archers. Many maps have them, but they are not available in the editor. I had to copy them. As for the stones, I'll take a look. But it seems you misunderstood me... I'll try to express my question more clearly. Thanks again!
Why copy them? You can drag them from the map to the object panel, and the object will be saved in the editor for all maps :) . That's how I extracted archers, some strange flags of different colors, a van, the Holy Grail, etc.
By the way, does anyone know how to place all these objects on a map without opening other people's maps?
Святой_Паладин
18 years ago
Auto-translated
Ugh... I never start idiotic topics, but I guess I have to:D
The thing is, my friend has a problem with the map editor in the fourth game.
She accidentally closed the panel with creatures there (:smile04:) and then, in a fit of anger, deleted and closed ALL the panels and tools :)))
So, now when she enters the editor, there's only an absolutely empty field, and nothing else.
Question: how to restore all the panels, etc.?
P.S. It's not possible to reinstall the editor.
PP.S. Don't call the poor girl a moron) (the friend, if anyone is interested, is Irina, the same one, a great player for Haven). She was just not in a good state)))
She accidentally closed the creature panel there (:smile04:), and then, in a fit of anger, deleted and closed ALL the panels and tools :)))
So now, when entering the editor, there is only a completely empty field, and nothing else.
Question: how to restore all the panels, etc.
P/S It is not possible to reinstall the editor.
PP/S Just don't call the poor girl a moron) (a friend, if anyone is interested, is Irina, the very same, a great player for Haven). She was just not in her right mind)))
If I understand correctly, in the top panel (where File, Edit, View are located), she should click on View. There are lines like Tools, Status Bar, Minimap, Tool Settings, Object Palette. She should click on each line once; a checkmark will appear, and icons will appear on the map:rolleyes:
С самого начала позаботься о своем месте в жизни, чтобы не уподобиться маятнику. /Херберт. Ф./