?Making textures with alpha?


pluckster
08-03-2006, 02:45 PM
Ok ill put it down...

I need a camo alpha texture for an mg nest type setup.

I have never made a texture before but thought this would be a good time to learn because i would start with a foliage type texture then modify it to be a camo cover.

I was hoping that someone could teach me/point me in the direction of some good tutorials so i could make my own stuff.

I have the VTF plugin for photoshop for some reason so if thats a help tell me how please.

i want to add more than maps to the community so this is how i thought i could start.

ultranew_b
08-03-2006, 05:09 PM
Here is a basic tut on it. Same principles can be applied for any version of PS.

http://www.sluniverse.com/kb/article.aspx?id=10199

When you finally get the texture set-up and ready for placement on a displacement you will need a special .vmt file that will disable collision on the displacement.

This is one I created for my camo-net textures:


"LightmappedGeneric"
{
"$basetexture" "yourfolder/yourtexturename"
"$surfaceprop" "Dirt"
"%keywords" "yourname"
"$nodecal" 1
"%compileNonSolid" 1
"$translucent" 1
}


The important line is "%compileNonSolid" 1.

:)

MeleeMe!
08-03-2006, 08:44 PM
Originally posted by ultranew_b


The important line is "%compileNonSolid" 1.

:)

NICE!!

I needed this very same attribute for a texture I made months ago but gave up because I could'nt find this option.

I also made a camo netting texture I was going to make models with because I thought displacements only show the texture on one side. Will the "$translucent" 1 option work the same with displacements as it does with models? If you use that option in your model's texture VMT it will show the texture on both sides. I would test it myself but im having some computer problems at the moment.

So has anyone tried using an alpha or any other texture on a displacement where it will show on both the top and bottom?

Caldbeck
08-03-2006, 10:24 PM
you could just make a world brush with the camo texture on it, 1 unit thick, and displace both sides at the same time.

ultranew_b
08-04-2006, 09:39 AM
Exactly !

:)

pluckster
08-05-2006, 10:32 AM
i would but i actually want something that looks like a camo-net so ill edit one first then do the displacement thing

EDIT: followed the instructions but when i got to saving it, the option for the alpha channel was not availible

pluckster
08-08-2006, 02:53 PM
ok i got it to work, put it in my map but then the mesh blocks out all light instead of some. another thing is that the displacement method is quite hard to do because i have to make sure both sides dont overlap each other but at the same time they cant be too far apart.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.