From ed30e286e42bfe2aba6ee77f75e29c05b07a0be8 Mon Sep 17 00:00:00 2001 From: agrastiOs Date: Wed, 20 Oct 2021 01:09:26 +0300 Subject: [PATCH] Fix broken Sine proxy of the Crone Dome and fixed Enraged Monoculus 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. --- .../props_halloween/haunted_eyeball_angry.vmt | 30 +++++++++++++ .../items/all_class/witchhat/witchhat_1.vmt | 44 +++++++++++++++++++ .../all_class/witchhat/witchhat_1_blue.vmt | 43 ++++++++++++++++++ 3 files changed, 117 insertions(+) create mode 100644 TF2UltimateVisualFix/materials/models/props_halloween/haunted_eyeball_angry.vmt create mode 100644 TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1.vmt create mode 100644 TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1_blue.vmt diff --git a/TF2UltimateVisualFix/materials/models/props_halloween/haunted_eyeball_angry.vmt b/TF2UltimateVisualFix/materials/models/props_halloween/haunted_eyeball_angry.vmt new file mode 100644 index 0000000..ed327ad --- /dev/null +++ b/TF2UltimateVisualFix/materials/models/props_halloween/haunted_eyeball_angry.vmt @@ -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" + { + } + } +} \ No newline at end of file diff --git a/TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1.vmt b/TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1.vmt new file mode 100644 index 0000000..a591196 --- /dev/null +++ b/TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1.vmt @@ -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" + } + } +} \ No newline at end of file diff --git a/TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1_blue.vmt b/TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1_blue.vmt new file mode 100644 index 0000000..8e48937 --- /dev/null +++ b/TF2UltimateVisualFix/materials/models/workshop/player/items/all_class/witchhat/witchhat_1_blue.vmt @@ -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" + } + } +} \ No newline at end of file