I guess you allready got your images and just want to know how to convert them for source.
Get a vtf creating tool/plug-in or use vtex to compile the texture
I recomend you VTFedit, it's the easiest to use program and it's totally free.
There's also a Plug-in for Photoshop and Gimp got one, too.
http://developer.valvesoftware.com/wiki/VTFEdit
a quick overview:
http://developer.valvesoftware.com/wiki/Creating_a_Material
read a few of the pages listed here:
http://developer.valvesoftware.com/wiki/Category:Material_System
Things like:
$basetexture
$bumpmap
$envmap
youll need them very often.
Pour utiliser Babelfish, on dois écrire correctement; si où est ou, where est or et personne ne comprend deux mots.
VMT et VTF, ils vont dans gesource/materials/...
Hammer trouvera tous les fichiers y. Voyez les VMTs y pour apprendre comment les créer, ils l'expliquera meilleur que VALVe.
Ceci (pink and black checkerboard), c'est quand il ne trouve pas le VMT, ou le VMT ne spécifie correctement un VTF. Pour QQJ (gesource, half-life 2, etc.), ces fichiers va dans jeu/materials/...
Ceci (pink and black checkerboard), c'est quand il ne trouve pas le VMT, ou le VMT ne spécifie correctement un VTF. Pour QQJ (gesource, half-life 2, etc.), ces fichiers va dans jeu/materials/...http://www.youtube.com/v/2hgsPlWpIyo&hl=fr
Les VMTs, ils ne spécifient pas correctement les VTFs. Si non, les VTFs doivent être mal.
e.g.
materials/goldeneye/library/tile351a.vtf (texture)
materials/goldeneye/library/tile351a_normal.vtf (bumpmap)
materials/goldeneye/library/tile351a.vmt (material):
"LightmappedGeneric"
{
"$baseTexture" "goldeneye/library/tile351a"
"$bumpmap" "goldeneye/library/tile351a_normal"
"$surfaceprop" "tile"
}
e.g.
materials/goldeneye/library/tile351a.vtf (texture)
materials/goldeneye/library/tile351a_normal.vtf (bumpmap)
materials/goldeneye/library/tile351a.vmt (material):
"LightmappedGeneric"
{
"$baseTexture" "goldeneye/library/tile351a"
"$bumpmap" "goldeneye/library/tile351a_normal"
"$surfaceprop" "tile"
}
Je l'ai créé; tu ne le trouvera nulle part.Il y a 2 fichiers au même nom! Exemple: alfzelia.vmt et alfzelia.vtf dans le dossier steam/steamapps/my account/Half-Life 2/hl2/materials/mytexture
Pour les deux fichiers ça, c'est un VMT correct. Etes sûr des noms des fichiers, (toujours relatif de repertoire materials).
Les noms, ils sont arbitraires. Mais le nom correct (de repertoire materials) du VTF doit être dans le VMT.
"LightmappedGeneric"
{
"$basetexture" "custom/alfzelia"
"$bumpmap" "custom/alfzelia_normal"
"$envmap" "env_cubemap"
"$surfaceprop" "Wood_Panel"
"$surfaceprop2" "Wood_Panel"
}