Skip to content

Commit

Permalink
Fix broken Sine proxy of the Crone Dome and fixed Enraged Monoculus
Browse files Browse the repository at this point in the history
Thanks to Whurr for the reports and proposed fixes!

- Fixed broken $sine proxy, which was intended to give a glowing on and off effect to the Crone Dome. Was broken together with the self-illumination and has been completely removed from the material files since the [January 7, 2016 Patch](https://wiki.teamfortress.com/wiki/January_7,_2016_Patch).

- Fixed Enraged (angry) Monoculus losing its rimlight and phong.
  • Loading branch information
agrastiOs committed Oct 19, 2021
1 parent 0c2e74d commit ed30e28
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"VertexLitGeneric"
{
"$baseTexture" "models\props_halloween\haunted_eyeball_angry"
"$bumpmap" "models\props_halloween\haunted_eyeball_normal"
"$surfaceprop" "flesh"
"$one" "1"

"$nodecal" "1"

"$phong" "1"
"$phongexponent" "10"
"$phongboost" ".3"
"$lightwarptexture" "models/player/pyro/pyro_lightwarp"
"$phongfresnelranges" "[.1 1 8]"
"$halflambert" "0"

"$rimlight" "1"
"$rimlightexponent" "4"
"$rimlightboost" "2"

// Cloaking
"$cloakPassEnabled" "1"

"Proxies"
{
"spy_invis"
{
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
"VertexLitGeneric"
{
"$basetexture" "models/workshop/player/items/all_class/witchhat/witchhat_1_color"
"$yellow" "0"

"$selfillum" "1"
"$selfillumtint" "[3 3 3]"
"$phong" "1"
"$phongexponent" ".1"
"$phongboost" "1"
"$phongfresnelranges""[0.01 1 3]"

"$lightwarptexture" "models/player/pyro/pyro_lightwarp"

"$rimlight" "1"
"$rimlightexponent" ".014"
"$rimlightboost" "2"

// Cloaking
"$cloakPassEnabled" "1"

"Proxies"
{
"Sine"
{
"sinemax" "1"
"sinemin" ".25"
"sineperiod" "2"
"resultvar" "$selfillumtint"
}
"weapon_invis"
{
}
"YellowLevel"
{
"resultVar" "$yellow"
}
"Equals"
{
"srcVar1" "$yellow"
"resultVar" "$color2"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
"VertexLitGeneric"
{
"$basetexture" "models/workshop/player/items/all_class/witchhat/witchhat_1_color"
"$yellow" "0"

"$selfillum" "1"
"$selfillumtint" "[3 3 3]"
"$phong" "1"
"$phongexponent" ".1"
"$phongboost" "1"
"$phongfresnelranges""[0.01 1 3]"

"$lightwarptexture" "models/player/pyro/pyro_lightwarp"

"$rimlight" "1"
"$rimlightexponent" ".014"
"$rimlightboost" "2"

// Cloaking
"$cloakPassEnabled" "1"
"Proxies"
{
"Sine"
{
"sinemax" "1"
"sinemin" ".25"
"sineperiod" "2"
"resultvar" "$selfillumtint"
}
"weapon_invis"
{
}
"YellowLevel"
{
"resultVar" "$yellow"
}
"Equals"
{
"srcVar1" "$yellow"
"resultVar" "$color2"
}
}
}

0 comments on commit ed30e28

Please sign in to comment.