Thread: Item Icons
View Single Post
  #2  
Old 11-28-2008, 08:22 PM
Keneth Keneth is offline
Approved Member
 
Join Date: Nov 2008
Location: here and there
Posts: 378
Default

ok, so I've figured out that all item textures (and other types of textures as well, I guess) are all crammed into one or more compressed texture files and not archived as I first assumed. What led me to this conclusion was the itextures.txt which is composed of blocks like this:
Code:
  block {
    filename=heroitem_helm_commander.png
    in_tex_pos=608,165
    in_tex_size=52,52
    geom_pos=0,0
    geom_size=1,1
    mask=498230,338
  }
The first entry is the name the game uses to call for the texture, the second I'm guessing are (pixel) coordinates in the large texture file, then size obviously, no idea what the next two are but they appear to be the same for all entries, and the last one is data about the image mask (though I'm not sure what it represents, likely transparency color).

The only problem now is, I can't seem to find which files these textures are in. Anyone feel like helping me in the search? It's likely one of the DDS files which can be opened with photoshop or a similar program (you need to download a plugin for it first though). I wanna start making some custom items/skills, so I'd be nice if we figured this out.
Reply With Quote