[Mod] XGUI [0.1][xgui]
[Mod] XGUI [0.1][xgui]
I wanted to test the new background formspec addition and I was able to create a new look for the default inventory. This mod only works if you are in normal mode and there are no other inventory mods installed. This is merely a test to see if it is actually possible. It is ,but it isn't easy to get everything perfectly aligned.
License (except for background texture): WTFPL
Background image is from DokuCraft TP from this site: http://minecraftcustomizer.net/pack/Dok ... +Continues
Future Updates:
Check form size
Mod support
Download: http://dl.dropbox.com/u/71911483/xgui.zip
License (except for background texture): WTFPL
Background image is from DokuCraft TP from this site: http://minecraftcustomizer.net/pack/Dok ... +Continues
Future Updates:
Check form size
Mod support
Download: http://dl.dropbox.com/u/71911483/xgui.zip
Last edited by ashenk69 on Tue Dec 11, 2012 14:31, edited 1 time in total.
Youtube Channel: http://www.youtube.com/user/ashenkster69
- kotolegokot
- Member
- Posts: 131
- Joined: Mon Jul 02, 2012 17:03
- Location: Russia, Ishim
This looks nice.
I'm creator of these mods: Locked sign, Locked furnace, Money. And I'm a developer of The RealTest Game.
- RealBadAngel
- Member
- Posts: 557
- Joined: Wed Jul 18, 2012 16:30
heheh glad to see use of my changes to the engine
TIP: background image is slightly moved to the left and up by value of spacer/2
this is made so because item is displayed in the top left corner, thx to the shift it will land in exact middle of the square
TIP#2: to get backgrounds fit the grid, make it square. if you expect it to be same sized as coordinates. so, if youre planning to make a background for 4*5 sized formspec area, in 16px resolution, background image shall be sized 4*16 x 5*16
another example of usage:
TIP: background image is slightly moved to the left and up by value of spacer/2
this is made so because item is displayed in the top left corner, thx to the shift it will land in exact middle of the square
TIP#2: to get backgrounds fit the grid, make it square. if you expect it to be same sized as coordinates. so, if youre planning to make a background for 4*5 sized formspec area, in 16px resolution, background image shall be sized 4*16 x 5*16
another example of usage:
Last edited by RealBadAngel on Sun Dec 09, 2012 10:21, edited 1 time in total.
I am not sure. I am not that great when it comes to choosing the proper license. What should it be?xyz wrote:How can it be WTFPL if you took textures from DokuCraft?ashenk69 wrote:License: WTFPL
Youtube Channel: http://www.youtube.com/user/ashenkster69
Depending on the image size and how much you add as a negative margin changes the image size. If I had known this ahead of time, I would have done it even better. You are right about the image being x*16 and y*16, but you also have to account for the negative margin. I used -.5 for x and -.25 for y which for some reason yields the perfect result for hiding the box. This would make the image size if w=8 and h=8 to be 136x136. This would get the correct alignment and everything. You can see in my image that there are some spots where it could be shifted one pixel either direction but because one pixel would push it out of alignment.RealBadAngel wrote:heheh glad to see use of my changes to the engine
TIP: background image is slightly moved to the left and up by value of spacer/2
this is made so because item is displayed in the top left corner, thx to the shift it will land in exact middle of the square
TIP#2: to get backgrounds fit the grid, make it square. if you expect it to be same sized as coordinates. so, if youre planning to make a background for 4*5 sized formspec area, in 16px resolution, background image shall be sized 4*16 x 5*16
Youtube Channel: http://www.youtube.com/user/ashenkster69
I am not very good at graphics design but if you want it in the style of default minecraft, there's is super simple. Just grey boxes and borders.PilzAdam wrote:Can you do some inventory texture in the default style? I am looking for something to add it to upstream.
Youtube Channel: http://www.youtube.com/user/ashenkster69
I checked the site I got it from and they said as long as I credit that it is from Dokucraft they are fine. I'll also add the link since it is a nice site to get textures from.Calinou wrote: You're just not allowed to redistribute DokuCraft textures without the author's permission.
Please ask the author for permission, or use different textures as soon as possible.
Youtube Channel: http://www.youtube.com/user/ashenkster69
will be that it could be done in the creative inventory?
I wanted a beautiful image for the creative xD
I wanted a beautiful image for the creative xD
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods
[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458
[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458
- jordan4ibanez
- Member
- Posts: 1923
- Joined: Tue Sep 27, 2011 18:44
- GitHub: jordan4ibanez
- IRC: jordan4ibanez
- In-game: jordan4ibanez
No, there still isn't a way to customize the hotbar it stays bland for now.jordan4ibanez wrote:Can you modify the hotbar with this?
Youtube Channel: http://www.youtube.com/user/ashenkster69
I updated the first post with new textures. The first one is a template for a 128x128 inventory and the second is a texture I created. I know PilzAdam wanted a texture to upstream as a default.
Youtube Channel: http://www.youtube.com/user/ashenkster69
Will this mod ever be completed?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
Mods: Orichalcum Stonebricks Extra Chests
I am working on a mod currently that is going to be big for map making and adventure maps.
Youtube Channel: http://www.youtube.com/user/ashenkster69
Will this at some point include creative inventory and furnace
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
Mods: Orichalcum Stonebricks Extra Chests
Who is online
Users browsing this forum: No registered users and 9 guests