Skip to content

Posts from Questions about the Heroes 4 map editor. Auto-translated

4.7 (3 ratings)
User Avatar
#128
Auto-translated
So, there's one large zone on the surface with a lot of teleporters. And in the dungeon, there are small clusters of all types of castles?

But then it would result in a very large cluster of castles if the zones where they are located only serve as a way to implement the idea of random generation...
I'm understanding the essence of the method less and less...

But from what I understand (maybe I'm wrong), it doesn't seem to be very suitable because the point is to start in a random zone (in a random location) with a castle of the chosen race.
There can be many such zones, and not all of them have castles.


Барон
"Vampires"

Отдай свои прошлые сны,
В сомненьях себя обрети,
В бешеном танце душа кружится!
Не думай, что будет потом,
Здесь и сейчас мы живем,
Стань хоть на миг сам собой, слышишь!



In reply to Zybr
User Avatar
#129
Auto-translated
Zybr
That is, there is one large zone on the surface with many teleports. And in the Dungeon, there are small patches of all types of Castles?

But then it will turn out to be a very large cluster of Castles if the zones of their location serve only as a way to implement the idea of random generation...
I somehow understand the essence of the method less and less...

But from what I understood (maybe I'm wrong), it doesn't seem to be very suitable because the point is to start in a random zone (in a random location) with a Castle of the chosen race.
There may be many such zones, and not all of them have Castles.
Aha. You didn't understand. :-D

Added 4 minutes later
I'll try to explain again.
There is a Dungeon with 12 Castles (2 of each race).
At the beginning of the game, you choose a race and a color. A script gives you the Castle you need on the first turn and opens a passage to it. There is nothing near your Castle in the Dungeon. Only one two-way teleport. This teleport leads to the surface. And where exactly it will lead is decided by a random explosion of surface teleports.
How you divide the territory on the surface is your personal business. Here you are like a map maker, and the map is in your hands.
Модератор форума Лиги Героев (http://forum.heroesleague.ru)



User Avatar
#130
Auto-translated
Okay, I understand. I'll keep that in mind.


Барон
"Vampires"

Отдай свои прошлые сны,
В сомненьях себя обрети,
В бешеном танце душа кружится!
Не думай, что будет потом,
Здесь и сейчас мы живем,
Стань хоть на миг сам собой, слышишь!



In reply to Zybr
User Avatar
#131
Auto-translated
Maybe you and Zezyuk could give us some advice :) We have an idea, or rather, a part of it. You start with anyone, even randomly, and you choose who to play as during the game. Depending on the dwellings. At the restart, there are 2 types of dwellings of level 4 and many dwellings of other levels. So, it's hard to guess who you will become and who your opponent will be. Also, at the restart of all castles, there is 1 type of dwelling, from which you choose only 1. In addition to the starting one.
Heroes of might and magic 4 on-line World Championships
In reply to CTPAHHuK
User Avatar
#132
Auto-translated
CTPAHHuK
Maybe you and Zezyuk could give us some advice :) We have an idea. Or rather, a part of it. You start with anyone, even randomly, and you choose who to play as during the game. Depending on the dwellings. There are 2 types of dwellings of level 4 and many dwellings of other levels on each respawn point. So it's hard to guess who you will become and who your opponent will be. Also, on each castle's respawn point, there is 1 type of dwelling, and you can only choose 1 for yourself. In addition to the starting one.
Well, that's pretty straightforward.
Each castle has a dungeon with a hero of the same race. So play whoever you want :)

But I don't understand why a hypothetical starting castle is needed. It would give a big advantage to those who choose the same race.

