Hello everyone. Sorry for my bad English.
I have the following question.
I have compiled a knife spy with this qc:
And now the weapon looks like this:
The ".mdl" file is located in:
C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\models\weapons\c_models\c_cone
Now I need the knife texturizing.
I have kept the texture of ".tga" format to ".vtf"
Now I need to create the ".VMT" or "VTM" file, or both?
I have this template:
Do I need all lines, or just some lines?
Saved the file with "Note ++"
What extension should I save the file? ¿".VMT" Or "VTM", or both?
And what folder should I put these files and texture ".Vtf"?
Thanks in advance for your time and effort.
¿Compile file "VMT" or "VTM" for texturing a weapon?
I have the following question.
I have compiled a knife spy with this qc:
Code:
$ModelName "weapons/c_models/c_cone/c_cone.mdl"
$BodyGroup "c_cone"
{
studio "c_cone_reference.smd"
}
$SurfaceProp "metal"
$Contents "solid"
$MaxEyeDeflection 90
$CDMaterials "models\weapons\c_cone"
$Sequence "ref" {
"c_cone_reference.smd"
fadein 0.2
fadeout 0.2
fps 30
}
$CollisionModel "c_cone_physics.smd"
{
$mass 1
$inertia 1
$damping 0
$rotdamping 0
}
The ".mdl" file is located in:
C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\models\weapons\c_models\c_cone
Now I need the knife texturizing.
I have kept the texture of ".tga" format to ".vtf"
Now I need to create the ".VMT" or "VTM" file, or both?
I have this template:
Code:
"VertexLitGeneric"
{
"$basetexture" "models/weapons/c_cone/c_cone.vtf"
"$phong" "1"
"$phongexponent" "20"
"$phongboost" "2"
"$lightwarptexture" "models/lightwarps/weapon_lightwarp"
"$phongfresnelranges" "[1.5 .5 3]"
"$halflambert" "1"
"$tempvar" "0"
"$basephongexponent" "20"
"$basephongboost" "2"
"$commadd_phongexponent" "30"
"$commadd_phongboost" "22.5"
"$commweapon" "0"
"$basemapalphaphongmask" "1"
"$rimlight" "2"
"$rimlightexponent" "20"
"$rimlightboost" ".5"
"$glowcolor" "1"
// Cloaking
"$cloakPassEnabled" "1"
"$sheenPassEnabled" "1"
"$sheenmap" "cubemaps\cubemap_sheen001"
"$sheenmapmask" "Effects\AnimatedSheen\animatedsheen0"
"$sheenmaptint" "[ 1 1 1 ]"
"$sheenmapmaskframe" "0"
"$sheenindex" "0"
"$yellow" "0"
"Proxies"
{
"AnimatedWeaponSheen"
{
"animatedtexturevar" "$sheenmapmask"
"animatedtextureframenumvar" "$sheenmapmaskframe"
"animatedtextureframerate" "40"
}
"invis"
{
}
"ModelGlowColor"
{
"resultVar" "$glowcolor"
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$selfillumtint"
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$color2"
}
"YellowLevel"
{
"resultVar" "$yellow"
}
"Multiply"
{
"srcVar1" "$color2"
"srcVar2" "$yellow"
"resultVar" "$color2"
}
}
}
Saved the file with "Note ++"
What extension should I save the file? ¿".VMT" Or "VTM", or both?
And what folder should I put these files and texture ".Vtf"?
Thanks in advance for your time and effort.
0 commentaires:
Enregistrer un commentaire