3. Modifying Creatures

3.1. Where are the creature stats stored?

The creature stats are stored in GameMechanics\Creature\Creatures\*Town*\*Creature*.xdb. xdb files can be opened using Notepad or any other text editor (DON’T use a text formatter like Wordpad or the file will not be edited as plain text).

NOTE: TO CHANGE SOMETHING, FIRST SELECT ALL FOLDERS, RIGHT CLICK AND SELECT PROPERTIES, AND UNCHECK THE “READ ONLY” OPTION.

3.2. How do I change the creature's stats?

Go to its .xbd file (see 3.1) and change it.

Example: We want to change the Titan’s stats. We 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).

3.3. How do I change the creature's cost?

In the same file we used in 3.2, 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.

Example: We are going to use the titan for every example from now on. 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.

3.4. Other stuff you can change

You can change other stuff than just the stats and cost.

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 Elements, we look for this part :

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

and 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.

FIXME This concerned the beta. Since the release, there is only one element per creature and it randomly changes each week.



» Next: 4. Modifying Texts

modding_for_dummies/modifying_creatures.txt · Last modified: 2007/05/24 15:11 (external edit)
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0