I want make colorable scope for my weapon, colourable with "Player Weapon Colour" but if I use this - scope loss translucent
this without $selfilum 1screenshot
this with $selfilum 1 screenshot (nov scope apply player weapon color, but loss translucent)
"Vertexlitgeneric"
{
$basetexture "models\weapons\nexuiz_game\hlac_02_scope"
$Selfillum "0"
$translucent 1
"$phong" "1"
"$phongexponent" "300" - Controls how much light is allowed on
"$phongboost" "16" -Controls Shine
"$phongfresnelranges" "[.4 .6 .8]"
"$phongtint" "[1 1 1]"
"$phongalbedotint" "1"
"$halflambert" "1"
$rimlight 1
$rimlightexponent 250
$rimlightboost .01
$rimmask 1
$model "1"
$envmap "env_cubemap"
$normalmapalphaenvmapmask "1"
$envmaptint "[0.01 0.01 0.01]"
$envmapfresnel "1"
Proxies
{
PlayerWeaponColor
{
resultVar $selfillumtint
}
}
}
Sorry, you need to Log In to post a reply to this thread.