Page 1 of 1
texture prob.
Posted: Mon Jan 05, 2004 3:00 pm
by {UDT}OS3.Barney_Fife
I read this in another post>
To use the textures simply create a folder called 'textures' in your MOHAA\main directory. Now create another folder inside 'textures' with a name relevent to a certain group of textures (like 'common' or 'wilderness' in the texture menu). For example create a folder called 'mafia' and put all the Mafia textures in there. Now you will be able to access these textures in Radiant by going to the textures menu and selecting the name of the folder, for example textures->mafia. Now you will be able to use these like normal textures. If you are distributing your map you will need to out the 'textures' folder and the needed textures in your .pk3 file.
I did it but my Textures dont show up but I see the name I called it in Radiant what am I doing rong.

Posted: Mon Jan 05, 2004 3:25 pm
by jv_map
I think you didn't make shaders for your textures. Shaders are small pieces of code that contain information about the texture like the material type (i.e. wood, stone, glass...) and other special aspects like transparency.
All regular textures in the game have shaders, but it is possible to use textures without shaders. Radiant by default doesn't show textures without shaders in the texture menu, that's why you have to enable 'show non-shader images' in edit->preferences.
I suggest you do a search if you want to learn how to make shaders...
Posted: Mon Jan 05, 2004 4:13 pm
by {UDT}OS3.Barney_Fife
Thank for your help i will search around.
Posted: Tue Jan 06, 2004 4:17 am
by Cheetohs
A good tut on custom textures and the .shaders is (yes

once again, Nemesis's Tut. Page)...jeez, im obsessed wit the site.
http://users.1st.net/kimberly/Tutorial/cust-text.htm
Posted: Wed Jan 07, 2004 11:40 am
by carduchi
textures/mafia/the name of your picture here
{
qer_keyword metal
surfaceparm metal
{
map textures/mafia/the name of your picture here
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
==================================dont copy this======================================
just make a folder called scripts in your mohaa main copy the script and open up notepad.Paste copied script in notepad and save as whateveryouwant.shader and save it in your scripts folder. you dont have to pak it up if you dont want.......See where i put in surfaceparm metal in the script there are are many surfaceparms you can use like wood glass plaster ect...........im not going though them all sorry
Posted: Wed Feb 18, 2004 3:18 pm
by ziptie2k2
jv_map wrote:I think you didn't make shaders for your textures. Shaders are small pieces of code that contain information about the texture like the material type (i.e. wood, stone, glass...) and other special aspects like transparency.
All regular textures in the game have shaders, but it is possible to use textures without shaders. Radiant by default doesn't show textures without shaders in the texture menu, that's why you have to enable 'show non-shader images' in edit->preferences.
I suggest you do a search if you want to learn how to make shaders...
Can you tell me why these non-shader textures dont show up when I go into the map to play it? Do you have to create a shader for it to show up in game?
What I am trying to achieve is a wheel for a forklift, by using the gmc truck tire and wheel textures but they only show up as the dreaded yellow grid in game.