Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

How 2 Add New Textures

Page: 1 of 1
 JeeMonkey
02-10-2004, 10:50 PM
#1
SITUATION:
hey all, i found these great, free, legal, textures on the web and i want to use them in my map. ive put them into a .PK3 fiel and i am able to add them to my map using gtk-radiant. however, when i go to compile my map, some of them cause compiling trounbles, and some of them wont show up in the game. few of them show up in the game. they are all .JPG files (not modifyed into .jpg, ....originally .jpg!) and i know that the size of the texture fiel is not an issue because i used a much larger texture and it worked while the smaller one did not.

QUESTIONS:
1)what is going on?
2)how do i fix the textures that wont show up in the game?
3)why are some of my textures causing compiling troubles?

NOTE:
thanks for all your help guys, u have no idea how much you have participated in helping me make my map. :)
 WadeV1589
02-11-2004, 11:35 AM
#2
What problem are you getting? refusing to load non-power-2 dims?

If that's the case, your custom textures have to be resized, the width and height of all textures for a JA map need to be powers of 2, e.g. 512x256 is a valid size while 500x240 is not.

Useful powers of two: 32, 64, 128, 256, 512, 1024
 Jedi_Vogel
02-11-2004, 12:37 PM
#3
I'm sure there was a post on this thread before that read "pk3 them".

Anyhow, if you want to MAKE your own textures (i.e. create a pretty pattern in PSP and then get it to work in JA/GTKRadiant) how would I go about it?
 WadeV1589
02-11-2004, 1:13 PM
#4
Save it as a JPG file in \base\textures\somefolder.

The 2 things about JPG files are:
1) it has to be standard not progressive encoded (options in save as dialog)
2) the dimensions have to be powers of 2 as stated above.


And finally, you don't need to PK3 things for them to work in game, just type sv_pure 0 in the console before loading a map.
 Jedi_Vogel
02-11-2004, 3:11 PM
#5
Thanks :)
 Jedi_Vogel
02-13-2004, 2:29 PM
#6
But for distribution of the map, they would be included HOW in the pk3?

That is a very newbie question I know but as I'm working on my first real map, I guess that makes me a newbie :p
 vas_zag
02-13-2004, 2:46 PM
#7
basically if you put a pk3 in the base folder the game just sees the files as if their in the base folder
since the game doesnt get any files it needs map wise from the base folder you need to add subfolders to your pk3
so for example if you want the textures to be read by the game you need them in the base/textures folder
you also need another folder in "textures" folder to put your textures in
usually you name it after your map so the texture files in the pk3 would be in "textures/mymap" path
does that make sense?
 Jedi_Vogel
02-13-2004, 4:03 PM
#8
Yeah I think so :lol: I am a little way off including my own textures. Once I've built the layout of the map fully then I will need to add my own, so I'll just save your advice to a text file for easy reference later.

Thanks :)
 JeeMonkey
02-19-2004, 7:10 PM
#9
now that i know how to use textures i have made in my map, how do i make them so they arnt distorted? i dont want the pattern to be too tiny but i dont want the pattern to be too blury either, how do i fix this?
Page: 1 of 1