Skip to content

Posts from About the random map generator.

No ratings yet — be the first to rate!
#1
Auto-translated
Good afternoon! I am a newcomer to multiplayer. I read the forum a bit, player reports, etc., and came up with the following question - everyone very often complains about the random map generator. But why does everyone put up with it?
It seems to me that writing a program that would generate random maps based on given templates is, of course, not a one-week task, but still not very difficult. A simple Google search gave me a file describing the h3m format (it doesn't have everything, but enough to figure out the rest experimentally in a day or two). We write a program that generates h3m files for us. And that's it - no more restarts due to a strong block. No shifted guards. No distributions where one player gets 5 beehives and 3 Griffin Conservatories, while another gets nothing. You could even make it so that the template allows you to set the number of key buildings (e.g., utopias) for a territory.
Or you could make it so that identical important objects are guarded by identical guards (rather than one getting Azure Dragons, another getting Hydras). And so on and so forth. I even felt inspired to sit down and write such a generator.
But then I thought - there are some very serious people here. Some have practically disassembled the entire Heroes code (I wouldn't take that on myself). But for some reason, no one has done this. Perhaps there are reasons for that which, in my noobishness, I don't see. Perhaps such a generator is fundamentally not needed by anyone, or there are some serious limitations that would prevent its creation. So my question is exactly this - has anyone ever thought about this?
User Avatar
#2
Auto-translated
valergrad
Hello! I'm new to Multiplayer. I've read some forum posts, player reports, etc., and I have a question: people often complain about the random map generator. But why do they put up with it?
It seems to me that writing a program that generates random maps based on predefined templates is not a task that would take weeks, but it's not very difficult either. A simple Google search gave me a file describing the h3m format (it doesn't contain everything, but it's enough to figure out the rest through experiments in a day or two). We write a program that generates h3m files. And that's it – no more restarts due to a strong starting position. No more misplaced guards. No more situations where one player gets 5 bee hives and 3 strongholds, while the other gets nothing. You could even make it so that the template allows you to specify the number of key buildings (e.g., a Dungeon) for a territory.
Or you could make it so that identical important objects are guarded by identical guards (and not that one has a Cyclops, and the other has Hydras). And so on. I was even inspired to sit down and write such a generator.
But then I thought – there are very knowledgeable people here. Some have practically disassembled the entire Heroes code (I wouldn't take on such a task). But for some reason, no one has done it. Perhaps there are reasons for this that I, in my newbie state, don't see. Perhaps such a generator is simply not needed by anyone, or there are some serious limitations that would prevent its creation. Basically, the question is this: has anyone thought about this?
Well, if you can write such a generator, then the maps are yours. Someone will definitely appreciate it. In the sense that some people will stick to "classic is forever," but others will play. This is, of course, if it's something worthwhile, because you can't attract people with something bad. Besides, new software always has new bugs, and you can't avoid that. But at least I would be interested in seeing it.
Сейчас балуюсь этим https://vcmi.eu/download/
За то что нейтралы не бегают за единичкой, для меня это уже стоит того
User Avatar
#3
Auto-translated
Actually, this question has been raised for a while: if there's an HD mod that already fixes a lot of the game's native bugs, why not fix the bugs in the random map generator? At least the most annoying ones. I'll forward the question to Baratortch in the HD mod thread.
Воскресайте, камінні душі, Розчиняйте серця і чоло, Щоб не сказали Про вас грядущі: їх на землі не було…
(Василь Симоненко. Люди – прекрасні)
#4
Auto-translated
IMHO, a simpler solution is to run the generated map through 2 bots — one for the red player and one for the blue player, give them an increased starting army first, up to Angels, somehow make them take beehives-Griffin Conservatories-Utopias, and compare the army strength after 2 weeks. If the difference is more than 2x, generate a new map. But there will be plenty of pitfalls) So that's just wishful thinking.
648050691
User Avatar
#5
Auto-translated
zoog, actually, it's not that simple to do! Especially
somehow force it to take hives, cons, or utopias
It's practically impossible to force the AI to attack someone or take a protected object. :(
I was thinking about another option: create a map in the editor, save it, bring it to a normal state manually, and then play. But this option doesn't suit most players because people aren't playing with "fixes" right now. It's a pity: maps made or corrected by hand are much "more straightforward" than what the generator produces now!
Воскресайте, камінні душі, Розчиняйте серця і чоло, Щоб не сказали Про вас грядущі: їх на землі не було…
(Василь Симоненко. Люди – прекрасні)
#6
Auto-translated
And if you give him 10+ Archangels, won't he take the Ulric map? So, they shouldn't be counted in the post. But either way, this is a task on the level of an HD mod, just empty dreams.
648050691
User Avatar
#7
Auto-translated
Symmetrical maps are great. I would play it... and recommend it to everyone. But how realistic is that?
Абстрактной истины нет, истина всегда конкретна. (Ленин)
ICQ 671097837
In reply to Erutan Rivol
User Avatar
#8
Auto-translated
Erutan Rivol
Symmetrical maps are great. I would play it... and recommend it to everyone. But how realistic is it?
More than realistic. Install WТ http://heroeswt.net/download.php. You can find them there, along with the game.
Сейчас балуюсь этим https://vcmi.eu/download/
За то что нейтралы не бегают за единичкой, для меня это уже стоит того
User Avatar
#9
Auto-translated
Thank you very much. I didn't know.
Абстрактной истины нет, истина всегда конкретна. (Ленин)
ICQ 671097837

Statistics

Welcome our newest member: Emil

Users Online 1 users 1091 guests