Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Color Blocking VMT Snippet

A Config Script for Source Engine

Members see zero ads. Membership is 100% free
13 217 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
$proxytoggle 1 // Toggle the colour disabling proxy
Proxies
{

    Equals
    {

        srcVar1 $proxytoggle // Disable Proxies
        resultVar $color // The shader parameter to be manipulated

    }

}

Prevent a material from being coloured

A little snippet of code to disable colour proxies on a specific .VMT file.

When used, this snippet will prevent a material (such as a facemap, glass window, etc.) from being coloured when used by an I/O system via Hammer, or an in-game tool.

Comments

Sign up to access this!

No comments yet

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
Offline
9,820 points Ranked 591st
28 medals 3 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Building Bridges Entrant Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 9y ago
Away
9,820 points Ranked 591st
28 medals 3 rare
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Building Bridges Entrant Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon
Reverend V92 avatar
Reverend V92

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

menu

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 211
  • access_time 1mo
  • access_time 1mo

More from Submitter

menu

WiPs by Submitter

menu

More Other/Misc Scripts