Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Editing the Map Generator (HotA)
Thread: Editing the Map Generator (HotA)
Shivaz
Shivaz


Hired Hero
posted January 01, 2020 08:51 PM
Edited by Shivaz at 20:53, 01 Jan 2020.

Editing the Map Generator (HotA)

Hello everyone,
I've a question about generating a random map, is there a way to program it so it'll always generate level 7 monster near gates and portals and near Dragon Utopia for example?
I find my self on every random map I generate, editing it for 2-3 hours replacing every monster on gates/portals to level 7, just in order to make it more harder and challenging to play, instead some low levels mobs the game generates.
Is it possible to to something like that? Add something to the code or whatever to auto generate with the changes I mentioned?
If does, can I do it my self without knowing any code? Is it complicated? I hope I was able to explain my self.

Thank you in advance.
And Happy New Year to everyone!

____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
zmudziak22
zmudziak22


Supreme Hero
posted January 01, 2020 11:29 PM

Use template editor.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Shivaz
Shivaz


Hired Hero
posted January 02, 2020 12:12 AM

zmudziak22 said:
Use template editor.


Thank you for the reply.
What is it "template editor" and how do I use it? Can't find too much information about it online.

____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
avatar
avatar


Promising
Supreme Hero
posted January 02, 2020 06:48 AM

You must click RMG Template Editor.exe in folders, where HotA is installed.

But, before you start using this software,  try to change template in random map generator window for some other ones, maybe easier. Of course you can do that, when you launch HotA via HD mod (HD_Launcher.exe)


____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bloodsucker
bloodsucker


Legendary Hero
posted January 02, 2020 08:00 AM
Edited by bloodsucker at 08:10, 02 Jan 2020.

I have to admit after all these years I still struggle with templates and template values. It would be fantastic if someone who knows what he is doing could make a comprehensible tutorial on how to use the Template Editor and what all the values represent. For instance, I agree with Shivaz about guards of passages and Utopias always be level 7 but I have no idea how to do it so I still replace them manually. I also think one can remove the possibility of certain spell scrolls (namely of Fly and DD) to appear and yet...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Shivaz
Shivaz


Hired Hero
posted January 03, 2020 03:14 PM

avatar said:
You must click RMG Template Editor.exe in folders, where HotA is installed.

But, before you start using this software,  try to change template in random map generator window for some other ones, maybe easier. Of course you can do that, when you launch HotA via HD mod (HD_Launcher.exe)





Thank you very much, I'll search it up and try to use it.
Does it works only via the app or in the ingame random map generator?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted January 03, 2020 03:40 PM

https://heroes.ag.ru/h3/rmg

Translate and good luck. I modified full templates using infos from that source.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Warmonger
Warmonger


Promising
Legendary Hero
fallen artist
posted January 03, 2020 03:45 PM
Edited by Warmonger at 15:50, 03 Jan 2020.

There is some RMG template info in English:

http://heroescommunity.com/viewthread.php3?TID=14290&PID=286557#focus

And no, Utopias can't be guarded by level 7 units - at least this can't be modified in a template alone. Utopia value is only 10K, which is equivalent of major artifact.

If you want to try some hardcore templates solo, check:
- Clash of Dragons (my favourite)
- Marathon
- Coldshadow's Fantasy (allies by default?)

Quote:
Does it works only via the app or in the ingame random map generator?

Surely you can replace rmg.txt manually - if there's only one template inside, it will be always used (if map settings match it).
____________
The future of Heroes 3 is here!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gruk_
Gruk_


Hired Hero
posted January 03, 2020 04:38 PM

Shivaz said:
Hello everyone,
I've a question about generating a random map, is there a way to program it so it'll always generate level 7 monster near gates and portals and near Dragon Utopia for example?

Yes, open template editor, and do the following:

For gates and portals: just increase the value of connections between zones

For dragon utopia (or any other object)
   - go to template > Settings > Objects > Add Rule, and give dragon utopia a very high value (like, 50000)
   - make sure you have zones where at least one of the "Treasure" ranges include dragon utopia's value (otherwise no dragon utopia will be generated at all)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bloodsucker
bloodsucker


Legendary Hero
posted January 05, 2020 10:24 PM

It may take some time master but the Template Editor is wonderfully easy to manage. I guess I'm going to have fun...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bloodsucker
bloodsucker


Legendary Hero
posted January 06, 2020 12:03 AM
Edited by bloodsucker at 00:04, 06 Jan 2020.

I've modified The Clash of Dragons template to be for 4 players, with some manual customization but I can't find it in the list of templates.
I presume it may be because of errors in the new template but truly have no idea of what is going on... Can someone give me a hint?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Serp
Serp


