Imageset

Imageset (or atlas) is big texture that contains a lot of small icons or other pictures that will be used in game.

Usually it represented by two files:
 * *.png — the image file itself. You can create it manually at image editor program or generate from images by various atlas generation software that can be found at internet.
 * ''*.imageset — file that contains description of icon's locations and sizes. You can edit this zones manually in visual editor that names CEED [link].



Register imageset
If you want to use imageset at mods you need to register it in system. So, you need also script file with line that loading imageset by filename:

loadImageset( '909751513.imageset' )



Open *.imageset file in text editor and make sure that name attribute are defined and imagefile attribute use full path:

&lt;Imageset autoScaled= "false" imagefile= "mods/909751513/atlas.png" name= "909751513" nativeHorzRes= "800" nativeVertRes= "600" version= "2" > &lt;Image height= "22" name= "ImageA" width= "22" xPos= "427" yPos= "27" /> &lt;Image height= "145" name= "ImageB" width= "135" xPos= "66" yPos= "33" /> &lt;/Imageset>

It is highly recommended to use only one imageset per mod and name it the same as your mod id.

If everything is done right you can use images from this imageset in all contexts like this:

"909751513/ImageA"