My Custom Textures

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
SAS-Ollie

My Custom Textures

Post by SAS-Ollie » August 27th, 2005, 1:33 pm

hey,
wondering if anyone can help me...I made a texture and converted it to DDS file. then i put it in /main/textures/MATRIX,
then i made the map (in cod radiant the texture showed up)...wen i played the map the textures were black....

p.s i have put the folder textures with subfolder matrix then my textures into the pk3 file..so its all there

PLEASE SOMEONE :?: :?:

thanks..SAS-ollie

User avatar
MuRpHy*
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 2159
Joined: May 10th, 2005, 11:02 pm
Location: Tha A.T.L Baby ;)

Post by MuRpHy* » August 27th, 2005, 2:04 pm

OK, i cant tell where you went wrong by just that. so delete it and follow these instructions carefully.

1. Choose a texture. Save it as a Jpeg in a format that contains a power of 2.(1024x512, 128x128, 256x64...)

2. Open it in Photoshop or any other program that has a DDS-Plugin(the texture format that CoD uses). You can find the plugin for Photoshop in our downloads section here and here.

3. Save it as DDS. A dialog will open where you can set many different things. Don’t wory about it. o­nly make sure, that “Generate Mip-Maps” is activated and you’re using either DXT 1 (RGB No-Alpha) or DXT1 (ARGB 1-bit Alpha)

ARGB is o­nly used for see-through textures. For havin those, you’ll need a fourth channel called Alpha. Paint the visible parts of your texture white and the see-through parts black. Then save.

4. To get the textures into Radiant, make a textures subfolder in your main folder of CoD, and in that o­ne another subfolder. I always call this o­ne the name of the map I use the texture in, saves me from trouble.

5. Now you can either write a texturename.shader file for the texture and place it in in the folder main/scripts or rename the texture to surface@texturename.dds. The surfaces you can use are in the shadertypes/world subfolder of the pak4.pk3 zip file. They have the extension .stype. You can see textures using these in the pak0.pk3 and pak1.pk3. For example i made a lid for my sewer entrance which i gave the name metal@sewerlid.dds. It made the texture behave like metal when you shoot it or walk over it.

(always check modsonline.com ;) )
Image
Image

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » August 27th, 2005, 2:12 pm

I checked it out, and I couldn't see what was wrong :?

The .dds files are in the .pk3, and the textures show up in radiant, they just don't show up in cod
Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » August 27th, 2005, 4:58 pm

If you follow the tutorial from modsonline (posted by murphy above) then you should be fine. Im guessing your texture is not exactly a power of 2.

Post up the EXACT size of the image in pixels.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
MuRpHy*
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 2159
Joined: May 10th, 2005, 11:02 pm
Location: Tha A.T.L Baby ;)

Post by MuRpHy* » August 27th, 2005, 6:15 pm

yup, good thought drofder, didnt think of that :/ but yea just follow the mods online tut
Image
Image

User avatar
[SoE]_Zaitsev
Core Staff
Core Staff
Posts: 14220
Joined: October 21st, 2004, 7:17 pm
Location: Holland
Contact:

Post by [SoE]_Zaitsev » August 27th, 2005, 7:21 pm

Also create an account, it only takes a few seconds ;)
matt101harris wrote:big cock was the first thing that came to my head lol

User avatar
MuRpHy*
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 2159
Joined: May 10th, 2005, 11:02 pm
Location: Tha A.T.L Baby ;)

Post by MuRpHy* » August 27th, 2005, 7:28 pm

you are also allowed to use the edit button if you are registered :P
Image
Image

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Post by Soviet » August 27th, 2005, 8:41 pm

ahhh, the massive benifits :P

Guest

Post by Guest » August 29th, 2005, 8:19 pm

thanx everyone...but i have made my image 512x512 ...still doesnt work..:'(



SAS-Ollie,

User avatar
MuRpHy*
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 2159
Joined: May 10th, 2005, 11:02 pm
Location: Tha A.T.L Baby ;)

Post by MuRpHy* » August 29th, 2005, 8:33 pm

register and login first of al, and what error is it giving you? need more details to help
Image
Image

Shifty.Inc
CJ Wannabe
CJ Wannabe
Posts: 30
Joined: August 29th, 2005, 8:22 pm
Location: England

reply

Post by Shifty.Inc » August 29th, 2005, 9:30 pm

Murphy are u online now...i could use some help now if possible..ive added u on msn..

CHEERS M8,
Shifty.inc(SAS-Ollie)

User avatar
MuRpHy*
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 2159
Joined: May 10th, 2005, 11:02 pm
Location: Tha A.T.L Baby ;)

Post by MuRpHy* » August 29th, 2005, 10:30 pm

yea im here, hit me up on msn and ill glad to help you out ^^, although i havent seen your invite :(
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest