How to create a texture for a craft item?

User avatar
Tmanyo
Member
 
Posts: 196
Joined: Mon Sep 29, 2014 01:20
Location: United States
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

How to create a texture for a craft item?

by Tmanyo » Sun Aug 09, 2015 01:38

So I know I just asked a question here not too long ago and this is related in a way but not really. I am using GIMP and working with 16 x 16 pixels. My problem is I make the picture then add an alpha channel. When I get on the game for the image I placed in textures shows as just an empty box in the inventory and when I place it in the equipment bar thing ( I don't exactly know what it is called), it just shows as 2 little tiny white squares. I must be doing something wrong with the texture. Please help.....
I have already looked at this - http://rubenwardy.com/minetest_modding_book/chapters/creating_textures.html
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player
 

User avatar
kaeza
Moderator
 
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: How to create a texture for a craft item?

by kaeza » Sun Aug 09, 2015 03:10

Can you show the code that registers the item?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal
 

User avatar
Hybrid Dog
Member
 
Posts: 2719
Joined: Thu Nov 01, 2012 12:46

Re: How to create a texture for a craft item?

by Hybrid Dog » Mon Aug 10, 2015 20:17

l think wield doesn't support semi transparency but inventory images do

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

User avatar
Don
Member
 
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: How to create a texture for a craft item?

by Don » Tue Aug 25, 2015 16:45

Be sure to use hard edge in gimp. Make it so everything is transparent or solid colour.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
Tmanyo
Member
 
Posts: 196
Joined: Mon Sep 29, 2014 01:20
Location: United States
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: How to create a texture for a craft item?

by Tmanyo » Sat Aug 29, 2015 01:19

Thank you all but I found the problem of why it wasn't registering correctly. I misspelled the picture name in the textures file.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player
 

User avatar
Don
Member
 
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: How to create a texture for a craft item?

by Don » Sat Aug 29, 2015 01:55

Glad to hear that you found the problem.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 


Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 1 guest