HUGE Tileset Modifications + Atlas reorganization#316
HUGE Tileset Modifications + Atlas reorganization#316ZenithC7 wants to merge 2 commits intoravignir:masterfrom
Conversation
Incomplete (by a lot still)
|
Hmm... I don't want to be mean or anything, but can this get split into multiple PRs? One for splitting the folders (I'll need to do that eventually anyways), one for adding new images, and one for resizing existing ones. I say that for 2 main reasons
|
|
Will do, but I will split the PR into two.
The icon size rescaling was done in batch via PowerToys Image Rescaler (for pngs) and PowerRename (regex). Its purpose is to minimize atlas space usage, since some icons were designed at 200x200 or 400x400 (but sometimes follow 100x100 resolution). I believe this wouldn't affect quality that much because it's a mono colored icon, it only really gets displayed in a very small area so the edge seam changes won't be that visible. Plus the base game uses 100x100.
As for this topic, the resizing was done to remove overlay bleeds. 5Hex has a 120x105 tile size, but the only visible parts are the 80x76 hexagon in the center, the outskirts are used for blending. If the tile size in the mod folder is already 80x76, then the game will rescale it back to 120x105, thus creating edge bleeds (edges of the tile overlay gets printed on neighboring tiles), which makes it look incredibly messy. So I manually rescaled it back to 120x105 by adding blank padding to the images using ibisPaint rescale canvas feature. Upscaling won't cause losses in quality. And while doing so, I also modified little bits on the image itself (so I cannot seperate the resizing part to a seperate PR). I will leave the easy part (moving folders) for you, because GitHub diffs suck so bad when moving folders with files. |


HexaRealm:
5Hex:
Images and Atlas
Imagesfolder to 4 sections for smoother performance:Images/TilesetsImages.Constructionswhich containsImprovementIconsandBuildingIconsImages.Iconswhich containsNationIcons,PolicyIcons,ResourceIconsandTechIconsImages.Unitswhich containsUnitIconsandUnitPromotionIcons100x100 pxto100x100 pxor 50x50 px`, accordingly. This helps to:.pngfiles for one atlas400x400 pxicons occupy one whole atlas png100x100 pxicons occupy one atlas png