Known Hero
posted January 06, 2020 02:45 AM

here is a documentation of the template editor:

http://h3hota.com/en/template-format

The txt file itself always needs to have the name rmg.txt. Only the folder name should be the name of the template.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bloodsucker
bloodsucker


Legendary Hero
posted January 07, 2020 01:13 PM
Edited by bloodsucker at 16:20, 07 Jan 2020.

Kind of inquiry

How many times do you feel you need to test a template?
I mean, I wanted to know how strong was a certain block so I've played until I found it. Week two it was 78 Wyvern Monarchs. How many times do you think I need to check all that to say template is ready?

P.S. Sorry if you feel this question too noobish but it's the first time I try the editor so I'm completely in the dark.

P.P.S. Some of my treasure areas (the ones with a value superior to 2000) have an * after the value. Anyone knows what that means? They seem to be created as I expected...
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gruk_
Gruk_


Hired Hero
posted January 08, 2020 01:57 PM

bloodsucker said:
How many times do you feel you need to test a template?
I mean, I wanted to know how strong was a certain block so I've played until I found it. Week two it was 78 Wyvern Monarchs. How many times do you think I need to check all that to say template is ready?

Just in case: you don't need to play the template to test it. You can generate it in map editor (File > New > Generate random map).

Regarding monster strength, you need to test just once, there should be no major difference between two map generations.

bloodsucker said:

P.P.S. Some of my treasure areas (the ones with a value superior to 2000) have an * after the value. Anyone knows what that means? They seem to be created as I expected...

It just means you added custom object rules to these zones.
(see http://h3hota.com/en/templates)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bloodsucker
bloodsucker


Legendary Hero
posted January 08, 2020 04:20 PM

Thanks, this documentation is very helpful and well crafted.
One doubt, if I want to create a second template (in the case add an underground layer to this one, so it can grow from XL to G+U) I can just save it inside the same Template Pack with another title, right?
Cause I tried to look inside the Original Templates Pack and there is only one rmg file but it splits in to a vast list of templates when open, so I presume this is it but I really don't know.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gruk_
Gruk_


Hired Hero
posted January 08, 2020 04:42 PM

bloodsucker said:
Thanks, this documentation is very helpful and well crafted.
One doubt, if I want to create a second template (in the case add an underground layer to this one, so it can grow from XL to G+U) I can just save it inside the same Template Pack with another title, right?
Cause I tried to look inside the Original Templates Pack and there is only one rmg file but it splits in to a vast list of templates when open, so I presume this is it but I really don't know.

Yes. When you start your game, the template actually used will be randomly picked among those which match the size you selected in game menu.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
avatar
avatar


Promising
Supreme Hero
posted January 08, 2020 05:32 PM

bloodsucker said:

Cause I tried to look inside the Original Templates Pack and there is only one rmg file but it splits in to a vast list of templates when open, so I presume this is it but I really don't know.

Game reads whole rmg.txt file. How many templates will read inside your rmg.xtx file - it's up to you.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
bloodsucker
bloodsucker


Legendary Hero
posted January 09, 2020 12:10 AM
Edited by bloodsucker at 01:13, 09 Jan 2020.

Is it possible to link neutral zones to players? What I want is to create zones that directly connect to a certain player starting area (while blocked) and have the same type of castles and dwellings. I looked all over but I didn't saw a way to make this link.

Found it. One can use the Town Type screen to add a rule saying "Use the same pattern as zone X"
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Deemer123
Deemer123

Tavern Dweller
posted March 07, 2020 06:47 PM

Couple of questions regarding the RMG:

- Is it possible to create one-way portals? I think I saw that on some random maps, but I can't find such an option in the "Edit Link" interface.
- Good tip with generating the random map in the standard map editor. Can it be test generated in the RMG Editor?
- Random maps - in my experience - tend to be too easy for good players if the starting positions are equally balanced. Can you favor the AI somehow (besides the difficulty setting in the game interface)? (Option is to not allow human players to start on specific start locations, but that is a work around.)

And to carry over for completeness from the other thread:
- Is there a way in the RMG Editor to spawn a specific spell in a specific zone? I.e. could I disable town portal generally but create a learning post somewhere in a treasure zone. I did not find that in the editor.

To the HOTA team: one thing that I noticed - and I am not sure if it is intentional - is that a ground connection as set in the editor can lead to several passages between those to zones (i.e. 3-4 entry points from one zone to the other blocked by different guards). That can be an advantage (you can choose which guard is easier) or disadvantage (the enemy can attack from various angles).

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0456 seconds