Env texturetoggle: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
WhosAsking (talk | contribs) (Specified the type of material that works with this entity.) |
||
Line 2: | Line 2: | ||
{{base point|env_texturetoggle}} It allows you to change the textures on other brush-built entities. | {{base point|env_texturetoggle}} 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 [[List Of Material Proxies#Texture manipulation|''ToggleTexture'' proxy]] defined and pointing to an Animated [[VTF]] file with at least two frames. | |||
{{clr}} | {{clr}} | ||
Revision as of 12:24, 7 September 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.
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.