How to make a classique texture for hl2
I]Generalities
A texture is composed with 2files MINIMUM
- One file VTF who is the texture
- one file VMT who defines where is the texture and somes others things
To make easily the VTF,use this plug-in:
http://khelben1.free.fr/root/Utilitaires/psvtfplugin108.zip
You need photoshop 6 or later..
1) Close Photoshop.
2) Extract VTFLib.dll in ..\Photoshop\
3) Extract VTF.8bi in ..\Photoshop\Plug-Ins\File format\
or ..\Photoshop CS\Modules externes\File format\
4) Launch Photoshop.
Templates :
Compressed Texture
Compressed Texture with Alpha
DuDv Map
Generic (Default)
Normal Map
Normal Map with Alpha
Sky
Uncompressed Texture
Uncompressed Texture with Alpha
II]Classique textures
Make your texture with your favorite logiciel,then,open it with photoshop (if itsn't already done)
Now juste save the picture in the VTF format
Choose the compressed textures template
warning: to save in VTF format,there is some conditions :
- Picture must be Coulor RVB (16M coulors) not 256 coulors or less
- picture must have 8bits/couche not 16
Structure of the .VMT:
To make the .vmt just put that code in a bloc note file saved in "Texture.vmt"
List of the "material sort":
Put the VTF and the VMF in the same file
exemple:
../steam/steamapps/khelben/Counter-strike source/cstrike/materials/tutotexturing/texture.vtf
../steam/steamapps/khelben/Counter-strike source/cstrike/materials/tutotexturing/texture.vmt
exemple of a vmt:
Thanks for reading,and good texturing to you
kh ,or khelben in intimity.
I]Generalities
A texture is composed with 2files MINIMUM
- One file VTF who is the texture
- one file VMT who defines where is the texture and somes others things
To make easily the VTF,use this plug-in:
http://khelben1.free.fr/root/Utilitaires/psvtfplugin108.zip
You need photoshop 6 or later..
1) Close Photoshop.
2) Extract VTFLib.dll in ..\Photoshop\
3) Extract VTF.8bi in ..\Photoshop\Plug-Ins\File format\
or ..\Photoshop CS\Modules externes\File format\
4) Launch Photoshop.

Templates :
Compressed Texture
Compressed Texture with Alpha
DuDv Map
Generic (Default)
Normal Map
Normal Map with Alpha
Sky
Uncompressed Texture
Uncompressed Texture with Alpha
II]Classique textures
Make your texture with your favorite logiciel,then,open it with photoshop (if itsn't already done)
Now juste save the picture in the VTF format

Choose the compressed textures template
warning: to save in VTF format,there is some conditions :
- Picture must be Coulor RVB (16M coulors) not 256 coulors or less
- picture must have 8bits/couche not 16

Structure of the .VMT:
To make the .vmt just put that code in a bloc note file saved in "Texture.vmt"
"LightmappedGeneric"
{
"$basetexture" "Acces road" <= acces road without ../materials/ and without extension .vtf
"$surfaceprop" "material sort" <= define the sound and the brightness(1)
"%keywords" "key to find him in hammer"
}
List of the "material sort":
wood
woodpanel
cardboard
paper
papercup
glass
glassbottle
dirt
mud
quicksand
sand
concrete
rock
boulder
gravel
brick
plaster
tile
Sorts of caoutchoucs:
rubber
rubbertire
slidingrubbertire
brakingrubbertire
slidingrubbertire_front
slidingrubbertire_rear
sorts of metal:
metal
metalgrate
metalvent
metalpanel
metal_barrel
solidmetal
gunship
metal_seafloorcar
canister
chainlink
ladder
popcan
strider
computer
grenade
flesh
bloodyflesh
alienflesh
rmorflesh
watermelon
water
snow
ice
carpet
wade
plastic
roller
Put the VTF and the VMF in the same file
exemple:
../steam/steamapps/khelben/Counter-strike source/cstrike/materials/tutotexturing/texture.vtf
../steam/steamapps/khelben/Counter-strike source/cstrike/materials/tutotexturing/texture.vmt
exemple of a vmt:
"LightmappedGeneric"
{
"$basetexture" "tutotexturing/texture"
"$surfaceprop" "paper"
"%keywords" "tuto"
}
Thanks for reading,and good texturing to you
kh ,or khelben in intimity.