spell/skill icon grid layer?

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

Re: spell/skill icon grid layer?

Post by bongobeat »

thanks all for your answers

which is the correct format for the output file?
DXT3, DXT5?
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
User avatar
Isaac
Posts: 3179
Joined: Fri Mar 02, 2012 10:02 pm

Re: spell/skill icon grid layer?

Post by Isaac »

[dxt3 or dxt5] I would say that it depends on the the alpha content of the image, but that in most cases DXT5 is the format to use.
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: spell/skill icon grid layer?

Post by akroma222 »

(sorry if I am repeating stuff)

using GIMP -
1. Create new (use foreground colour fill)
2. Filters > Render > Patterns > Grid
3. Adjust line width and spacing to suit
4. Use Text Tool (change colour to white) to add layers of number
5. Merge down all text layers and you should be good to go

Or here is a link to imgur with the 3 atlases (1024x1024 items, 750x900 traits, 256x256 conditions)
http://imgur.com/a/Is4EL

Once in your icon atlas, select open as layer, then once the grid has been added, reverse laer order
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

Re: spell/skill icon grid layer?

Post by bongobeat »

thanks for the precisions


Akroma, no problem for the repeating things :lol:

I already downloaded your grid texture when I searched for this post, but I wanted to know exactly how to create the full texture (with icons I mean).
First by seeing your grid I was wondering if you have to put all icons "by hand", it seems weird for me and then I though there is something special to do with the GFX atlas toolkit. But ... no. In fact I wasn't sure why you made that grid.

Well, after all those explanations, I know, now, that you have to make your atlas "by hand".

Anyway, thanks again all for your help.
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
minmay
Posts: 2770
Joined: Mon Sep 23, 2013 2:24 am

Re: spell/skill icon grid layer?

Post by minmay »

For icon atlases and GUI elements in general I recommend not using compression at all (save as uncompressed RGBA8). S3 compression artifacts look pretty bad on 2D images, especially on icon atlases since the icons will bleed into each other.

edit: For the same reasons you typically don't want to compress particle images. Of course you should still compress most of your textures for 3D materials.
Last edited by minmay on Thu Aug 04, 2016 6:35 am, edited 1 time in total.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: spell/skill icon grid layer?

Post by akroma222 »

minmay wrote:For icon atlases and GUI elements in general I recommend not using compression at all (save as uncompressed RGBA8). S3 compression artifacts look pretty bad on 2D images, especially on icon atlases since the icons will bleed into each other.
I really wish Id know this sooner, thankyou for the info Minmay :oops: :roll:

To show a simple example of this effect
(Left - no compression, right - [dxt3 or dxt5])
SpoilerShow
Image
Post Reply