texture prob.

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
{UDT}OS3.Barney_Fife
Sergeant
Posts: 68
Joined: Sat Jan 03, 2004 12:01 pm
Location: Minnesota, Owatonna
Contact:

texture prob.

Post 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. :?:
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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...
Image
User avatar
{UDT}OS3.Barney_Fife
Sergeant
Posts: 68
Joined: Sat Jan 03, 2004 12:01 pm
Location: Minnesota, Owatonna
Contact:

Post by {UDT}OS3.Barney_Fife »

Thank for your help i will search around.
User avatar
Cheetohs
Brigadier General
Posts: 569
Joined: Sun Jan 04, 2004 6:01 am
Location: Minnesota
Contact:

Post by Cheetohs »

A good tut on custom textures and the .shaders is (yes :D once again, Nemesis's Tut. Page)...jeez, im obsessed wit the site.

http://users.1st.net/kimberly/Tutorial/cust-text.htm
.:c|H|EE|TO|H|s|:.
Image
Need a thorough map tester? Shine the Cheetohs signal!
User avatar
carduchi
Lance Corporal
Posts: 22
Joined: Wed Jan 07, 2004 5:14 am
Contact:

Post 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
User avatar
ziptie2k2
Major
Posts: 326
Joined: Wed Jan 21, 2004 5:19 pm
Contact:

Post 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.
I once was lost, but now........... I'm still lost!
Post Reply