Difference between revisions of "User:Riomerc"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with '==pyro_brainsucker.vmt== ===Changes highlighted by bold=== "VertexlitGeneric" { "$baseTexture" "models/player/items/pyro/pyro_brainsucker" "$bumpmap" "models/effects/flat_norm…')
 
Line 1: Line 1:
 
==pyro_brainsucker.vmt==
 
==pyro_brainsucker.vmt==
===Changes highlighted by bold===
+
====Changes highlighted by _-_CHANGE_-_====
  
"VertexlitGeneric"
+
<pre>"VertexlitGeneric"
 
{
 
{
 
"$baseTexture" "models/player/items/pyro/pyro_brainsucker"
 
"$baseTexture" "models/player/items/pyro/pyro_brainsucker"
Line 9: Line 9:
 
"$detail" "effects/tiledfire/fireLayeredSlowTiled512.vtf"
 
"$detail" "effects/tiledfire/fireLayeredSlowTiled512.vtf"
 
"$detailscale" "5"
 
"$detailscale" "5"
"$detailblendfactor" .0'''0'''
+
  "$detailblendfactor" .0_-_0_-_ 
 
"$detailblendmode" 6
 
"$detailblendmode" 6
  
Line 19: Line 19:
 
"$colortint_base" "{151 197 84}"  // put the RGB value of whats being colored when no paint is present, if $blendtintcoloroverbase is 0 then put [1 1 1] here.
 
"$colortint_base" "{151 197 84}"  // put the RGB value of whats being colored when no paint is present, if $blendtintcoloroverbase is 0 then put [1 1 1] here.
 
"$colortint_tmp" "[0 0 0]"
 
"$colortint_tmp" "[0 0 0]"
'''"$color2" "{RGB VALUE HERE}"'''
+
  _-_"$color2" "{RGB VALUE HERE}"_-_
  
 
// "$envmap" "env_cubemap"
 
// "$envmap" "env_cubemap"
Line 67: Line 67:
 
}
 
}
 
}
 
}
}
+
}</pre>
  
 
::''It's that simple!''
 
::''It's that simple!''

Revision as of 08:50, 5 October 2010

pyro_brainsucker.vmt

Changes highlighted by _-_CHANGE_-_

"VertexlitGeneric"
{
	"$baseTexture" "models/player/items/pyro/pyro_brainsucker"
	"$bumpmap" "models/effects/flat_normal" 

	"$detail" "effects/tiledfire/fireLayeredSlowTiled512.vtf"	
	"$detailscale" "5"
  	"$detailblendfactor" .0_-_0_-_  
	"$detailblendmode" 6

	"$yellow" "0"

	"$blendtintbybasealpha" "1" 
	"$blendtintcoloroverbase" ".5"   // between 0-1 determines how much blended by tinting vs. replacing the color

	"$colortint_base" "{151 197 84}"  // put the RGB value of whats being colored when no paint is present, if $blendtintcoloroverbase is 0 then put [1 1 1] here.
	"$colortint_tmp" "[0 0 0]"
  	_-_"$color2" "{RGB VALUE HERE}"_-_

//	"$envmap" "env_cubemap"
//	"$envmaptint" "[.6 .6 .6]"

	"$phong" "1"
	"$phongexponent" "32"
	"$phongboost" "2"
	"$lightwarptexture" "models/lightwarps/weapon_lightwarp"	
	"$phongfresnelranges"	"[.25 1 4]"


	// Rim lighting parameters
	"$rimlight" "1"												// To enable rim lighting (requires phong)
	"$rimlightexponent" "4"										// Exponent for phong component of rim lighting	
	"$rimlightboost" "2"	
	// Cloaking
	"$cloakPassEnabled" "1"
	"Proxies"
	{
		"weapon_invis"
		{
		}
		"BurnLevel"
		{
			"resultVar" "$detailblendfactor"
		}
		"YellowLevel"
		{
			"resultVar" "$yellow"
		}
		"Equals"
		{
			"srcVar1"  "$yellow"
			"resultVar" "$color2"
		}

		"ItemTintColor"
		{
			"resultVar" "$colortint_tmp"
		}
		"SelectFirstIfNonZero"
		{
			"srcVar1"	"$colortint_tmp"
			"srcVar2"	"$colortint_base"
			"resultVar" "$color2"
		}
	}
}
It's that simple!