VertexLitGeneric { "$baseTexture" "models/workshop/weapons/c_models/c_mp40/c_mp40" "$lightwarptexture" "models/lightwarps/weapon_lightwarp" "$phong" "1" "$phongexponent" "17" "$phongboost" "9" "$phongfresnelranges" "[0.25 0.5 1]" "$halflambert" "1" "$rimlight" "1" "$rimlightexponent" "10" "$rimlightboost" "0.25" "$basemapalphaphongmask" "1" ">=DX90" { "$selfillum" "1" } "$selfillummask" "models/workshop/weapons/c_models/c_mp40/c_mp40_selfillum" //--------------- // Visual Effects //--------------- "$glowcolor" "1" "$cloakPassEnabled" "1" "$yellow" "0" "$sheenPassEnabled" "1" "$sheenmap" "cubemaps/cubemap_sheen001" "$sheenmapmask" "Effects/AnimatedSheen/animatedsheen0" "$sheenmaptint" "[ 1 1 1 ]" "$sheenmapmaskframe" "0" "$sheenindex" "0" "Proxies" { "ModelGlowColor" { "resultVar" "$glowcolor" } "Equals" { "srcVar1" "$glowcolor" "resultVar" "$selfillumtint" } "Equals" { "srcVar1" "$glowcolor" "resultVar" "$color2" } "invis" { } "YellowLevel" { "resultVar" "$yellow" } "Multiply" { "srcVar1" "$color2" "srcVar2" "$yellow" "resultVar" "$color2" } "AnimatedWeaponSheen" { "animatedtexturevar" "$sheenmapmask" "animatedtextureframenumvar" "$sheenmapmaskframe" "animatedtextureframerate" "40" } } }