Jump to content

Item Type Icons available


Recommended Posts

Just Curious if there is a list somewhere or where to find the "itemtypeicons" that are available in the game already.  Have done a little digging, But have not found them yet.  Just a list of names would be great, or just the location to find them.

 

Thanks

 

Link to comment
Share on other sites

I assume you mean a list of values that you can use in the "ItemTypeIcon" property of an item or block?

 

If so - there is a list of .tga icons, which can be used with buffs, in XML.txt (starting on line 1793). However, not all of them can be used for the value of "ItemTypeIcon". You need the ones that start with "ui_game_symbol". That prefix is added in controls.xml and windows.xml, so don't include the prefix in the "ItemTypeIcon" value.

 

But, long as that list is, it isn't complete. So, you could also search the code for other "ItemTypeIcon" values that TFP use, and include them.

 

Short of decompiling the Unity bundles, I think that's as much information as you're going to get.

Link to comment
Share on other sites

One other thing you might find useful. If you want an icon that's not available in vanilla, you can create your own. You just have to name it with the correct prefix.

 

I didn't know this myself. It was figured out here: 

EDIT: if you do this, of course both clients and servers will need to install the modlet to pick up the icons.

Edited by khzmusik
Autocorrect fail (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...