User Tools

Site Tools


Sidebar

Torchmodders Site


Wiki Navigation

imageset_files

Working With .IMAGESET Files

By: Phanjam

The only icons the game will know to use are those it reads from the .IMAGESET files in the game and in mods. All IMAGESET files do is hold X and Y coordinate info of where to pick-up a single icon on an ICON SHEET that contains many icons. It just neatens things up for using icons.

IMAGESET Contents

The important bits of info inside an .IMAGESET file are…

  1. the IMAGESET NAME,
  2. which ICON SHEET FILE to look in to,
  3. the IMAGE NAME for each icon on the image file and
  4. for each IMAGE NAME, the X and Y coordinates on the IMAGE FILE where the art is for that icon.

These are contained in the .IMAGESET file like this…

xdk50w5.jpg

Obviously, the IMAGESET NAME, IMAGE FILE and IMAGE NAMEs all need to be unique to the icon set you are presenting to the game (you'd think not being able to find an icon is a minor thing, but it can actually cause the game to crash :P ), so go ahead and change those values for your new IMAGESET file.

X and Y Coordinates

For the X and Y coordinates I recommend (based on many hours of trying to make my own coordinates work and failing) to just clone an existing IMAGESET file and to not monkey around with the X and Y coordinates! :D This way you're sure it WILL work with the IMAGE FILE it's pointing at.

An infographic (I got lazy to write) about how coordinates work

iuoggbh.jpg

About The Icon Sheets

So if you've cloned the IMAGESET file then you also want to clone the ICON SHEET it's pointing at, so that you preserve the layout of the artworks on the image. You can edit to your heart's content but you have to stay within the layout-box for each icon.

There is more detailed info about working with Icon Sheets here.

And you should be good to go!

Tags:

imageset_files.txt · Last modified: 2017/02/24 23:14 by phanjam