More actions
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Dimensions == | == Dimensions == | ||
An item Icon has 3 dds parts. | An item Icon has 3 dds parts, all perfect squares. | ||
=== Tooltip Icon === | === Tooltip Icon === | ||
This is 380x380px icon in the best quality it will be seen, when you hover over the item in the inventory. | This is 380x380px icon in the best quality it will be seen, when you hover over the item in the inventory. | ||
It has a | It has a fade gradient from the bottom. | ||
=== Controller Icon === | === Controller Icon === | ||
Line 41: | Line 33: | ||
MySweetMod\Public\MySweetMod\GUI '''Icons_Items.lsx goes here. This tells the game what size the atlas is, where the image is on the atlas and what name the icon has to link it all up. This file is NOT converted to lsf!''' | MySweetMod\Public\MySweetMod\GUI '''Icons_Items.lsx goes here. This tells the game what size the atlas is, where the image is on the atlas and what name the icon has to link it all up. This file is NOT converted to lsf!''' | ||
== Sample Code | == Sample Code == | ||
If your mod uses only one icon and has a 64x64 atlas, you can use this: | If your mod uses only one icon and has a 64x64 atlas, you can use this: | ||
Line 99: | Line 67: | ||
If you are making a mod that has a 256 size atlas room for 16 icons, you can use this: | If you are making a mod that has a 256 size atlas room for 16 icons, you can use this: | ||
<save> | <save> | ||
Line 240: | Line 207: | ||
</region> | </region> | ||
</save> | </save> | ||
== Tools to Create Icons == | == Tools to Create Icons == | ||
- The [https://github.com/ShinyHobo/BG3-Modders-Multitool Modder's Multitool] has an atlas converter. | - The [https://github.com/ShinyHobo/BG3-Modders-Multitool Modder's Multitool] has an atlas converter. | ||
Line 254: | Line 223: | ||
- [https://www.nexusmods.com/baldursgate3/mods/3862 Mod Builder] will generate LSX code and folder structure for you. It is recommended you use this over the sample equipment one, as its atlas is more compact, and few mods add 54+ icons. | - [https://www.nexusmods.com/baldursgate3/mods/3862 Mod Builder] will generate LSX code and folder structure for you. It is recommended you use this over the sample equipment one, as its atlas is more compact, and few mods add 54+ icons. | ||
== Basic image editing guide to create icons == | == Basic image editing guide to create icons == | ||
Line 270: | Line 235: | ||
* Add the fade gradient. You should have 2 different .PNG versions of the icon, one with the fade out and one without. | * Add the fade gradient. You should have 2 different .PNG versions of the icon, one with the fade out and one without. | ||
* Size correctly, and save as .DDS | * Size correctly, and save as .DDS | ||
== Compression == | == Compression == | ||
Save your icons in .DDS DTX5, No Mipmaps. (Mipmaps are only needed for things that move closer and further to the camera, they will only make your icons blurry) | Save your icons in .DDS DTX5, No Mipmaps. (Mipmaps are only needed for things that move closer and further to the camera, they will only make your icons blurry) | ||
Notably you will need to name your atlas .dds NOT .DDS. (or to match whatever you have written in your .lsx code) | |||