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 5 - Modders Workshop > Thread: Need help with critter modding
Thread: Need help with critter modding
Fargol
Fargol

Tavern Dweller
posted June 09, 2006 03:13 PM

Need help with critter modding

OK, I can load the pak file into winzip and extract whatever I want, then open it in Notepad and fiddle. That much is fine.

However I can't seem to find the specific file for a creature. For example, I found like 14 files for the Battle Unicorn under Characters/Creatures/Preserve, but none of them seem to have the actual stats for the BU.

Any help appreciated.
____________

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

Tavern Dweller
posted June 22, 2006 02:13 PM

they are there and they are simply moddable, for example i have had some 30 att 30 def 1000hp scouts running around.
____________

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


Honorable
Undefeatable Hero
of Gold Dragons
posted June 22, 2006 05:59 PM
Edited by alcibiades at 18:11, 22 Jun 2006.

Hmmm ... What program will I need to open a .XDB file?

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


Known Hero
The Bringer of Pestilence
posted June 22, 2006 06:31 PM

Notepad Or any other text editor.

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

Tavern Dweller
posted June 23, 2006 02:31 AM

one thing i and my friends would love to know about is how to increase the number of units that appear in larger multiplayer maps.

We would like to have some harder battles later on rather than just scores of "sev" archangels/devils/whatever.

I cant find the entry anywhere.

I havnt looked TOO deeply into the xml of the maps themselves, I'll do that today, but the things Ive noticed suggest that what I want done are near impossible without changing the map's coding.  This is suggested by  the "TIER_(1-7)_CREATURE)" mapobjects lack of enumeration.

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

Tavern Dweller
posted June 23, 2006 03:31 AM

a quick update on this search.

within the \data\gamemechanics\rpgstats\defaultstats.xdb you can find the entry <respawn> which offers the following entries:

<MonstersMin></MonstersMin>
<MonstersMax></MonstersMax>

modifying those will result in modified spawns of random creatures.  I havnt figured how to get it tier specific yet however.  What Im aiming for is to mildly increase the spawn of lower level creatures (eg multiply current spawn rates of tier 1 creatures by 20%) and drastically increase the spawn of later level creatures (eg by 300%), with a continuum.
____________

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


Known Hero
The Bringer of Pestilence
posted June 23, 2006 04:09 AM

To maker harder maps you need to wait for map editor. And as for week creature span dependant on time passed... I think that it is indeed a good idea, but probably hard to make.

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


Promising
Supreme Hero
posted June 24, 2006 03:20 PM

It could be that MonstersMin/MonstersMax apply to tier 7, and MonsterDowngradeMult is the multiplier for lower tier.
So starting from 2-3, with MonsterDowngradeMult=2, it would give the values:
- Tier 6: 4-6
- Tier 5: 8-12
- Tier 4: 16-24
- Tier 3: 32-48
- Tier 2: 64-96
- Tier 1: 128-192

Would that be what possible with your experience while playing?

I'm not sure of what to make of MonsterDowngradeProb (0.05), though.

Anyway, if that assumption is correct, you can achieve what you want by boosting MonstersMin/MonstersMax, and reducing MonsterDowngradeMult.

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

Tavern Dweller
posted June 25, 2006 03:43 PM

that doesnt seem to fit.  as near as i can tell monsters min/max correlates to a multiplier of weekly growth making for example the initial spawn of scouts on the map being random within the range of 14-21 (which seems to fit) and also for peasants spawning with numbers between 44 and 66.

I've done some further testing:
<MonsterDowngradeProb>0.05</MonsterDowngradeProb>
- this refers to a 5% chance of any randomly spawned unit (eg a RANDOM_MONSTER_L5 object in a map.xdb file) being spawned as a lower tier.
<MonsterDowngradeMult>2</MonsterDowngradeMult>
- when it does randomly spawn as a lower tier, it will have 2 times as many units as otherwise specified in monstersmin/max
<MonsterProbabilityPerCell>0.002</MonsterProbabilityPerCell>
- i havnt tested this one but I assume it refers to the chance of a "week of xxx" creature spawning in any given cell of the map
<MonstersRandomUpgradeSub>0.3</MonstersRandomUpgradeSub>
- I believe this line sets the chance that a unit will appear as the upgraded version of the same tier.  if it triggers, less units will appear than normal which seems to be based upon some kind of inversion of the <MonsterDowngradeMult>

I hope this helps to explain some of these lines as far as I've figured.
____________

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

Tavern Dweller
posted June 25, 2006 03:53 PM
Edited by millsy at 16:05, 25 Jun 2006.

A quick update, Ive found the lines I'm looking for to accomplish a facsimile of what I'm trying to achieve.

By changing
<WeeklyGrowCoefs>
<Item>1.09</Item>
<Item>1.1</Item>
<Item>1.11</Item>
</WeeklyGrowCoefs>
(which i am assuming refer to the different difficulty settings)

to numbers like 1.4 - 1.8.

lets say its set to 1.5 (50% increase per week per stack).  a stack of 6 units (eg dragons) will progress:
1st week: 6
2nd: 9
3rd: 13
4th: 19
5th: 29
6th: 43
7th: 64
8th: 96

so by the end of the 2nd month you're looking at taking on a hoard of tier 7's.  rough, but not impossible.
____________

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


Promising
Supreme Hero
posted December 07, 2006 08:42 AM

Mods are loaded on game start. The files' timestamp is used to determine which file to use, so if you installed a patch after making your mod, that likely is the problem. The solution is easy: update the modification date of the files in your mod and it will work again.

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