| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

Setting Creature Stats

This version was saved 11 years, 1 month ago View current version     Page history
Saved by James Koppel
on August 18, 2013 at 6:07:20 pm
 

Some of this is covered in the video tutorial Modding with an Iron Fist: Episode 3: Adding New Creatures: http://www.youtube.com/watch?v=jLEjN6YkvEQ

 

 

Attributes of the "creature" tag

 

id

 

A unique ID for the creature. IDs should be in ascending order; i.e.: if the last creature has ID 77, your new creature should have ID 78.

 

name-singular

 

 The singular form of the creature's name. Should be lowercase. Example: "harpy"

 

name-plural

 

The plural form of the creature's name. Should be lowercase. Example: "harpies"

 

icn

 

The name of the .ICN sprite archive file which contains the creature's battle graphics. See Adding Artwork for instructions on how to create these files and get them in the game. Case-insensitive. Example: "harpy.icn"

 

frm

 

The name of the FRM.BIN creature-frame information file which tells the game how the creature's art fits into animations. See Controlling Creature Animation for instructions on how to create these files and get them in the game. Case-insensitive. Example: "hrpy_frm.bin"

 

cost

 

The cost to recruit the creature in gold. At time of writing, you cannot assign a creature's secondary resource costs. (Please ask if you want this; it should not be too hard.) Example: "500"

 

fight-value

 

A number which tells the game AI how "good" the creature is. Should range between 0 and 65535. Example: "28144" (for the Black Dragon, the highest fight-value in the game).

 

fight-value-aux

 

Another number used by the game AI to determine how "good" a creature is. In particular, used by the AI when deciding whether to build a creature dwelling. Should range between 0 and 255. Example: "79" (for the Titan, highest in the game)

 

growth

 

The weekly growth of the creature. Does not include the Well or special-growth buildings. Should be between 0 and 255.

 

hp

 

The hit-points of a creature. Should be between 0 and 65535.

 

faction

 

The faction of a creature. Should be 0,1,2,3,4,5, or 6 for Knight, Barbarian, Sorceress, Warlock, Wizard, Necromancer, or Neutral, respectively.

 

speed

 

The speed of a creature. All current creatures range from 2 ("Very Slow") to 6 ("Very Fast"), but can be higher or lower.

 

attack

 

The Attack skill of a creature. Should be between 0 and 255.

 

defense

 

The Defense skill of a creature. Should be between 0 and 255.

 

shots

 

The number of shots a creature has. Should be 0 for non-shooters. Should be between 0 and 255.

 

short-name

 

A four-letter "short name" which determines what the creature's sounds are called. For example, both the Archer and its upgrade, the Ranger, have short name "arch". Their sounds are thus "ARCHATTK.82M", "ARCHWNCE.82M", "ARCHKILL.82M", "ARCHMOVE.82M", and (because they are shooters) "ARCHSHOT.82M". Case-insensitive. See Adding and Editing Sounds for information on how to get sounds in the game.

 

 <creature id="77" name-singular="treant" name-plural="treants" icn="treant.icn" frm="dend_frm.bin" cost="500" fight-value="1690" fight-value-aux="34" growth="3" hp="120" faction="6" speed="2" attack="6" defense="18" shots="0" short-name="dend">
   379         <damage minimum="3" maximum="7"/>
   380         <random-spawn minimum="10" maximum="20"/>
   381     </creature>

 

Comments (0)

You don't have permission to comment on this page.