Env texturetoggle: Difference between revisions
Jump to navigation
Jump to search
WhosAsking (talk | contribs) (Specified the type of material that works with this entity.) |
(Compare with) |
||
Line 4: | Line 4: | ||
In order for env_texturetoggle to work properly, your overlay or at least one face of your brush must use a [[VMT]] material with the [[List Of Material Proxies#Texture manipulation|''ToggleTexture'' proxy]] defined and pointing to an Animated [[VTF]] file with at least two frames. | In order for env_texturetoggle to work properly, your overlay or at least one face of your brush must use a [[VMT]] material with the [[List Of Material Proxies#Texture manipulation|''ToggleTexture'' proxy]] defined and pointing to an Animated [[VTF]] file with at least two frames. | ||
Compare this with the [[material_modify_control]] entity that can modify any parameter of a material globally. | |||
{{clr}} | {{clr}} | ||
Revision as of 08:58, 4 October 2011

Template:Base point It allows you to change the textures on other brush-built entities.
In order for env_texturetoggle to work properly, your overlay or at least one face of your brush must use a VMT material with the ToggleTexture proxy defined and pointing to an Animated VTF file with at least two frames.
Compare this with the material_modify_control entity that can modify any parameter of a material globally.
Keyvalues
- Target Brush(es). ([todo internal name (i)]) <targetname>
- Name of the brushes or info_overlays.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Inputs
- IncrementTextureIndex
- Increments target brush's current texture frame by one.
- SetTextureIndex <integer >
- Sets target brush's texture frame to the specified index.