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 > Library of Enlightenment > Thread: rmg - alignment of zone without a town
Thread: rmg - alignment of zone without a town
Graenfur
Graenfur


Hired Hero
posted December 29, 2014 07:13 PM

rmg - alignment of zone without a town

From [url=http://forum.df2.ru/index.php?showtopic=32286]HotA's feature list[/url] I learned that possible alignment of zone without a town (it's dwellings, Pandora's rewards and whatnot) is chosen from a predefined set.

Every mention of fractions has 25 % chance have the territory in the area to be its type.
       Dirt: Castle, Rampart, Necropolis, neutrals
       Sand: Stronghold, neutrals, Castle, Castle.
       Grass: Castle, Rampart, neutral, Castle.
       Snow: Tower, neutral, Castle, Castle.
       Swamp: Fortress, Necropolis, neutrals, Castle.
       Rough: Stronghold, Conflux, neutral, Castle.
       Subterrain: Inferno, Necropolis, Dungeon, neutral.
       Lava: Inferno, neutral, Castle, Castle.


Can this be changed by any .txt file?

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


Known Hero
posted December 30, 2014 07:55 PM
Edited by batoonike at 19:55, 30 Dec 2014.

Just disable all other terrain types for this zone but one? If that's not what you meant, what did you mean?

In data/rmg.txt

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


Promising
Legendary Hero
fallen artist
posted December 30, 2014 08:35 PM

He means RMG behavior, not template settings.
____________
The future of Heroes 3 is here!

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


Hired Hero
posted December 31, 2014 01:52 PM
Edited by Graenfur at 13:56, 31 Dec 2014.

Quote:
He means RMG behavior, not template settings.

Yes, exactly.

I'll give an example:
In rmg I make 3 zones;
zone 1 and 2 has towns, zone 3 has no town.
zone 1 and 2 has random terrain, zone 3 has sand only.

So now when this template generates, zone 3 alignment will be:
25% Stronghold
25% Neutral
50% Castle

This means that 50% times all dwellings, seer huts rewards, Pandora's rewards in zone 3 will be Castles type, and 25% times Stronghold or neutral types.


What I am looking for is a way to change these alignment chances.
For example make zones without town on sand 100% Neutral.

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


Hired Hero
posted January 05, 2015 07:50 PM
Edited by Graenfur at 20:18, 06 Jan 2015.

Visual representation of:
Quote:
Every mention of fractions has 25 % chance have the territory in the area to be its type.
      Dirt: Castle, Rampart, Necropolis, neutrals
      Sand: Stronghold, neutrals, Castle, Castle.
      Grass: Castle, Rampart, neutral, Castle.
      Snow: Tower, neutral, Castle, Castle.
      Swamp: Fortress, Necropolis, neutrals, Castle.
      Rough: Stronghold, Conflux, neutral, Castle.
      Subterrain: Inferno, Necropolis, Dungeon, neutral.
      Lava: Inferno, neutral, Castle, Castle.




The overwhelming amount of Castle dwellings has really bugged and annoyed me for a long time. It would be great to know where these sets are defined.

 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.0341 seconds