Blade Symphony

Blade Symphony

Chaos helm
Halloween 7 Nov, 2014 @ 3:32pm
Requesting help with mask - Color tinting
I'm just about finished with getting a mask published, but the texture for it in-game is fully color-tintable, when I want none of its texture to be tintable. I've commented out the phongexponenttexture line with // in my wire_174186203.vmt, but that hasn't done anything. I've even tried using an exponent map that is entirely black and at the same dimensions as my mask's texture in order to tell phong to ignore color tinting on the whole thing, but that hasn't worked either. I think the issue is being caused by an "$Include" error with either my wire_174186203.vmt or material__97.vmt. Would you be able to help me pinpoint the error in my files?

I'd appreciate any help I could get, if so. :) Thank you.

material__97.vmt
"Patch"
{
"include" "materials/models/shared/characters.vmt" // import to ensure that common requirements are met, for example the charge effect on masks, player models
"insert"
{
"$basetexture" "models/76561198012071316/Pumpkin.vtf" //the name of your diffuse vtf
"$bumpmap" "models/76561198012071316/Pumpkin_nrm.vtf" //the name of your normal map vtf
"$normalmapalphaenvmapmask" "1" //use the alpha channel in your normal map as the specular map.
}
}

[wire_174186203.vmt contents]
//"VertexLitGeneric"
//{
// "$basetexture" "materials/models/76561198012071316"
//}

"Patch"
{
include "materials/models/76561198012071316/Pumpkin"
insert
{
"$basetexture" "materials/models/76561198012071316"
//"$bumpmap" "materials/models/76561198012071316"

"$basemapalphaphongmask" "0"
"$normalmapalphaenvmapmask" "1"

"$phong" "1"
"$forcephong" "1"
"$phongfresnelranges" "[0.5 1 3]"
// "$phongexponenttexture" "materials/models/76561198012071316"
"$phongboost" "10"

"$rimlight" 1
"$rimlightboost" "0.2"

"$lightwarptexture" "models/shared/lightwarp_darken"
"$envmap" "env_cubemap"
"$envmapcontrast" "1"
"$envmaptint" "[0.3 0.3 0.3]"
}

"Proxies"
{
"PlayerTint"
{
}
"PlayerChargeEffect"
{
"resultvar" "$chargeamount"
}
"PlayerChargeColor"
{
"resultvar" "$chargeColor"
}
}
}
Last edited by Halloween; 7 Nov, 2014 @ 4:11pm