~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

The Enroth diehard fan community
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» fheroes2 General Announcements
Adding Artwork Icon_minitimeby sirDranik 2024-05-24, 01:00

» The YouTube thread
Adding Artwork Icon_minitimeby DanilaRud015 2024-05-19, 06:00

» Songs of Conquest
Adding Artwork Icon_minitimeby Mefista 2024-05-16, 09:29

» ...to XP run...
Adding Artwork Icon_minitimeby CATMAN 2024-03-30, 03:16

» WARNING - The dreaded moment is here: Heroes 6 servers shutting down
Adding Artwork Icon_minitimeby Blake01 2024-03-29, 23:04

» Songs of Silence (HoMM like game)
Adding Artwork Icon_minitimeby Blake01 2024-03-27, 16:52

» Heroes Orchestra's 5th Birthday concerts with Paul Romero
Adding Artwork Icon_minitimeby rrravyn 2024-03-23, 22:45

Global announcements should be:
Everlasting, 1 for each project.
Adding Artwork Redbar110%Adding Artwork Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
Adding Artwork Redbar11100%Adding Artwork Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
Adding Artwork Redbar110%Adding Artwork Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
Introduce yourself
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Forum Admins Feed
The Floody Land
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.1 Beta


 Adding Artwork

Go down 
Master Modder
Master Modder

Messages : 2163
Quality Points : 843
Registration Date : 2014-12-12
Age : 32
Location : Turkey

Adding Artwork Empty
PostSubject: Adding Artwork   Adding Artwork Icon_minitime2015-07-20, 18:55

(This is a crosspost from the Project Ironfist wiki, see link)

(You can also learn much of this by watching the video tutorial "Modding with an Iron Fist: Episode 3: Adding New Creatures")

Heroes II stores graphics in its own format called ICN. Each ICN file contains many related spirtes. For example, PIKEMAN.ICN contains all of the pikeman's combat graphics and animations, while ARTIFACT.ICN contains full-size portraits of every artifact in the game. This tutorial explains how to turn your art into an ICN file so that it can be added to the game. You will need to download the Ironfist Tools.

Perhaps the easiest way to understand how to prepare art is to see an example. You can unpack any existing ICN file by dragging and dropping it onto "H2IcnUnpack.exe" . See Packaging Resources to learn how to access the ICN and other data files used by Heroes II. Here's an example of what the pikeman graphics look like when unpacked: pikeman.zip .

First, make sure all of your images have the same dimensions. Plan ahead and figure out how large the largest image in the sprite will need to be, and set the canvas size of all images to at least that large.

Second, your images will need to follow the Heroes II palette, shown below. Additionally, use bright anddark purple (#ff00ff and#ff32ff) for dark andlight shadow, cyan (#00ffff) for transparency, and yellow (#ffff00) for highlight. Use purple (#b400ff) for the overlap between highlight and light shadow, and green (#00ff00) for the overlap between highlight and dark shadow.

Adding Artwork Palette

Place all the images in a folder. Name the folder what you want the ICN to be called followed by ".cadres". For example, if you want to produce a file called "PIKEMAN.ICN", then you will need to name the folder "PIKEMAN.ICN.cadres".

Now, add to the folder a plain-text file called setup.ini. The setup.ini file will control the order the images will appear. It looks like this:


You can set the "X" and "Y" fields in setup.ini to shift all frames by those amounts.

To transform the folder of images into an ICN sprite archive, you'll again need the Ironfist Tools. Drag-and-drop the folder onto "H2IcnPack.exe", and it will create your ICN file.

Adding Artwork L18zg1M
Back to top Go down
Adding Artwork
Back to top 
Page 1 of 1
 Similar topics
» Adding a Faction?
» Bug when adding a new creature.
» Adding New Creatures
» Adding and Editing Sounds
» Feature requests!

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Modding and Mapmaking-
Jump to: