Heroes 5 Wiki

Where are the creature stats stored?[]

The creature stats are stored in DATA.PAK\GameMechanics\Creature\Creatures\*Town*\*Creature*.xdb.

How do I change the creature's stats?[]

Open the creature XDB file. XDB files are XML format and include numerous creature specific values. In the current example we will modify Titan's stats.

Go to GameMechanics\Creature\Creatures\Academy\Titan.xdb and look for the part with the stats. It should look like this:

<AttackSkill>30</AttackSkill>
<DefenceSkill>30</DefenceSkill>
<Shots>10</Shots>
<MinDamage>40</MinDamage>
<MaxDamage>80</MaxDamage>
<Speed>6</Speed>
<Initiative>10</Initiative>
<Flying>false</Flying>
<Health>190</Health>

We can change the Attack of Titans by changing the 30 in <AttackSkill>30</AttackSkill> to any other number. Same goes with every other part except the <Flying>false</Flying> one. In this one, we can change the "false" to "true" and then the titan will fly (just like dragons).

Full explanation of creature file fields can be found here.

How do I change the creature's cost?[]

In the same file, press Ctrl+F to open the "Find" window. Type <Cost> and it will go down to a part where you change the cost of a creature. The Titan's cost part looks like this:

<Cost>
   <Wood>0</Wood>
   <Ore>0</Ore>
   <Mercury>0</Mercury>
   <Crystal>0</Crystal>
   <Sulfur>0</Sulfur>
   <Gem>2</Gem>
   <Gold>4700</Gold>
</Cost>


Let's say we want to make the Titan cost 1000 Gold and 5 Wood instead of 4700 Gold and 2 Gems. We need to change the 4700 in the <Gold>4700</Gold> part to 1000, the 2 in the <Gem>2</Gem> to 0, and the 0 in the <Wood>0</Wood> to 5. Now the Titan will cost 1000 Gold and 5 Wood.

Other stuff you can change[]

You can change other stuff than just the stats and cost. For example, we want to make the Titan's Weekly Growth 4 instead of 1 and its Elements Fire and Earth instead of Air and Water. To change the Weekly Growth, we search for a part that looks like this <WeeklyGrowth>1</WeeklyGrowth> and change the 1 to 4. To change the magic elements, we look for this part:

<MagicElement>
   <First>ELEMENT_AIR</First>
   <Second>ELEMENT_WATER</Second>
</MagicElement>


Change the AIR to FIRE and the WATER to EARTH. You can also add abilities and spells, but that will be explained in the next section.