Skip to content

Commit

Permalink
Fixed a few cosmetics
Browse files Browse the repository at this point in the history
Fixed self-illumination for the Crone's Dome not working.
Fixed Something Special for Someone Special to both prevent console spam and work properly in DX80.
Added missing rimlight to the Treasure and Bounty hats, they've also been fixed to not be completely reflective on DX80.
Fixed the Spirit of Giving not cloaking properly.
  • Loading branch information
agrastiOs committed Sep 26, 2020
1 parent ac55ff9 commit ba579bc
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 5 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Ultimate TF2 Visual Fix Pack

![Ultimate TF2 Visual Fix Pack](https://repository-images.githubusercontent.com/137119799/07c36100-c67c-11e9-8e64-0a7d96c86704)

### What *is* the pack?
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
"VertexlitGeneric"
{
"$baseTexture" "models/player/items/all_class/all_class_ring"
"$baseTexture" "models/player/items/all_class/all_class_ring"
"$detail" "effects/tiledfire/fireLayeredSlowTiled512.vtf"
"$detailscale" "5"
"$detailblendfactor" .01
"$detailblendmode" 6
"$yellow" "0"


"$envmap" "env_cubemap"
"$envmaptint" "[.25 .25 .25]"
">=DX90"
Expand All @@ -17,7 +16,9 @@
}
"<DX90"
{
"$envmapmask" "models/effects/flat_normal"
"$bumpmap" "models/effects/flat_normal"
"$basealphaenvmapmask" 0
"$normalmapalphaenvmapmask" 1
}

// Cloaking
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
"VertexLitGeneric"
{
"$basetexture" "models/player/items/all_class/xms_allclass_giftbadge_screen"
"$surfaceprop" "default"
"$color" "[1 1 1]"

"$translucent" 1

"$beat" 0.0
"$gifter" 1000
"$finalBeat" 0.0
"$txScale" "[0 0]"

// Cloaking
"$cloakPassEnabled" "1"
"Proxies"
{
"invis"
{
}
"HeartbeatScale"
{
"resultVar" "$beat"
}

"BenefactorLevel"
{
"resultVar" "$gifter"
}

"Multiply"
{
"srcVar1" "$beat"
"srcVar2" "$gifter"
"resultVar" "$finalBeat"
}

"Equals"
{
"srcVar1" "$finalBeat"
"resultVar" "$txScale[0]"
}

"Equals"
{
"srcVar1" "$finalBeat"
"resultVar" "$txScale[1]"
}

"TextureTransform"
{
"scaleVar" "$txScale"
"resultVar" "$basetexturetransform"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"VertexLitGeneric"
{
"$basetexture" "models/player/items/all_class/anim/bubbles_green_anim"
"$surfaceprop" "default"
"$selfillum" 1
"$selfillummask" "models/effects/flat_normal"
"$color" "[1 .3 0]"

"$phong" "1"
"$phongboost" "1"
"$phongexponent" "20"
"$phongfresnelranges" "[.5 1 2]"

// Cloaking
"$cloakPassEnabled" "1"
"Proxies"
{
"invis"
{
}
"AnimatedTexture"
{
"animatedtexturevar" "$basetexture"
"animatedtextureframenumvar" "$frame"
"animatedtextureframerate" 30
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
"VertexlitGeneric"
{
"$baseTexture" "models/player/items/all_class/treasure_hat"
"$bumpmap" "models/player/items/all_class/treasure_hat_normal"
"$detail" "effects/tiledfire/fireLayeredSlowTiled512.vtf"
"$detailscale" "5"
"$detailblendfactor" .01
"$detailblendmode" 6
"$yellow" "0"
"$nocull" "1"

">=DX90"
{
"$envmap" "env_cubemap"
"$envmaptint" "[1.5 1 .4]"
}

"$phong" "1"
"$phongexponent" "50"
"$phongboost" "2"
"$lightwarptexture" "models/player/pyro/pyro_lightwarp"
"$phongfresnelranges" "[.25 1 4]"
"$basemapalphaphongmask" "1"

"$rimlight" "1"
"$rimlightexponent" "4"
"$rimlightboost" ".65"
// Cloaking
"$cloakPassEnabled" "1"

"Proxies"
{
"invis"
{
}
"AnimatedTexture"
{
"animatedtexturevar" "$detail"
"animatedtextureframenumvar" "$detailframe"
"animatedtextureframerate" 30
}
"BurnLevel"
{
"resultVar" "$detailblendfactor"
}
"YellowLevel"
{
"resultVar" "$yellow"
}
"Equals"
{
"srcVar1" "$yellow"
"resultVar" "$color2"
}
}
}
Binary file not shown.

0 comments on commit ba579bc

Please sign in to comment.