Besides, I would make it so that each player only has, for example, 10 spies (to scout the respawn point) at the start. And the castle would be transferred by script.
Модератор форума Лиги Героев (http://forum.heroesleague.ru)



In reply to shnurov_hl
User Avatar
#133
Auto-translated
shnurov_hl
Well, that's easier than shelling peas.
Each castle has a dungeon with a hero of the same race. So you can play as whoever you want.

But why have a hypothetical starting castle – it's unclear. It would give a big advantage to those who choose the same race.

Moreover, I would make it so that each player only has, for example, 10 fairies at the start (for scouting the map). And the castle would be transferred via script.
Only the main guild of mages will be available in the starting castle. This way, the player gets a kind of bonus for choosing a race. And what do you mean by "the castle would be transferred via script"?
Heroes of might and magic 4 on-line World Championships
User Avatar
#134
Auto-translated
"the castle would be passed via script"
Color assignment is likely the issue.

Here's the script:
Sequence -> set the numerical variable "pandora_medium_bonus_type" to a random number within a range -> if pandora_medium_bonus_type=1, then -> sequence -> set the numerical variable "pandora_medium_bonus_monsters_lvl3" to a random number within a range -> if pandora_medium_bonus_monsters_lvl3=1, then -> sequence -> display a message + spawn monsters + remove this object.

The problem is that in most cases, everything works perfectly. The first variable has 8 variations, and the second variable has 7 variations, with 19 cases (all monsters are level 3). And then, on the last monster, on the last action "remove this object," after clicking all the "OK" buttons, the entire sequence with the 7th variation suddenly disappears.
What is the problem, and what should I do?


Барон
"Vampires"

Отдай свои прошлые сны,
В сомненьях себя обрети,
В бешеном танце душа кружится!
Не думай, что будет потом,
Здесь и сейчас мы живем,
Стань хоть на миг сам собой, слышишь!



User Avatar
#135
Auto-translated
Hey everyone, I'm a newbie when it comes to the editor (especially scripts and stuff), so I'm reaching out to those who know more.
I'm working on a campaign, and as I create it, I have some questions that I'd like to get answers to:
- Is it possible to make a hero disappear from the party at a certain point?
- Is it possible to make a hero disappear from the map? You approach him, a dialogue appears, and after the "conversation," the hero vanishes.

Be strong. Believe
User Avatar
#136
Auto-translated
- Is it possible to make a hero disappear from the party at a certain point?
As far as I know, no.
- Is it possible to make a hero disappear from the map? You approach him, a dialogue appears, and after the "conversation," the hero disappears.
Theoretically, it is possible, but only if the hero is alone. The main thing is to enclose the area on all sides (trees, stones, etc.) and place a gate, I don't remember what they are called, which only allows passage under a certain condition (script: SPECIFIC HERO - HERO'S NAME - THIS ARMY). After the "conversation" (script: SEQUENCE - CHANGE PLAYER TO - NO PLAYER, GIVE THE 5TH-LEVEL STEALTH SKILL, REDUCE MOVEMENT BY 50 PERMANENTLY (if the player only has this hero on the adventure map, after changing the color, they will be able to control a neutral color; the movement reduction is necessary so that the hero does not leave the enclosed area, and I think you can guess what the stealth is for)).
Theoretically, it should all work, but I can't say anything about practice - I have nowhere to test it.
:smile17:
User Avatar
#137
Auto-translated
As far as I know, there isn't.

That's really bad, because I planned to do something like that several times. Now I'll probably have to limit myself to gates or come up with something with quests... maybe I can lead the hero to the Seekers' house, and he'll disappear there? In essence, there are quests for artifacts, but in this case, you need to deliver the hero.

And the second thing isn't so important, although it might be useful. I was originally planning for a neutral hero... I understand about the stealth, but I don't know, what if someone has the Scouting skill?)))

Be strong. Believe
User Avatar
#138
Auto-translated
- Is it possible to make a hero disappear from the party at a certain point?
- Is it possible to make a hero disappear from the map? You approach him, a dialogue appears, and then he vanishes.
I'll look into these questions.
I'll experiment.
I enjoy tinkering with the scripts of Heroes 4 :D

Added 30 minutes later
Arandor
It probably won't work, but the only way to make a hero disappear is to create a battle for the hero who needs to disappear against an army that can kill that hero.
Why won't it work?
A "corpse" of that hero will remain on the ground :D

I haven't tried anything else yet.
Maybe I'll find something else.
Всё, что сейчас происходит во мне, тоже является частью Вселенной. (с) Иванов Александр.
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение
User Avatar
#139
Auto-translated
that won't work)). I was thinking something like this: the party meets a hero, a dialogue takes place, and the hero joins the party for a certain amount of time, i.e., for a mission. In this case, we need to kill another hero and several other heroes. And when it's done, this hero automatically leaves the party... or, this hero needs to be escorted somewhere (to the Seekers' house) so that he disappears).
by the way, another question: is it possible for a hero to appear from the Seekers' house? He enters the house and finds a companion there who joins the party.

Be strong. Believe
User Avatar
#140
Auto-translated
it elevates my twisted mind to the heavens, but I did it! so, here's the deal: place a local event on the ground (if the hero is an ally, you can place it in front of him; if it's an enemy, place it before him, so the attack doesn't trigger). activate the trigger with it. in the trigger, write a sequence: 1. transfer to player - no player. 2. battle this army of 10 angels. that's it! the hero disappears! and there were no angels! you can only notice how the hero first turns into a neutral unit for a split second. :bis: I'm a genius!!! woo!!
Всё, что сейчас происходит во мне, тоже является частью Вселенной. (с) Иванов Александр.
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение
User Avatar
#141
Auto-translated
Hmm, thanks! I'll finish the map and try to add some scripts, then I'll let you know. P.S. So, should I set a time limit or a specific location? Because you'll have to run around here and there... Are you talking about how to detach a hero after killing an enemy during a mission, or when approaching a building? Although, it's probably better to do it after the kill, because the hero might disappear immediately if they approach the building multiple times.

Be strong. Believe
User Avatar
#142
Auto-translated
P.S. So, should I set a time or a location? It seems like you'll have to run around here and there... Are you talking about how to remove a hero after defeating an enemy in a mission, or when approaching a building?) Although, it's better to do it after the battle, because the hero might disappear immediately if they approach the building multiple times.
This is how to simply remove a hero when entering an event object.

To remove a hero who is in your army, you need to make sure they are no longer in your army :D
I can't say anything more for now.

Besides, I don't fully understand what you want to achieve...
Всё, что сейчас происходит во мне, тоже является частью Вселенной. (с) Иванов Александр.
Цикл кампаний "Дыхание Смерти" из трёшки в четвёртом исполнении
Учебная карта
Астралия
За Королеву!
Подземелья и Дьяволы
Отголоски войны
Освобождение