Page 1 of 1

Creating new Textures

Posted: Fri Jul 31, 2009 5:46 pm
by Fierfek
Sorry if this seems really noobish....
I am having lots of troubles making a new texture (tga). I am trying to make a single texture for Zeroeditor that is about 50 by 35 blocks (or meters, or whatever each square in ZE stands for), but whenever I place it, it is just gray (as in default). So how do I create a new texture that works in Zeroeditor and BF2?
Sorry, I am having lots of troubles with this (I know it is probably really simple).
Here is my process for creating new TGA:
- Make a pic in photoshop
- Save as TGA (with RLE compression OFF)
- Paste it in my world1 folder
- Place in ZE using the texture tool (I replace Yavin one)
- It comes up in the map as gray, and doesn't work

Help?

Re: Creating new Textures

Posted: Fri Jul 31, 2009 5:47 pm
by Xavious
Textures should be powers of two. 32x32, 64x64, 128x128, etc.

Re: Creating new Textures

Posted: Fri Jul 31, 2009 5:48 pm
by Fierfek
Xavious wrote:Textures should be powers of two. 32x32, 64x64, 128x128, etc.
Umm.... think I did that, but let me go check.

Re: Creating new Textures

Posted: Fri Jul 31, 2009 5:51 pm
by Xavious
Didn't you just say it was 50 by 35?

Re: Creating new Textures

Posted: Fri Jul 31, 2009 5:53 pm
by DarthD.U.C.K.
maybe hes referring to the area of the terrain that is covered with the new texture...

Re: Creating new Textures

Posted: Fri Jul 31, 2009 5:53 pm
by Fierfek
Xavious wrote:Didn't you just say it was 50 by 35?
Ah, I meant that it was a square with texture on some of it, then blank space to fill up the rest of the square.
Okay, so turns out my texture wasn't a power of 2. Testing now.....
Okay, doesn't work.
Here is what the texture looks like in Zeroeditor:
Hidden/Spoiler:
Image
What exactly must I do to create a new texture?
(PS - In photoshop, I told it to make the image 128x128 inches. Would that affect anything? Does it need to be pixels?)

Re: Creating new Textures

Posted: Fri Jul 31, 2009 10:43 pm
by Maveritchell
Fierfek wrote:(PS - In photoshop, I told it to make the image 128x128 inches. Would that affect anything? Does it need to be pixels?)
It needs to be measured in pixel units, not inches. 128*128 pixels.