Page 1 of 1
My Custom Textures
Posted: August 27th, 2005, 1:33 pm
by SAS-Ollie
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
Posted: August 27th, 2005, 2:04 pm
by MuRpHy*
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

)
Posted: August 27th, 2005, 2:12 pm
by Pedsdude
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
Posted: August 27th, 2005, 4:58 pm
by Drofder2004
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.
Posted: August 27th, 2005, 6:15 pm
by MuRpHy*
yup, good thought drofder, didnt think of that

but yea just follow the mods online tut
Posted: August 27th, 2005, 7:21 pm
by [SoE]_Zaitsev
Also create an account, it only takes a few seconds

Posted: August 27th, 2005, 7:28 pm
by MuRpHy*
you are also allowed to use the edit button if you are registered

Posted: August 27th, 2005, 8:41 pm
by Soviet
ahhh, the massive benifits

Posted: August 29th, 2005, 8:19 pm
by Guest
thanx everyone...but i have made my image 512x512 ...still doesnt work..:'(
SAS-Ollie,
Posted: August 29th, 2005, 8:33 pm
by MuRpHy*
register and login first of al, and what error is it giving you? need more details to help
reply
Posted: August 29th, 2005, 9:30 pm
by Shifty.Inc
Murphy are u online now...i could use some help now if possible..ive added u on msn..
CHEERS M8,
Shifty.inc(SAS-Ollie)
Posted: August 29th, 2005, 10:30 pm
by MuRpHy*
yea im here, hit me up on msn and ill glad to help you out ^^, although i havent seen your invite
