133 lines
2.5 KiB
Plaintext
133 lines
2.5 KiB
Plaintext
|
"VertexLitGeneric"
|
||
|
{
|
||
|
"$basetexture" "effects/yellow"
|
||
|
<dx90
|
||
|
{
|
||
|
"$bumpmap" "water/dx80_tfwater001_normal"
|
||
|
}
|
||
|
"$bumpmap" "water/tfwater001_normal"
|
||
|
"$envmap" "effects/cubemapper"
|
||
|
// "$envmaptint" "[.2 .2 .2]"
|
||
|
"$surfaceprop" "metal"
|
||
|
"$halflambert" "1"
|
||
|
|
||
|
"$selfillum" "1"
|
||
|
"$selfIllumFresnel" "1"
|
||
|
"$selfIllumFresnelMinMaxExp" "[4 12 13]" // 0.0 1.0 1.0 is the default
|
||
|
|
||
|
"$invulnlevel" "0"
|
||
|
"$invulnexponent" "1"
|
||
|
"$invulnfmax" "18"
|
||
|
"$invulnscale" "0"
|
||
|
"$invulnphong" "1"
|
||
|
|
||
|
"$half" "0.5"
|
||
|
|
||
|
"$invulnphongfading" "0"
|
||
|
"$invulnphongfull" "1"
|
||
|
"$invulnphongoutput" "1"
|
||
|
|
||
|
"$invulnexponentfading" "1"
|
||
|
"$invulnexponentfull" "13"
|
||
|
"$invulnexponentoutput" "1"
|
||
|
|
||
|
"$invulnfmaxfading" "-31"
|
||
|
"$invulnfmaxfull" "18"
|
||
|
"$invulnfmaxoutput" "1"
|
||
|
|
||
|
"$phong" "1"
|
||
|
"$phongexponent" "35"
|
||
|
"$phongboost" "1"
|
||
|
"$lightwarptexture" "models/player/pyro/pyro_lightwarp"
|
||
|
"$phongfresnelranges" "[11 1 8]"
|
||
|
|
||
|
// Rim lighting parameters
|
||
|
"$rimlight" "1"
|
||
|
"$rimlightexponent" "11"
|
||
|
"$rimlightboost" "5"
|
||
|
|
||
|
"$cloakPassEnabled" "1"
|
||
|
"Proxies"
|
||
|
{
|
||
|
"spy_invis" //wmodel cloak support, team colors dont work for shared mat
|
||
|
{
|
||
|
}
|
||
|
"invis" //vmodel cloak support
|
||
|
{
|
||
|
}
|
||
|
"AnimatedTexture"
|
||
|
{
|
||
|
"animatedtexturevar" "$bumpmap"
|
||
|
"animatedtextureframenumvar" "$bumpframe"
|
||
|
"animatedtextureframerate" 70
|
||
|
}
|
||
|
"InvulnLevel"
|
||
|
{
|
||
|
"resultVar" "$invulnlevel"
|
||
|
}
|
||
|
"LessOrEqual"
|
||
|
{
|
||
|
"srcVar1" "$invulnlevel"
|
||
|
"srcVar2" "$half"
|
||
|
"lessEqualVar" "$invulnphongfading"
|
||
|
"greaterVar" "$invulnphongfull"
|
||
|
"resultVar" "$invulnphongoutput"
|
||
|
}
|
||
|
"LessOrEqual"
|
||
|
{
|
||
|
"srcVar1" "$invulnlevel"
|
||
|
"srcVar2" "$half"
|
||
|
"lessEqualVar" "$invulnfmaxfading"
|
||
|
"greaterVar" "$invulnfmaxfull"
|
||
|
"resultVar" "$invulnfmaxoutput"
|
||
|
}
|
||
|
"LessOrEqual"
|
||
|
{
|
||
|
"srcVar1" "$invulnlevel"
|
||
|
"srcVar2" "$half"
|
||
|
"lessEqualVar" "$invulnexponentfading"
|
||
|
"greaterVar" "$invulnexponentfull"
|
||
|
"resultVar" "$invulnexponentoutput"
|
||
|
}
|
||
|
"Sine"
|
||
|
{
|
||
|
"resultVar" "$invulnfmax"
|
||
|
"sineperiod" ".3"
|
||
|
"sinemin" "$invulnfmaxoutput"
|
||
|
"sinemax" "18"
|
||
|
}
|
||
|
"Sine"
|
||
|
{
|
||
|
"resultVar" "$invulnphong"
|
||
|
"sineperiod" ".3"
|
||
|
"sinemin" "$invulnphongoutput"
|
||
|
"sinemax" "1"
|
||
|
}
|
||
|
"Sine"
|
||
|
{
|
||
|
"resultVar" "$invulnexponent"
|
||
|
"sineperiod" ".3"
|
||
|
"sinemin" "$invulnexponentoutput"
|
||
|
"sinemax" "13"
|
||
|
}
|
||
|
|
||
|
"Equals"
|
||
|
{
|
||
|
"srcVar1" "$invulnexponent"
|
||
|
"resultVar" "$selfillumfresnelminmaxexp[2]"
|
||
|
}
|
||
|
"Equals"
|
||
|
{
|
||
|
"srcVar1" "$invulnfmax"
|
||
|
"resultVar" "$selfillumfresnelminmaxexp[1]"
|
||
|
}
|
||
|
"Equals"
|
||
|
{
|
||
|
"srcVar1" "$invulnphong"
|
||
|
"resultVar" "$phongboost"
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|